mesa include sun4i-drm driver, your issue may come from using another one ?
i compiled mesa from source using :
git clone Mesa / mesa · GitLab --depth 1
meson setup mesa _build \
-D buildtype=release \
-D prefix=/usr \
-D sysconfdir=/etc \
-D platforms=x11,wayland,drm,surfaceless \
-D dri-drivers= \
-D gallium-drivers=lima,kmsro,swrast \
-D vulkan-drivers= \
-D dri3=true \
-D egl=true \
-D gles1=true \
-D gles2=true \
-D glx=dri \
-D libunwind=true \
-D lmsensors=true \
-D osmesa=gallium \
-D shared-glapi=true \
-D valgrind=false \
-D tools=meson configure _build
ninja $NINJAFLAGS -C _build
compiled package can be found here > http://gs.dread.fr/arch/armv7h/mesa-lima-20.0.0_devel.1.ce52b49-1-armv7h.pkg.tar.xz
i use xserver 1.20.6 on 5.4.1 kernel
just needed put the xorg mesa conf and rename the sun4i-drm_dri with an underscore
without the xorg conf it work too, with 100 fps less on glxgears
Did you use the 0.4 Image or the deot191111 image?
don’t miss your socks under the fireplace