mirror of https://github.com/tteck/Proxmox.git
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:
parent
b971b48fe1
commit
a06ad52cca
|
@ -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…
Reference in New Issue