Archlinux on Rock5b

Thanks. I have done that before.
Just to let you know which problem your agr update has.
Thanks for your work.
What about panfork ?
Will you work for the new orion?
I have orderd one.

1 Like

what about panfork? i think it is working no? i just maintain it for the sake of history, but havent used it for a good while.

I am out of orion thing, i just dont have the time, but can support if i can.

So i created a binary repo out of the packages i maintain. It is currently unsigned repo. You can use it by adding the following snippet in the /etc/pacman.conf

[boogie]
Server = https://github.com/hbiyik/agrrepo/releases/download/alarm-$arch
SigLevel = Never

It is built automatically each 4 hours of the day so quite up to date. Here is a list of packages maintain: https://github.com/hbiyik/agrrepo/releases/tag/alarm-aarch64

You can still use 7ji's repo, the packages are auto maintained in both repos. Just my repo has more media centric packages like kodi-binary-addons or firefox-mpp or acestream etc…

1 Like

Just a side note: With Bauh acu -y install bauh it gets really easy to see whats in that repo and what we can install.

Hi, I installed Arch Arm using kwankiu’s script. I picked the “recommended” kernel (now have 6.1.75-rockchip-ge21cf49ee9a4-dirty), and have gnome wayland. I installed chromium-mpp from acu (I believe it uses 7Ji’s repo).
I upgraded (pacman -Syu); is this recommended, or does this interfere with acu?
I also installed firefox-mpp from boogie’s repo.
Firefox does not play youtube videos; the player never really starts, just stucks. Chromium does play 4k 30fps from youtube reasonably, but there is like 600% cpu use (according to btop). At 60fps it struggles.

The guide at the start of this forum is from 2023, and a lot may have changed since. Is there an uptodate wiki I could follow to make the hardware accelerated video playback work properly?

I believe I have Panthor now, but not convinced that it is working properly.

inxi -G
Graphics:
  Device-1: display-subsystem driver: rockchip_drm v: N/A
  Device-2: rk3588-mali driver: panthor v: kernel
  Device-3: rk3588-dw-hdmi driver: dwhdmi_rockchip v: N/A
  Device-4: rk3588-dw-hdmi driver: dwhdmi_rockchip v: N/A
  Display: wayland server: Xwayland v: 24.1.6 compositor: gnome-shell
    v: 48.0 driver: N/A resolution: no compositor data resolution: 1: 3840x2160
    2: 1600x1200
  API: EGL v: 1.5 drivers: panthor,rknpu,rockchip,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.1 vendor: mesa v: 25.0.2-arch1.2
    renderer: Mali-G610 (Panfrost)
  Info: Tools: api: eglinfo,glxinfo x11: xprop

So kernel + overlay? + mesa + driver + firmware? + blob? all have to align for the accelerated video to properly work, applications may also need to be patched properly (e.g. firefox vs firefox-mpp). What are the good combos for each driver? I believe there are three possible drivers: the closed source driver from Mali (libmali?), open source Panfrost, and open source Panthor, which is collabora’s contribution. Or which one do you recommend?

Cheers

make sure you have firefox-137-3. 137-1/2 had issues

and mpp-git 1.0.9

Also its available now on flathub too - Mainline with no HW Steroids

Thats mainline firefox it wont use mpp acceleration

1 Like

pacman -Syu is the right way

is chrome://gpu showing video decoding as software or hardware?

Ok, its good. (When I tried upgrading radxa’s debian for the 5b with the relevant apt command, I caused a total disaster and lost network. Apparently I purged some network driver that looked to apt as an orphan package…)

Chromium shows software:

chrome://gpu:

Graphics Feature Status
    =======================
    *   Canvas: Hardware accelerated
    *   Canvas out-of-process rasterization: Enabled
    *   Direct Rendering Display Compositor: Disabled
    *   Compositing: Hardware accelerated
    *   Multiple Raster Threads: Enabled
    *   OpenGL: Enabled
    *   Rasterization: Hardware accelerated
    *   Raw Draw: Disabled
    *   Skia Graphite: Disabled
    *   Video Decode: Software only. Hardware acceleration disabled
    *   Video Encode: Software only. Hardware acceleration disabled
    *   Vulkan: Disabled
    *   WebGL: Hardware accelerated
    *   WebGL2: Hardware accelerated
    *   WebGPU: Disabled
    *   WebNN: Disabled
...

I have the mpp version of chromium installed:

pacman -Ss chromium
...
7Ji/chromium-mpp 132.0.6834.159-1 [installed]
    A web browser built for speed, simplicity, and security. Patched with Rockchip MPP support.
7Ji/libv4l-rkmpp-git 1.8.0.r1.5e73fca-1 [installed]
    A rockchip-mpp V4L2 wrapper plugin for chromium V4L2 VDA/VEA, latest from git
boogie/libv4l-rkmpp-git 1.8.0.r1.5e73fca-1 [installed]
    A rockchip-mpp V4L2 wrapper plugin for chromium V4L2 VDA/VEA, latest from git

And I do not have any flags. (I do not have ‘chromium-flags.conf’ file)

On x64 platform with an amd gpu I could use ‘vainfo’ to show hardware video acceleration capabilities. Is there any equivalent command for mali on arm?