• 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 Cannot use hardware transcoding help

     
    • 0 Vote(s) - 0 Average

    Cannot use hardware transcoding help

    Using Win11 24H2, latest AMD drivers 25.5.1 on Ryzen 5 5600G, latest Jellyfin 10.10.7
    pacitojelly
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    Country:India
    #1
    2025-06-04, 08:11 AM (This post was last modified: 2025-06-04, 08:14 AM by pacitojelly. Edited 1 time in total.)
    I've been using Jellyfin for many years now, and everything has been working perfectly, even the hardware transcoding. 
    I could use my 5600g and AMD AMF to transcode video and it worked just fine, until recently.

    I don't know what I did, but suddenly hardware transcoding no longer seems to work.
    I can play movies using Findroid or the Integrated Player in Jellyfin Android, but using the web based player and trying to play HEVC, transcoding fails, showing 'playback failed, fatal error'.

    Disabling hardware acceleration by selection 'none', I can play hevc movies, but that of course uses the cpu. I've tried using VAAPI, and that works too, but also pins my cpu at 100% usage

    Here's what I've tried:

    Reinstall Jellyfin (completely wiped everything and reinstall using Basic settings)
    Update my AMD drivers to latest 25.5.1
    Disable remote desktop, and change group policy to disable using hardware acceleration for rdp sessions


    Here is the ffmpeg log when trying to transcode a h264 movie to a lower bitrate : https://pastebin.com/DZCteHsZ
    Here is the ffmpeg log when trying to play an hevc movie using the web player: https://pastebin.com/gdVhT3eM


    It always shows :

    [AVHWDeviceContext @ 000001afd04e5ec0] Using device 1002:1638 (AMD Radeon™ Graphics).
    [AVHWDeviceContext @ 000001afd054ce40] No matching devices found.
    Device creation failed: -19.
    Failed to set value 'opencl=ocl@dx11' for option 'init_hw_device': No such device
    Error parsing global options: No such device


    I found this thread which shows a similar error, and tried using these two commands in my jellyfin server install folder 

    1) clinfo

    2) ffmpeg -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11
    (in Jellyfin server folder)


    And the restuls are : 1) https://pastebin.com/p08JScVT   
                                  2) https://pastebin.com/kjsUxVPU

    Which, similar to that post, shows that ffmpeg can find that device when using cmd, but Jellyfin cannot use it?

    The solution listen there is to reinstall Jellyfin using the 'Basic settings'; however I tried that and it didn't work for me.

    Any help is appreciated.


    I'm using an AMD Ryzen 5 5600G CPU with integrated graphics, with no other display adapters installed in the PC.

    Everything used to work fine, until now.
    Re4mstr
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Nov
    Reputation: 0
    Country:Norway
    #2
    2025-06-04, 12:22 PM
    I am having this issue as well as of.. a couple of days ago.
    Thank you for reporting this, as I myself think this is actually a bug.

    Running the Jellyfin.service on Arch, dedicated baremetal machine with intel GPU (A750).

    Getting the same error as you, but after a few days of troubleshooting, jumped to Emby (for the time being), until this issue is fixed.
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #3
    2025-06-05, 09:27 AM
    Same

    Code:
    ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11 -filter_hw_device ocl -hwaccel d3d11va -hwaccel_output_format d3d11 -noautorotate -i file:"G:\Shows\King of the Hill (1997)\Season 1\King of the Hill (1997) - S01E09 - Peggy the Boggle Champ (480p DVD x265 r00t).mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4336400 -maxrate 4336400 -bufsize 8672800 -profile:v:0 high -level 51 -g:v:0 60 -keyint_min:v:0 60 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=opencl:mode=read,scale_opencl=format=nv12,hwmap=derive_device=d3d11va:mode=write:reverse=1,format=d3d11" -codec:a:0 libfdk_aac -ac 2 -ab 192000 -ar 48000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "C:\ProgramData\Jellyfin\Server\cache\transcodes\f47cebadee028363cd4b06045dc7eaff-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\cache\transcodes\f47cebadee028363cd4b06045dc7eaff%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\cache\transcodes\f47cebadee028363cd4b06045dc7eaff.m3u8"


    ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
      built with clang version 19.1.7
      configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    [AVHWDeviceContext @ 0000026388400540] Using device 1002:73ff (AMD Radeon RX 6600).
    [AVHWDeviceContext @ 00000263884d8680] No matching devices found.
    Device creation failed: -19.
    Failed to set value 'opencl=ocl@dx11' for option 'init_hw_device': No such device
    Error parsing global options: No such device
    nyanmisaka
    Offline

    Team Member

    Posts: 253
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #4
    2025-06-06, 10:45 AM (This post was last modified: 2025-06-06, 10:49 AM by nyanmisaka. Edited 2 times in total.)
    (2025-06-04, 12:22 PM)Re4mstr Wrote: I am having this issue as well as of.. a couple of days ago.
    Thank you for reporting this, as I myself think this is actually a bug.

    Running the Jellyfin.service on Arch, dedicated baremetal machine with intel GPU (A750).

    You are using Linux. The error logs in this post are specific to Windows, they cannot possibly be related.
    nyanmisaka
    Offline

    Team Member

    Posts: 253
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #5
    2025-06-06, 10:50 AM (This post was last modified: 2025-06-06, 10:55 AM by nyanmisaka. Edited 1 time in total.)
    Guess it's stupid Windows that performs GPU driver auto-update, thus screwing up the OpenCL runtime.

    It is recommended to use DDU to wipe all cached drivers and install fresh from AMD's official website.

    https://www.wagnardsoft.com/content/Down...-DDU-18113

    https://jellyfin.org/docs/general/post-i...ndows-host

       
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #6
    2025-06-06, 12:04 PM
    (2025-06-06, 10:50 AM)nyanmisaka Wrote: It is recommended to use DDU to wipe all cached drivers and install fresh from AMD's official website.

    Eyyy that worked thanks Nyanmisaka
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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