Hardware transcoding error (AMD GPU) - 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: Hardware transcoding error (AMD GPU) (/t-hardware-transcoding-error-amd-gpu) |
Hardware transcoding error (AMD GPU) - KingCharlesVI - 2024-12-31 First off, I am aware that Nvidia and Intel are vastly superior for Jellyfin, but I had a card lying around so decided to put it to use.
Log attached. FFmpeg.Transcode-2024-12-31_00-57-31_e4fc24a9413d29737d74db47a38e7cda_a88c14df.txt (Size: 75.01 KB / Downloads: 14) Thanks in advance! RE: Hardware transcoding error (AMD GPU) - nyanmisaka - 2024-12-31 Quote:[AVHWDeviceContext @ 000002e86b375a40] Using device 1002:1638 (AMD Radeon Graphics). It looks like the APU driver isn't working properly. If you don't plan to use it, you can disable it in the BIOS, otherwise you'll need to install the legacy driver. https://www.amd.com/en/resources/support-articles/release-notes/RN-RAD-WIN-24-9-1-POLARIS-VEGA.html RE: Hardware transcoding error (AMD GPU) - KingCharlesVI - 2024-12-31 (2024-12-31, 03:33 PM)nyanmisaka Wrote:Quote:[AVHWDeviceContext @ 000002e86b375a40] Using device 1002:1638 (AMD Radeon Graphics). Thanks for the reply!! I assumed that the problem was that Jellyfin was trying to use the onboard graphics of the CPU (the APU) instead of the dedicated GPU card, but you have confirmed that - thank you! I do not plan on using the onboard graphics of the CPU (the APU) for Jellyfin, so I am assuming that I can disable it in the bios? Now I just have to find where the option is hidden (my bios version is weird and doesn't have a lot of the settings it should). RE: Hardware transcoding error (AMD GPU) - RolfiePolfie - 2025-01-04 Dear people, I am running into the following problem. I recently bought a new motherboard and processor because the old one was almost 10 years old and I was running into some performance issues. After some research I ended up with the AMD Ryzen 5 5600GT, with a built-in graphics card. This was to save on electricity costs. My previous set also had a built-in GPU and Jellyfin made good use of it, as soon as I let the transcoder use the AMD-AMF it ran like a charm, without any configuration. So I thought I could do that with this installation as well. By the way, it is a completely clean installation! But without result. As soon as I set the settings to AMD-AMF, Jellyfin no longer wants to play video. If I set it to the open source variant (VAAPI) it plays most of it, but completely on the CPU. The GPU is not touched. My system is as follows: MSI AM4 mainboard AMD Ryzen 5 5600GT this contains the Vega 7 GPU 32GB Ram Windows Server 2022 According to CPU-Monkey my GPU supports the following formats: h264: Decode / Encode AV1: No h265 / HEVC (8 bit): Decode / Encode h265 / HEVC (10 bit): Decode / Encode VP8: Decode / Encode VP9: Decode / Encode VC-1: Decode AVC: Decode / Encode JPEG: Decode / Encode The transcoding log states: [AVHWDeviceContext @ 000002ea641534c0] Using device 1002:1638 (AMD Radeon Graphics). [av1_amf @ 000001ab165cfe00] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1 I reinstalled the GPU driver multiple times, tried the pro driver from AMD, the Adrenaline driver from AMD, both wont install through the installer, I had to install manually through the device manager and pointed it to the inf file. I don’t know what to do next. Is there anything I can do to try? Am I forgetting something? Oh, before I forget, I write down all my tests below: With AMD-AMF Hardwaredecodering inschakelen voor H264 HEVC MPEG2 VC1 VP9 HEVC 10bit VP9 10bit (NOT AV1) Opties voor hardwarecodering Hardwarecodering inschakelen (Sorry, in Dutch) Movie: 4K HDR Android JellyFin app : Does not run, but GPU spikes a few times Android Findroid App : Does not run, but GPU spikes a few times Edge browser : Does not run, but GPU spikes a few times FireFox browser : Does not run, but GPU spikes a few times Movie: 1080P H264 SDR Android JellyFin app : Runs, but no GPU used (CPU 17%) Android Findroid App : Runs, but no GPU used (CPU 2%) Edge browser : Does not run, but GPU spikes a few times FireFox browser : Runs, but no GPU used (CPU 17%) With VAAPI: VA-API-apparaat Dit is de render-node die wordt gebruikt voor hardwareversnelling. /dev/dri/renderD128 Hardwaredecodering inschakelen voor H264 HEVC MPEG2 VC1 VP8 VP9 HEVC 10bit VP9 10bit Movie: 4K HDR : Android JellyFin app : Runs, but no GPU used (CPU 100%) Android Findroid App : Runs, but no GPU used (CPU 100%) Edge browser : Runs, but no GPU used (CPU 100%) FireFox browser : Runs, but no GPU used (CPU 100%) Movie: 1080P H264 SDR Android JellyFin app : Runs, but no GPU used (CPU 17%) Android Findroid App : Runs, but no GPU used (CPU 2%) Edge browser : Runs, but no GPU used (CPU 100%) FireFox browser : Runs, but no GPU used (CPU 15%) Unlike the topic starter, I do plan to use the APU. Is that even possible? With kind regards, Rolf /Edit I managed to install the latest drivers from this thread: https://www.reddit.com/r/AMDHelp/comments/17r57pf/cant_install_amd_radeon_gpu_on_windows_server_2022/ Now I will try again. Unfortunately, still the same outcome.. I don't know what to do next, any ideas are welcome! RE: Hardware transcoding error (AMD GPU) - TheDreadPirate - 2025-01-04 Code: AMFVideoEncoderHW_AV1) failed with error 1 You enabled AV1 encoding. RE: Hardware transcoding error (AMD GPU) - RolfiePolfie - 2025-01-04 I specifically disabled the AV1 encoding: And still the transcoding log states the following: Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_amf)) Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [av1_amf @ 000002a3fb37c840] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1 I have a tv-show from the nineties which is according to Jellyfin a MPEG2 encoded video. And even this one is transcoded to AV1. Is there a possibility to disable transcoding to AV1? RE: Hardware transcoding error (AMD GPU) - TheDreadPirate - 2025-01-05 You disabled AV1 decoding. There is another check box labeled "Allow encoding in AV1 format" a bit farther down. RE: Hardware transcoding error (AMD GPU) - Efficient_Good_5784 - 2025-01-05 As @TheDreadPirate states, your iGPU cannot handle decoding or encoding AV1 video. There are two options in Jellyfin's transcoding page for AV1 (one for decoding and one for encoding). Disable both. Any transcoding involving AV1 will have to be handled entirely on the CPU. If you need AV1 HWA, you'll need to buy and use a newer CPU or GPU that has AV1 HWA support. RE: Hardware transcoding error (AMD GPU) - RolfiePolfie - 2025-01-05 Hi, thank you both for your answers, I must say, I feel a little stupid. Completely overlooked the setting. I will try that at once! And is it working like a charm! GPU at 100%, I know it is not the strongest, but it should always be better than the gpu from 10 years old! Again, thank You for Your help! |