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
This commit is contained in:
FugginOld 2024-01-20 16:32:47 -05:00 committed by GitHub
parent b971b48fe1
commit a06ad52cca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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