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.
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.