2024-02-23, 04:00 PM
I posted this on github as well.
A few issues:
1) The problem is with the 6.5 kernel. Going back to 6.1 had the behaviour I posted above.
2) Going to jellyfin 10.9 avoids AMD's terrible OpenCL implementation and uses Mesa RADV Vulkan (thanks @nyanmisaka). Doing this I was able to transcode regular content but tone mapped content didn't work as video was black + audio worked.
3) ffmpeg -v debug -init_hw_device opencl=ocl:.0,device_vendor="Advanced Micro Devices" suggests the issue is OpenCL:
[AVHWDeviceContext @ 0x558dfd642f80] The cl_intel_va_api_media_sharing extension is required for QSV to OpenCL mapping.
[AVHWDeviceContext @ 0x558dfd642f80] QSV to OpenCL mapping not usable.
4) I couldn't figure the above out, but at this point installed docker's 10.9 jellyfin unstable, passed through /dev/dri/renderD128 and /dev/kfd, and it works! I have spent enough time on it at this point to avoid tweaking further.
Hopefully this helps someone. https://github.com/jellyfin/jellyfin/issues/11022
A few issues:
1) The problem is with the 6.5 kernel. Going back to 6.1 had the behaviour I posted above.
2) Going to jellyfin 10.9 avoids AMD's terrible OpenCL implementation and uses Mesa RADV Vulkan (thanks @nyanmisaka). Doing this I was able to transcode regular content but tone mapped content didn't work as video was black + audio worked.
3) ffmpeg -v debug -init_hw_device opencl=ocl:.0,device_vendor="Advanced Micro Devices" suggests the issue is OpenCL:
[AVHWDeviceContext @ 0x558dfd642f80] The cl_intel_va_api_media_sharing extension is required for QSV to OpenCL mapping.
[AVHWDeviceContext @ 0x558dfd642f80] QSV to OpenCL mapping not usable.
4) I couldn't figure the above out, but at this point installed docker's 10.9 jellyfin unstable, passed through /dev/dri/renderD128 and /dev/kfd, and it works! I have spent enough time on it at this point to avoid tweaking further.
Hopefully this helps someone. https://github.com/jellyfin/jellyfin/issues/11022