Archlinux on Rock5b

https://github.com/kwankiu/acu/tree/pkgbuilds/linux-aarch64-rockchip-bsp6.1-joshua-panthor-git

Self build without gitweb-dlagent

is there any benchmarks between the panthor kerne and panfrost driver
and the joshua kernel and panfork driver ? what is the advantage of the panthor kernel?
Uli


One at least.

We have some Benchmarks posted on #panfrost of Radxaā€™s discord.

Well, performanceā€¦ according to glmark2 scores, I would say it is pretty much same as Panfork on 6.1

But Panfork have the ability to use gofaster and blob to get much better performance than default.

The advantage of using Panthor is that it is merged to mainline Mesa which means it will be more reliable and up-to-date in the future. And with panthor, we donā€™t need to rely on the mali_csffw blob driver from rockchip.

No need for any blobs at all?

you still need mali_csffw firmware, i think @kwankiu meant the libmali blob drivers.

1 Like

But at least Mali firmware is on mainline not a separated rockchip version isnā€™t it?

I think RK does not have the authority and ability to modify the firmware source code, which is compiled and provided by upstream Arm.

1 Like

Ah I see

https://www.phoronix.com/news/Arm-Mali-Panthor-Firmware-Git


Coz Rockchip release it with its own version number.

I see it is part of linux-firmware:

kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel

1 Like

yeah use the firmware in mainline, it is also in correct path and known to be working, if you like adventure you can try replacing it

Hi, @boogiepop. Hi, everyone. Iā€™m wondering if thereā€™s a way to get the new agr packages to build using all 8 of the rock5bā€™s cores? At the moment packages like the kernel which take a long time already are only being built using a single core.

Yeah sure just add -j8 to MAKEFLAGS in
makepkg.conf

Additionally @kwankiu created a binary repo for such experimental packages:

https://github.com/kwankiu/archlinux-installer-rock5/releases/tag/b07-dev

1 Like

Installer Image for new install:

Great. Is there a way that I can make configuration changes to the packages, such as to the radxa kernel? It seems that my fan has stopped working after changing to the new agr one.

Has it really stopped working or switched to a different curve? The collabora curve is quite tolerant of high temps (and not well thought through).

You can, but you need to clone the pkgbuild and build yourself.

In radxa kernel i gave an option to use the config under custom/config.

Not sure about other kernels i dont maintain them. But you can modify them however you want.

1 Like

It seems to have stopped working. I had been using fanctrl-rock5b to control the fan on my board. The program panics now. Iā€™d also tried following the old radxa wiki instructions on how to start the fan from the shell and I get this error message from the first command:

echo: write error: device or resource busy

Iā€™m thinking that at some point, the way that the fan is supposed to be accessed was changed. The procedure is different in the new radxa wiki. So, I guess I could modify fanctrl-rock5b, and get it to work again. Also Iā€™ve noticed that I canā€™t change the way that the blue led flashes anymore as well.

In most newer kernels (5.10.160+), the fan is controlled via a kernel driver, not a userspace script.

Which kernel driver?