mirror of
https://github.com/tteck/Proxmox.git
synced 2025-08-27 21:31:14 +00:00
Update HW Acceleration LXCs
This commit is contained in:
@@ -29,9 +29,11 @@ if [[ "$CTTYPE" == "0" ]]; then
|
||||
else
|
||||
$STD apt-get install -y intel-opencl-icd
|
||||
fi
|
||||
/bin/chgrp video /dev/dri
|
||||
/bin/chmod 755 /dev/dri
|
||||
/bin/chmod 660 /dev/dri/*
|
||||
chgrp video /dev/dri
|
||||
chmod 755 /dev/dri
|
||||
chmod 660 /dev/dri/*
|
||||
$STD adduser $(id -u -n) video
|
||||
$STD adduser $(id -u -n) render
|
||||
msg_ok "Set Up Hardware Acceleration"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user