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