Jellyfin Forum
hardware-acceleration rockchip/ - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: hardware-acceleration rockchip/ (/t-hardware-acceleration-rockchip)



hardware-acceleration rockchip/ - sigma - 2024-05-18

I have tried to get the hardware acceleration get working, but I also get some error from ffmpeg:
[h264_rkmpp @ 0xaaaac639cab0] Failed to init MPP context: -1

Current setup:
  • orangepi5 rk3588
  • dietpi 9.4
  • Linux version 5.10.160-legacy-rk35xx (armbian@next) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38 ) #1 SMP Fri Feb 2 07:51:33 UTC 2024
  • official docker container from jellyfin 10.9.2
  • docker command from the jellyfin doc pages [docker command]
  • installed libmali (sudo apt install ./libmali-valhall-g610-g13p0-gbm_1.9-1_arm64.deb)
check the files in the device folder (dma_heap, mali0, mpp_service, rga exist and accessible in the docker container)
check the opencl out put in the docker container and looks good (see attached file)

So in my opion everything looks good, but it crashed with different ffmpeg errors showing in the logs.

Have I something forgot or some advice what could be wrong?
Thanks and regards


RE: hardware-acceleration rockchip/ - TheDreadPirate - 2024-05-18

Can you share screenshots of your transcode settings in Dashboard > Playback?


RE: hardware-acceleration rockchip/ - nyanmisaka - 2024-05-19

Since all the required device files are available in docker, it should be a permissions issue on your side.


RE: hardware-acceleration rockchip/ - sigma - 2024-05-19

@nyanmisaka
Thanks for the hint with permissions. I have the wrong uid for the user in the dockker command. I changed it to the root and it works.

@TheDreadPirate
There is a screenshot of the transcoding settings.