• 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 Issues with HW transcoding - RK3588

     
    • 0 Vote(s) - 0 Average

    Issues with HW transcoding - RK3588

    HW transcoding fails on RK3588 in docker
    hedefalk
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 May
    Reputation: 0
    Country:Sweden
    #8
    2025-05-23, 02:16 PM (This post was last modified: 2025-05-23, 03:09 PM by hedefalk. Edited 3 times in total.)
    I'm having the same issue.

    I'm also running jellyfin on a FriendlyElec CM3588 Plus with the NAS SDK (32 GB RAM)

    I'm running on a k3s cluster, but I've mapped the devices I think are needed (not mali0 though, but I have deselected tone mapping:



    root@jellyfin-5d8cbd85c9-9btsrConfused-face# ls -l /dev | grep -E "mpp|rga|dri|dma_heap"
    drwxr-xr-x 2 root root        160 Jan  1  1970 dma_heap
    drwxr-xr-x 3 root root        140 Jan 26  2024 dri
    crw------- 1 root root    241,  0 Jan 26  2024 mpp_service
    crw------- 1 root root    10, 122 Jan 26  2024 rga


    I guess most relevant thing here is what got me to find this thread:

    >Failed to set value 'opencl=ocl@rk' for option 'init_hw_device': No such device



    root@jellyfin-5d8cbd85c9-9btsrConfused-face# /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device rkmpp=rk -init_hw_device opencl=ocl@rk
    ffmpeg version 7.1.1-Jellyfin Copyright © 2000-2025 the FFmpeg developers
      built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --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-libharfbuzz --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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.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 'rkmpp=rk'.
    Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'opencl=ocl@rk'.
    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 rkmpp=rk.
    Applying option init_hw_device (initialise hardware device) with argument opencl=ocl@rk.
    [AVHWDeviceContext @ 0x55a12d6f00] Failed to get number of OpenCL platforms: -1001.
    Device creation failed: -19.
    Failed to set value 'opencl=ocl@rk' for option 'init_hw_device': No such device
    Error parsing global options: No such device




    In the jellyfin main logs I see:


    MediaBrowser.Common.FfmpegException: FFmpeg exited with code 187

    and in the ffmpegtranscode logs I have:


    [hevc_rkmpp @ 0x558e173500] Failed to init MPP context: -1
    [vist#0:0/hevc @ 0x558dcdfeb0] [dec:hevc_rkmpp @ 0x558e172d80] Error while opening decoder: Generic error in an external library
    [fc#0 @ 0x558dc92750] Error binding an input stream to complex filtergraph input setparams:default.
    Error binding filtergraph inputs/outputs: Generic error in an external library




    On my host I'm only seeing a subset of the devices listed in the docs, but this exact subset is mentioned here too:

    root@CM3588-Plus:~# for dev in dri dma_heap mali0 rga mpp_service \
    iep mpp-service vpu_service vpu-service \
    hevc_service hevc-service rkvdec rkvenc vepu h265e ; do \
    [ -e "/dev/$dev" ] && echo " --device /dev/$dev"; \
    done
    --device /dev/dri
    --device /dev/dma_heap
    --device /dev/mali0
    --device /dev/rga
    --device /dev/mpp_service

    Are these other devices needed too?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Issues with HW transcoding - RK3588 - by krimanas - 2025-01-02, 11:10 AM
    RE: Issues with HW transcoding - RK3588 - by TheDreadPirate - 2025-01-02, 01:38 PM
    RE: Issues with HW transcoding - RK3588 - by krimanas - 2025-01-02, 02:09 PM
    RE: Issues with HW transcoding - RK3588 - by TheDreadPirate - 2025-01-02, 02:48 PM
    RE: Issues with HW transcoding - RK3588 - by krimanas - 2025-01-02, 04:28 PM
    RE: Issues with HW transcoding - RK3588 - by TheDreadPirate - 2025-01-02, 04:38 PM
    RE: Issues with HW transcoding - RK3588 - by kanron - 2025-01-04, 09:18 PM
    RE: Issues with HW transcoding - RK3588 - by hedefalk - 2025-05-23, 02:16 PM
    RE: Issues with HW transcoding - RK3588 - by nyanmisaka - 2025-05-23, 04:01 PM
    RE: Issues with HW transcoding - RK3588 - by hedefalk - 2025-05-23, 07:11 PM
    RE: Issues with HW transcoding - RK3588 - by bitmap - 2025-05-23, 07:25 PM
    RE: Issues with HW transcoding - RK3588 - by nyanmisaka - 2025-05-23, 08:46 PM
    RE: Issues with HW transcoding - RK3588 - by bitmap - 2025-05-23, 10:44 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