AMD AV1 Encoding - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: AMD AV1 Encoding (/t-amd-av1-encoding) |
AMD AV1 Encoding - conor - 2024-12-05 I've an AMD Ryzen 7 8745H w/ Radeon 780M Graphics. This is an RDNA 3 GPU which supports AV1 encoding. However Jellyfin-ffmpeg is showing AV1 encoding as unsupported. As I understand it the driver should be provided by jellyfin-ffmpeg, so is that where the issue likely is? Code: sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128 RE: AMD AV1 Encoding - TheDreadPirate - 2024-12-05 While AMD's documentation states that VCN4/RDNA3 supports AV1 encoding, apparently there are TWO flippin' varieties of VCN4. https://github.com/torvalds/linux/commit/a6de636eb04f146d23644dbbb7173e142452a9b7 Code: static const struct amdgpu_video_codec_info vcn_4_0_0_video_codecs_encode_array_vcn0[] = { It is possible that your hardware does support it, but the AMD drivers are not reporting accurately. But there isn't much we can do about that. RE: AMD AV1 Encoding - TheDreadPirate - 2024-12-05 Circling back, it could also be your kernel. The kernel on your system was released prior to your CPU's release so it likely does not properly support all the CPU/GPU's capabilities. Update to a newer kernel and check the output of vainfo again. Confirmed that kernel 6.1 does not support AV1 encoding for AMD GPUs. That was first added in kernel 6.3. RE: AMD AV1 Encoding - conor - 2024-12-05 I had thought the kernel could be an issue but all other encoding on the GPU works fine and the driver is coming from jellyfin-ffmpeg. I might try to install a bookworm-backports kernel. RE: AMD AV1 Encoding - TheDreadPirate - 2024-12-05 The driver is coming from Mesa. Code: vainfo: Driver version: Mesa Gallium driver 24.0.9 for AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 16.0.6, DRM 3.49, 6.1.0-27-amd64) And the way that AMD handles things like codecs is to hard code it into the Linux kernel instead of in the Mesa driver. So kernel version does matter for AMD GPUs and codec support. So you will need to install a BPO kernel. RE: AMD AV1 Encoding - gnattu - 2024-12-05 The AV1 encoding capability first appeared in linux 6.3 kernel and yours is 6.1. You need a more recent kerenl. RE: AMD AV1 Encoding - conor - 2024-12-05 The backports kernel has made AV1 encoding available, thanks. |