I know this is likely an unsupported configuration, so feel free to ignore this post.
As it stands, I'm running jellyfin through rootless podman. This works flawlessly without hardware acceleration, but I wanted to make them most of my AMD APU, so I added the amd dockermod environment vars and started it up.
At first I had to fix permissions, but by tweaking the selinux settings, adding /dev/dri as a device as per instructions, and adding a special podman argument (keep-groups) which automatically passes device groups into the container, I managed to fix device permissions within the container.
However now I'm running into a new problem: transcoding fails with a strange error:
amdgpu: amdgpu_bo_cpu_map failed. (-13)
radeonsi: can't create radeon_winsys_ctx
radeonsi: Failed to create a context.
amdgpu: amdgpu_bo_cpu_map failed. (-13)
radeonsi: can't create radeon_winsys_ctx
radeonsi: Failed to create a context.
[AVHWDeviceContext @ 0x557cb9ee7dc0] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed
[AVHWDeviceContext @ 0x557cb9ee7dc0] Failed to initialise VAAPI connection: 2 (resource allocation failed).
Device creation failed: -5.
Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Input/output error
Error parsing global options: Input/output error
Expected Behavior
Video playback should continue
Steps To Reproduce
see docker compose below
Environment
- OS:
Fedora Silverblue 37
- How docker service was installed:
Using Podman, which comes installed by default, rootless
Is there an existing issue for this?
Current Behavior
I know this is likely an unsupported configuration, so feel free to ignore this post.
As it stands, I'm running jellyfin through rootless podman. This works flawlessly without hardware acceleration, but I wanted to make them most of my AMD APU, so I added the amd dockermod environment vars and started it up.
At first I had to fix permissions, but by tweaking the selinux settings, adding /dev/dri as a device as per instructions, and adding a special podman argument (keep-groups) which automatically passes device groups into the container, I managed to fix device permissions within the container.
However now I'm running into a new problem: transcoding fails with a strange error:
Expected Behavior
Video playback should continue
Steps To Reproduce
see docker compose below
Environment
CPU architecture
x86-64
Docker creation
run command:
podman-compose --pod-args='--infra=true --share=""' --podman-run-args='--group-add keep-groups' up -d