Jellyfin Forum
Jellyfin in Podman hw accelaration ot working after systemd start - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Jellyfin in Podman hw accelaration ot working after systemd start (/t-jellyfin-in-podman-hw-accelaration-ot-working-after-systemd-start)



Jellyfin in Podman hw accelaration ot working after systemd start - Damncold - 2023-10-09

Hi folks,

dont know if im right here or some1 can help me.
I installed jellyfin via podman on a debian vm.

aftter some struggle i managed to get hw accelaration of my i5 6500 working.
But only when i start it via podman run:

podman run -d \
--label "io.containers.autoupdate=registry" \
--name jellyfin \
--publish 8096:8096/tcp \
-p 7359:7359/udp #optional - server discovery on local network \
-p 1900:1900/udp #optional - dlna server discovery on local network \
-e JELLYFIN_PublishedServerUrl=10.3.100.5 #optional - autodiscovery response domain \
-e TZ=Europe/Berlin \
--user $(id -u):$(id -g) \
--userns keep-id \
--group-add keep-groups \
--device=/dev/dri/:/dev/dri/ \
--volume /home/marco/docker/appdata/jellyfin/cache:/cache \
--volume /home/marco/docker/appdata/jellyfin/config:/config \
--mount type=bind,source=/mnt/nvme/jellyfin/Serien,destination=/media/shows,ro=false,relabel=private \
--mount type=bind,source=/mnt/nvme/jellyfin/Filme,destination=/media/movies,ro=false,relabel=private \
docker.io/jellyfin/jellyfin:latest

as soon as i try to start it with the podman generated systemd file
i get the playback error, that my client isnt compatible ...

anyone here who can help me with this? :>


RE: Jellyfin in Podman hw accelaration ot working after systemd start - Damncold - 2023-10-11

btw. this is the error in the jellyfin log:
Code:
[AVHWDeviceContext @ 0x562b9b05b940] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument



RE: Jellyfin in Podman hw accelaration ot working after systemd start - TheDreadPirate - 2023-10-11

Sounds like the container doesn't have access or permissions to QSV.


RE: Jellyfin in Podman hw accelaration ot working after systemd start - Damncold - 2023-10-12

sounds like this,
but its working when i start it via podman run ..
only when started with systemd /systemctl --user start .. its not working ..