Browse Source

Update plex-v5-install.sh

use Intel OpenCL ICD for Ubuntu 22.04 and later
tteckster 2 years ago
parent
commit
1ca55a8d54
1 changed files with 5 additions and 2 deletions
  1. 5 2
      install/plex-v5-install.sh

+ 5 - 2
install/plex-v5-install.sh

@@ -96,8 +96,11 @@ if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
   $STD apt-get -y install \
   $STD apt-get -y install \
     va-driver-all \
     va-driver-all \
     ocl-icd-libopencl1 
     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/chgrp video /dev/dri
   /bin/chmod 755 /dev/dri
   /bin/chmod 755 /dev/dri
   /bin/chmod 660 /dev/dri/*
   /bin/chmod 660 /dev/dri/*