Update HW Acceleration LXCs

This commit is contained in:
tteckster 2023-12-03 14:40:39 -05:00 committed by GitHub
parent 21e95ccf6d
commit bafd32f777
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 19 deletions

View file

@ -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