mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-05 02:12:58 +00:00
Update emby-v5-install.sh
use Intel OpenCL ICD for Ubuntu 22.04 and later
This commit is contained in:
1 parent
8488668d1b
commit
0c43560908
1 file changed
+5
-2
@@ -95,8 +95,11 @@ if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
|
||||
$STD apt-get -y install \
|
||||
va-driver-all \
|
||||
ocl-icd-libopencl1
|
||||
if [[ ${PCT_OSVERSION} == "20.04" ]]; then $STD apt-get -y install beignet-opencl-icd; fi
|
||||
|
||||
if [[ ${PCT_OSVERSION} == "20.04" ]]; then
|
||||
$STD apt-get install -y beignet-opencl-icd
|
||||
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/*
|
||||
|
||||
Reference in new issue
Block a user