• 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 SOLVED: RKMPP not available

     
    • 0 Vote(s) - 0 Average

    SOLVED: RKMPP not available

    Calamity1911
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-04-05, 04:41 PM (This post was last modified: 2024-04-05, 06:19 PM by Calamity1911. Edited 3 times in total. Edit Reason: Added logs )
    Hello all,

    I have an Orange Pi 5 single board computer which has an RK3588 SOC, which should be supported by the recent addition of rkmpp to Jellyfin. I have tried a few different ways to get hardware accelerated transcoding enabled, none of which seem to be working for some reason.

    For some context, I am running Ubuntu Server 22.04.4 on kernel 6.1.43-rockchip-rk3588. The exact image I am using was provided by the manufacturers, but I switched from their Chinese APT sources to the official APT sources. I also ensured that I followed the directions posted on the Armbian website to enable hardware acceleration by installing the GPU firmware.

    The jellyfin version being used is 10.8.13

    I have tried running Jellyfin from within the operating system, from a docker container, and through CasaOS (also docker), all of which have the same results. When I tried to manually run a docker container, I used the script provided here which also did not work.

    When I tried to run Jellyfin through CasaOS, I made sure to specify the device files specified by that for-loop in the aforementioned link.

    I also tried manually updating jellyfin's ffmpeg binary using apt update && apt install jellyfin-ffmpeg6 -y both when Jellyfin was running locally and in a container.

    It also is worth noting that within the Jellyfin logs, I do see the following line:
    jellyfin | [11:23:57] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["drm", "opencl", "rkmpp"] 

    Even though that line was always present, there never has been an RKMPP option in the hardware acceleration dropdown.

    Any help would be greatly appreciated.

    **EDIT**
    Added a couple more images showing the 30-40fps transcoding which I suspect to be software transcoding along with the unusually high CPU usage during playback. CPU usage was spiking up to around 80% at the highest I saw.

    **EDIT 2**
    Added the logs from switching to the unstable version of Jellyfin. RKMPP was an option there and did appear in the logs when Jellyfin was initializing, but when transcoding, it fell back to software AV1 decoding. Looking at the logs, it also looks like it fell back to software x264 encoding as well.


    Attached Files Thumbnail(s)
               

    .txt   FFmpeg.Transcode-2024-04-05_10-47-12_320a8de70a673c94e53cbaaf3460be69_338645a8.txt (Size: 19.41 KB / Downloads: 125)
    .txt   FFmpeg.Transcode-2024-04-05_12-03-21_320a8de70a673c94e53cbaaf3460be69_a3ab7147.txt (Size: 21.42 KB / Downloads: 68)
    .txt   log.txt (Size: 11.76 KB / Downloads: 75)
    .txt   jellyfin20240405.txt (Size: 91.44 KB / Downloads: 71)
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-05, 04:48 PM
    IIRC, Rockchip support isn't properly implemented in 10.8. You'd have to wait for 10.9, which is right around the corner, or YOLO and install unstable (make backups).
    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]
    Calamity1911
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #3
    2024-04-05, 04:51 PM
    (2024-04-05, 04:48 PM)TheDreadPirate Wrote: IIRC, Rockchip support isn't properly implemented in 10.8.  You'd have to wait for 10.9, which is right around the corner, or YOLO and install unstable (make backups).

    Cool, I'll give that a try later today. I have a couple of college classes, but I might be able to remote into my home network in class lol.
    Calamity1911
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #4
    2024-04-05, 05:55 PM
    (2024-04-05, 04:48 PM)TheDreadPirate Wrote: IIRC, Rockchip support isn't properly implemented in 10.8.  You'd have to wait for 10.9, which is right around the corner, or YOLO and install unstable (make backups).

    Well, it was actually super simple to get unstable installed.

    Bad news is that even though there is an RKMPP option in the hardware transcoding menu now, it doesn't seem to work. It keeps falling back to software decoding, as evident by the ~30fps transcoding framerate and ~80% CPU usage. I'll update the post with the new logs.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-04-05, 06:12 PM
    Which version of jellyfin-ffmpeg are you currently running? The number after the dash. 6.0.1-2 was the first iteration of jellyfin-ffmpeg6 that had RKMPP support.
    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]
    Calamity1911
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #6
    2024-04-05, 06:18 PM
    (2024-04-05, 06:12 PM)TheDreadPirate Wrote: Which version of jellyfin-ffmpeg are you currently running?  The number after the dash. 6.0.1-2 was the first iteration of jellyfin-ffmpeg6 that had RKMPP support.

    I verified it is 6.0.1-Jellyfin.

    I actually was writing an issue report on the Github repository when I decided to scroll all the way down in the playback options, and realized there was a "save" button I had forgotten to press ._.

    Welp, after actually saving the settings, it appears to be working now, with transcoding happening at around 120fps.

    Marking as solved.

    I can't believe I missed a save button lol.
    1
    « 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