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
pull/2375/head
FugginOld 2 years ago committed by GitHub
parent b971b48fe1
commit a06ad52cca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      install/jellyfin-install.sh

@ -31,6 +31,7 @@ if [[ "$CTTYPE" == "0" ]]; then
$STD apt-get install -y intel-opencl-icd $STD apt-get install -y intel-opencl-icd
fi fi
chgrp video /dev/dri chgrp video /dev/dri
chgrp render /dev/dri/renderD128
chmod 755 /dev/dri chmod 755 /dev/dri
chmod 660 /dev/dri/* chmod 660 /dev/dri/*
$STD adduser $(id -u -n) video $STD adduser $(id -u -n) video

Loading…
Cancel
Save