From 1ca55a8d54f8b8366d7ed1882e08be29bf4a8792 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 3 Mar 2023 06:45:45 -0500 Subject: [PATCH] Update plex-v5-install.sh use Intel OpenCL ICD for Ubuntu 22.04 and later --- install/plex-v5-install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install/plex-v5-install.sh b/install/plex-v5-install.sh index a3ca2992..41a071c7 100644 --- a/install/plex-v5-install.sh +++ b/install/plex-v5-install.sh @@ -96,8 +96,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/*