From a06ad52ccac6ea98caeeedd477a3436260f9c7b4 Mon Sep 17 00:00:00 2001 From: FugginOld <121835359+FugginOld@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:32:47 -0500 Subject: [PATCH] Update jellyfin-install.sh Render group keeps getting assigned to random groups instead of render for HW acceleration. Using a bash script in systemd corrects it. Wasn't sure if adding the chgrp in your install.sh would prevent the need for the bash script. #! /bin/bash chgrp render /dev/dri/renderD128 --- install/jellyfin-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index a8a61d20..750d6cf3 100644 --- a/install/jellyfin-install.sh +++ b/install/jellyfin-install.sh @@ -31,6 +31,7 @@ if [[ "$CTTYPE" == "0" ]]; then $STD apt-get install -y intel-opencl-icd fi chgrp video /dev/dri + chgrp render /dev/dri/renderD128 chmod 755 /dev/dri chmod 660 /dev/dri/* $STD adduser $(id -u -n) video