Comment on how to set up jellyfin with podman and selinux and an intel gpu (a380) for transcoding?
swooosh@lemmy.world 5 months agochmod 666 /dev/dri/render128
thx, it does not change anything.
Comment on how to set up jellyfin with podman and selinux and an intel gpu (a380) for transcoding?
swooosh@lemmy.world 5 months agochmod 666 /dev/dri/render128
thx, it does not change anything.
h3ndrik@feddit.de 5 months ago
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?!
swooosh@lemmy.world 5 months ago
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.
h3ndrik@feddit.de 5 months ago
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