• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Hardware transcoding error (AMD GPU)

     
    • 0 Vote(s) - 0 Average

    Hardware transcoding error (AMD GPU)

    KingCharlesVI
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #1
    2024-12-31, 01:33 AM (This post was last modified: 2024-12-31, 01:34 AM by KingCharlesVI. Edited 1 time in total.)
    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.

    • I'm using a Sapphire RX 5600 XT
    • CPU is a Ryzen 5 5600G with Integrated Radeon Graphics
    • Win10 latest version as of Dec 2024
    • Jellyfin 10.10.3
    • Latest AMD Adrenalin drivers (24.12.1)
    • I followed this guide
    • Hardware acceleration is set to AMD AMF
    • Specific settings in these screenshots (I have tried also enabling HEVC encoding and decoding, and 10 bit decoding)
    • When trying to view movies, the player exits with critical error

    Log attached.
    .txt   FFmpeg.Transcode-2024-12-31_00-57-31_e4fc24a9413d29737d74db47a38e7cda_a88c14df.txt (Size: 75.01 KB / Downloads: 51)
    Thanks in advance!
    nyanmisaka
    Offline

    Team Member

    Posts: 236
    Threads: 0
    Joined: 2023 Jun
    Reputation: 8
    #2
    2024-12-31, 03:33 PM
    Quote:[AVHWDeviceContext @ 000002e86b375a40] Using device 1002:1638 (AMD Radeon™ Graphics).
    ...
    [h264_amf @ 000002e87688ad80] CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 1

    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...-VEGA.html
    KingCharlesVI
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #3
    2024-12-31, 03:42 PM
    (2024-12-31, 03:33 PM)nyanmisaka Wrote:
    Quote:[AVHWDeviceContext @ 000002e86b375a40] Using device 1002:1638 (AMD Radeon™ Graphics).
    ...
    [h264_amf @ 000002e87688ad80] CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 1

    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...-VEGA.html

    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).
    RolfiePolfie
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Netherlands
    #4
    2025-01-04, 01:19 PM (This post was last modified: 2025-01-04, 02:18 PM by RolfiePolfie. Edited 2 times in total.)
    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/comment...rver_2022/

    Now I will try again.

    Unfortunately, still the same outcome.. I don't know what to do next, any ideas are welcome!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-01-04, 07:08 PM
    Code:
    AMFVideoEncoderHW_AV1) failed with error 1

    You enabled AV1 encoding.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    RolfiePolfie
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Netherlands
    #6
    2025-01-04, 07:41 PM (This post was last modified: 2025-01-04, 08:00 PM by RolfiePolfie. Edited 2 times in total.)
       
    I specifically disabled the AV1 encoding:
    [Image: L0FfZMB]

    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?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-01-05, 12:29 AM (This post was last modified: 2025-01-05, 12:29 AM by TheDreadPirate.)
    You disabled AV1 decoding. There is another check box labeled "Allow encoding in AV1 format" a bit farther down.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #8
    2025-01-05, 03:49 AM (This post was last modified: 2025-01-05, 03:52 AM by Efficient_Good_5784. Edited 1 time in total.)
    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.
    RolfiePolfie
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Netherlands
    #9
    2025-01-05, 08:49 AM (This post was last modified: 2025-01-05, 08:54 AM by RolfiePolfie. Edited 1 time in total.)
    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!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode