From 8488668d1b04147306edf36630bc3674bf774e9a Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 3 Mar 2023 06:19:08 -0500 Subject: [PATCH] Update jellyfin-v5-install.sh use Intel OpenCL ICD for Ubuntu 22.04 and later --- install/jellyfin-v5-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/jellyfin-v5-install.sh b/install/jellyfin-v5-install.sh index 31bf0c17..5b386716 100644 --- a/install/jellyfin-v5-install.sh +++ b/install/jellyfin-v5-install.sh @@ -97,7 +97,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/*