Damn! it took me a while to figure out the problem with libmali X11 gbm not working properly.
the package llibmali-valhall-g610-g13p0-x11-gbm_1.9-1_arm64.deb
only works for boards with 4G.
libmali-valhall-g610-g13p0-wayland-gbm_1.9-1_arm64.deb works on 16G just fine.
[ 8.321588] mali fb000000.gpu: Kernel DDK version g17p0-01eac0
@RadxaYuntian, the llibmali-valhall-g610-g13p0-x11-gbm_1.9-1_arm64.deb is faulty for a board with memory > 4G, it runs half speed and is bumpy.
I think Armbian uses panfrost but there is an interesting mali blob that suggests it works on X11_wayland_gbm, all in a single blob, i could not test it and ended up overwriting the sd card with wayland gbm debug image.
I can’t move to Armbian kernel rkr5.1 without a proper functional libmali for X11.
My use case is with libmali (not panfrost), can you please contact Rockchip and get a fix for libmali X11 (rkr4.1 and rkr5.1) for boards with > 4G?
uname -ra
Linux rock-5b 5.10.110-rockchip-rk3588 #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
free -lh
total used free shared buff/cache available
Mem: 15Gi 1.6Gi 8.8Gi 370Mi 4.9Gi 13Gi
Low: 15Gi 6.5Gi 8.8Gi
High: 0B 0B 0B
Swap: 7.7Gi 0B 7.7Gi
dmesg| grep -i panfrost (no output?)
dpkg -l|grep -i mali
ii gpg 2.2.27-3ubuntu2.1 arm64 GNU Privacy Guard – minimalist public key operations
ii libhiredis0.14:arm64 0.14.1-2 arm64 minimalistic C client library for Redis
ii libmnl0:arm64 1.0.4-3build2 arm64 minimalistic Netlink communication library
ii mali-g610-firmware 1.0.2 all <insert up to 60 chars description>
dmesg|grep DDK
[ 8.695355] mali fb000000.gpu: Kernel DDK version g13p0-01eac0
Had to leave out “cat /var/log/Xorg.0.log”, the output is too long for for a post here, but it’s just mostly device information for peripherals. If there is anything in particular you’re looking for, happy to provide.
You are not using libmali in your configuration. Probably using the mali blob directly, which has some disadvantage against libmali. Of course the advantage is that it works, haha.
Can you try to find the mali blob, something like:
I’ve had the board awhile, I recall trying to get libmali working and thought I had succedded but I could be remembering incorrectly. Apologies, but yes just a moment.
sudo find /usr -name “libmali-valhall*.so”
/usr/lib/libmali-valhall-g610-g13p0-x11-gbm.so
ls -la /usr/lib/libmali-valhall-g610-g13p0-x11-gbm.so
-rw-rw-r-- 1 itcurves itcurves 43517968 May 16 09:38 /usr/lib/libmali-valhall-g610-g13p0-x11-gbm.so
That’s a bit interesting. I went back through my activity here and recieved that link from another member. If I had gotten a different blob… oh man, I have no clue then.
I can only support what is being used in our system, as I have no access to rkr4.1 SDK. You can directly create issues in JeffyCN’s repo. He is an official Rockchip developer.
I see, thank you. Last libmali update seems to be from Fri Sep 8 though (update G610 userspace driver to g13p0-9, c45e68f5f440d4c0590fdfcdee290b6d591af51e), or am I blind?
Today’s commit seems to be mostly some meson related fix.