Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RK3588 - Setting Up Mali & Hardware Acceleration

Featured Replies

I recently bought an orange pi plus and am using the armbian 6.12 server (https://dl.armbian.com/orangepi5-plus/Noble_current_server)

 

I'm wanting to setup hardware acceleration for jellyfin but having trouble with the right steps. I'm using jellyfin inside docker on the orange pi inside armbian. I've found various tutorials but it seems like some of them reference things that no longer exist (like panfork seems to no longer be needed for latest mesa if I'm understanding correctly?), so wanting to see what I need to do to set this up.

 

So it seems like I need to disable panthor and use mali instead, but I can't find in the armbian config menu the option to do that, and not sure if I know how to get the right mali. Any help would be greatly appreciated.

 

armbianmonitor is at https://paste.armbian.com/nurazajipu

 

I've seen these tutorials/posts for reference:

 

* https://akashrajpurohit.com/blog/setup-jellyfin-with-hardware-acceleration-on-orange-pi-5-rockchip-rk3558/

* https://github.com/andyshrk/mesa/blob/panthor-v4/Panfrost-build-howto.md

* https://forum.jellyfin.org/t-solved-hw-transcoding-rk3588-arch-not-working?pid=54084

* `https://forum.armbian.com/topic/49115-how-to-install-opencl-on-orangepi-5-plus/`

* https://forum.jellyfin.org/t-rockchip-transcode-missing-dev-mali0

Edited by David N

Solved by Werner

  • Author

Thanks for the response!

 

For the kernel switch, is it using armbian-config to pick under my current installation?

linux-image-vendor-rk35xx=25.2.3             v6.1.99

 

Is there anything else I need to do as well? Thanks!

Edited by David N

  • Author

Thanks for the help! Switching to that kernel was enough to allow me to turn on transcoding after I mounted the proper /dev stuff to the docker container. Before I did this, transcoding just immediately crashed. Now I can see it working and it also looks to be using alot mess CPU as well, showing it's using the hardware.

Hi. My question is the same: how to set up mali hardware acceleration. I just disabled the panthor-gpu devicetree overlay via armbian-config, but the dmesg kernel messages don't contain strings like mail. I also looked for panthor string (after the proper enable procedure via armbian-config) but with no success. Do I need a specific kernel ? The running version is 6.1.115-vendor-rk35xx

I installed the .deb package you suggested, however I don't think everything went as it should have: the device /dev/mali0 is still missing. I understood that this device must be present in order to be sure the device is used correctly. Is it right ? The kernel of Armbian Ubuntu Noble also has been updates: the version is 6.1.115-vendor-rk35xx now. The output of lsmod command is:

 Module                  Size  Used by
rk805_pwrkey           16384  0
nvmem_rockchip_otp     20480  0
r8169                  77824  0
rockchip_cpuinfo       16384  1 nvmem_rockchip_otp
adc_keys               16384  0

@Gian Luca Please try

 

libMali route:

+ Flash Armbian 25.8.1 Noble Gnome (Vendor Kernel: 6.1.115)
+ Disable the Panthor overlay

+ Install libMali https://github.com/ginkage/libmali-rockchip/releases/download/v1.9-1-04f8711/libmali-valhall-g610-g24p0-wayland-gbm_1.9-1_arm64.deb

+ Install the WSI https://github.com/ginkage/vulkan-wsi-layer/releases/tag/v1.3.276-1-d48decd

(for Wayland, XWayland only)

 

mesa (Panfrost/PanVk) route:

+ Flash Armbian 25.8.1 Noble Gnome/XFCE (Vendor Kernel: 6.1.115)

+ Enable the Panthor overlay

+ Install the "mesa-vulkan-drivers" https://launchpad.net/~ernstp/+archive/ubuntu/mesarc

(for both Wayland and X11)

Edited by KhanhDTP

I followed the "mesa route" without any kind of problem. I cannot following the "libMail route" due to my window manager choice: I installed the Armbian Ubuntu Noble version, but I'm running X Window (not Wayland) in order to get the remote display of the Orange PI Plus running on a local monitor; I tried to do this using Wayland without success. I'im running lightdm and xfce4 now. So the /dev/mail0 is still useful or the mesa-vulkan-drivers are enough ? I read some documentation about the hardware acceleration but in my opinion it  is too contradictory.

But it is always possible that I'haven't understand anything.....

@Gian Luca 

 

Quote

I tried to do this using Wayland without success.

 

On Wayland, you can install the "gnome-remote-desktop" package to enable remote. However, I don't recommend it because it has an issue where the audio is lost after a remote session and reboot (which I don't know how to fix).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.