• 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 doesn't work, AMD iGPU, Unraid

     
    • 0 Vote(s) - 0 Average

    Hardware Transcoding doesn't work, AMD iGPU, Unraid

    yannn
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Poland
    #1
    2024-08-05, 05:42 PM
    Hi guys,
    I have AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics @ 3200 MHz.
    Using Unraid, passing 2 devices dri/card0 and /renderD128 to the container. I use Docker from linuxserver (but tried others - same result)
    • So devices are passed
    • Unraid sees my GPU, radeontop shows stats - but no load
    • I chosen VAAPI in Jellyfin settings, with device /dev/dri/renderD128 
    • Hardware decoding is turned on for h264 + HEVC
    • Jellyfin docker sees /dev/dri/renderD128 (checked via docker image console)

    As I play video - no GPU usage. Is there anything I'm missing? I did reboots, etc - the same result.

    I know it's not the best GPU but I want to try, at least it's not so bad for HEVC per forums and I mostly want it for it for big BD remuxes

    What I else can check?
    Thanks!


    From docker image:

    Code:
    root@b18d787c6c47:/# ls -l /dev/dri
    total 0
    crw-rw---- 1 root videow9q1 226,  0 Aug  5 09:58 card0
    crwxrwxrwx 1 root videow9q1 226, 128 Aug  5 09:58 renderD128

    Code:
    root@b18d787c6c47:/# /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
    Trying display: drm
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
    If they do, bad things may happen!
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.22 (libva 2.22.0)
    vainfo: Driver version: Mesa Gallium driver 24.0.9 for AMD Radeon Vega 11 Graphics (radeonsi, raven, LLVM 15.0.7, DRM 3.49, 6.1.99-Unraid)
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
          VAProfileH264Main              : VAEntrypointVLD
          VAProfileH264Main              : VAEntrypointEncSlice
          VAProfileH264High              : VAEntrypointVLD
          VAProfileH264High              : VAEntrypointEncSlice
          VAProfileHEVCMain              : VAEntrypointVLD
          VAProfileHEVCMain              : VAEntrypointEncSlice
          VAProfileHEVCMain10            : VAEntrypointVLD
          VAProfileJPEGBaseline          : VAEntrypointVLD
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD
          VAProfileNone                  : VAEntrypointVideoProc


    Code:
    root@b18d787c6c47:/# /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vulkan@dr

    ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      58.  2.100 / 58.  2.100
      libavcodec    60.  3.100 / 60.  3.100
      libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100
      libavfilter    9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample  4. 10.100 /  4. 10.100
      libpostproc    57.  1.100 / 57.  1.100
    Splitting the commandline.
    Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
    Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'drm=dr:/dev/dri/renderD128'.
    Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'vulkan@dr'.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option v (set logging level) with argument debug.
    Applying option init_hw_device (initialise hardware device) with argument drm=dr:/dev/dri/renderD128.
    [AVHWDeviceContext @ 0x5591bbe8a280] Opened DRM device /dev/dri/renderD128: driver amdgpu version 3.49.0.
    Applying option init_hw_device (initialise hardware device) with argument vulkan@dr.
    [AVHWDeviceContext @ 0x5591bbe8a740] Supported validation layers:
    [AVHWDeviceContext @ 0x5591bbe8a740]    VK_LAYER_MESA_device_select
    [AVHWDeviceContext @ 0x5591bbe8a740]    VK_LAYER_MESA_overlay
    [AVHWDeviceContext @ 0x5591bbe8a740] GPU listing:
    [AVHWDeviceContext @ 0x5591bbe8a740]    0: AMD Radeon Vega 11 Graphics (RADV RAVEN) (integrated) (0x15dd)
    [AVHWDeviceContext @ 0x5591bbe8a740] Requested device: 0x15dd
    [AVHWDeviceContext @ 0x5591bbe8a740] Device 0 selected: AMD Radeon Vega 11 Graphics (RADV RAVEN) (integrated) (0x15dd)
    [AVHWDeviceContext @ 0x5591bbe8a740] Queue families:
    [AVHWDeviceContext @ 0x5591bbe8a740]    0: graphics compute transfer (queues: 1)
    [AVHWDeviceContext @ 0x5591bbe8a740]    1: compute transfer (queues: 4)
    [AVHWDeviceContext @ 0x5591bbe8a740]    2: sparse (queues: 1)
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_KHR_push_descriptor
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_KHR_sampler_ycbcr_conversion
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_KHR_synchronization2
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_KHR_external_memory_fd
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_EXT_external_memory_dma_buf
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_EXT_image_drm_format_modifier
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_KHR_external_semaphore_fd
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device extension VK_EXT_external_memory_host
    [AVHWDeviceContext @ 0x5591bbe8a740] Using device: AMD Radeon Vega 11 Graphics (RADV RAVEN)
    [AVHWDeviceContext @ 0x5591bbe8a740] Alignments:
    [AVHWDeviceContext @ 0x5591bbe8a740]    optimalBufferCopyRowPitchAlignment: 1
    [AVHWDeviceContext @ 0x5591bbe8a740]    minMemoryMapAlignment:              4096
    [AVHWDeviceContext @ 0x5591bbe8a740]    minImportedHostPointerAlignment:    4096
    [AVHWDeviceContext @ 0x5591bbe8a740] Using queue family 0 (queues: 1) for graphics
    [AVHWDeviceContext @ 0x5591bbe8a740] Using queue family 1 (queues: 4) for compute transfers
    Successfully parsed a group of options.
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-05, 05:42 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by Fate - 2024-08-05, 06:31 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by TheDreadPirate - 2024-08-05, 06:45 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-05, 07:12 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by TheDreadPirate - 2024-08-05, 07:19 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-05, 07:36 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by TheDreadPirate - 2024-08-05, 08:23 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-05, 10:07 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-05, 09:52 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by TheDreadPirate - 2024-08-05, 10:46 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-06, 04:56 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by TheDreadPirate - 2024-08-06, 05:08 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-06, 05:23 PM
    RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - by yannn - 2024-08-06, 08:25 PM

    • 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