how to set up jellyfin with podman and selinux and an intel gpu (a380) for transcoding?

https://lemmy.world/post/15511371

how to set up jellyfin with podman and selinux and an intel gpu (a380) for transcoding? - Lemmy.World

I try to follow the docs but somehow it doesn’t work as expected. How does your cpose file look and what to choose in the settins?

Have you tried verifying it’s not the group permissions? You could preliminarily set permissions with chmod 666 /dev/dri/render128

My older Skylake processor has a bit worse video quality (occasional artifacts) with QuicSync.

chmod 666 /dev/dri/render128

thx, it does not change anything.

Hmm. I mean niw reading your first outpot in privileged mode, I don’t see any errors, or am I missing something… Seems it loaded vaapi sucessfully?!

I should not need to run a container in privileged mode. What’s the container good for then?

Yes, there is no error, yet I was not able to transcode. I had rranscode to x265 and av1 enabled. Ever since disabling av1 it works, yet I have to check again. Meaning, probably the problem was that it tried to encode to av1 and that failed. Yet I still need to run it in privileged mode.

Hmm. I wasn’t trying to recommend privileged or non-privileged mode, just trying to use that to single in on the actual issue.

Alright, if it’s just av1, maybe try to use a tool like vainfo to find the supported codecs. I think it fails if an unsupported codec is explicitly specified. But take care if Encoding is mentioned. Some hardware has decoding capabilities only.

It’s a complicated topic. And it also took me 2 whole evenings to get the permissions and everything right. I’m using systemd-nspawn, so my experience doesn’t directly translate. And it’s not any easier than docker.

For video acceleration I found the arch wiki somewhat helpful. But it’s lots of info and not specific to Docker. Maybe it helps for debugging: wiki.archlinux.org/…/Hardware_video_acceleration

Hardware video acceleration - ArchWiki