glmark2-es2 score is 1039 isn’t a really good score for a Mali G610 Mp4. The X11 driver is actually pretty bad.
If you want a good score the 4005 managed on a RK3588s with the Khadas image of Wayland and presumably the Egl driver is probably where things should be landing.
If you provide the same tweaks and environment which you need for benchmarks the opensource mesa drivers of the g52mp4 of the Amlogic A311D which supposedly was a slow implementation manages approximately the same and is 4 generations or Arm claims ahead and really should be compared with a g72mp4 or the g52mp4 with a g510mp4 as there are x4 models now with g310/g510 being the lower models and g610/g710 higher models.
The scores are massively better than anything many of us have seen before but still not good for what the Mali should be capable of that the better integrated Android drivers are producing or what the EGL driver can manage even if it seems unstable.
@icecream95 is doing a ton of work and may get things stable with panfork but have a hunch it probs needs some kernel additions to employ the CSF (Command Stream Frontend) than tweaking drivers to fit the gen1 Valhall frontend. Could be totally wrong there but on Linux it doesn’t seem totally happy yet.
https://developer.arm.com/documentation/102812/0102/GPU-activity?lang=en
khadas@Khadas:~$ glmark2-es2-wayland
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '6'.
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '6'.
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-LODX
GL_VERSION: OpenGL ES 3.2 v1.g6p0-01eac0.ba52c908d926792b8f5fe28f383a2b03
=======================================================
[build] use-vbo=false: FPS: 4355 FrameTime: 0.230 ms
[build] use-vbo=true: FPS: 4991 FrameTime: 0.200 ms
[texture] texture-filter=nearest: FPS: 5970 FrameTime: 0.168 ms
[texture] texture-filter=linear: FPS: 5893 FrameTime: 0.170 ms
[texture] texture-filter=mipmap: FPS: 5608 FrameTime: 0.178 ms
[shading] shading=gouraud: FPS: 4256 FrameTime: 0.235 ms
[shading] shading=blinn-phong-inf: FPS: 4327 FrameTime: 0.231 ms
[shading] shading=phong: FPS: 4161 FrameTime: 0.240 ms
[shading] shading=cel: FPS: 4104 FrameTime: 0.244 ms
[bump] bump-render=high-poly: FPS: 2764 FrameTime: 0.362 ms
[bump] bump-render=normals: FPS: 6402 FrameTime: 0.156 ms
[bump] bump-render=height: FPS: 6343 FrameTime: 0.158 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 4992 FrameTime: 0.200 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 3499 FrameTime: 0.286 ms
[pulsar] light=false:quads=5:texture=false: FPS: 5799 FrameTime: 0.172 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1630 FrameTime: 0.613 ms
[desktop] effect=shadow:windows=4: FPS: 4561 FrameTime: 0.219 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 556 FrameTime: 1.799 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 505 FrameTime: 1.980 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 856 FrameTime: 1.168 ms
[ideas] speed=duration: FPS: 2402 FrameTime: 0.416 ms
[jellyfish] <default>: FPS: 3955 FrameTime: 0.253 ms
[terrain] <default>: FPS: 305 FrameTime: 3.279 ms
[shadow] <default>: FPS: 3988 FrameTime: 0.251 ms
[refract] <default>: FPS: 667 FrameTime: 1.499 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 5024 FrameTime: 0.199 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 4575 FrameTime: 0.219 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 5055 FrameTime: 0.198 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 4917 FrameTime: 0.203 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 4710 FrameTime: 0.212 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 4959 FrameTime: 0.202 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 5140 FrameTime: 0.195 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 4913 FrameTime: 0.204 ms
=======================================================
glmark2 Score: 4005
=======================================================
Is what cnxsoft managed in https://www.cnx-software.com/2022/09/20/khadas-edge2-pro-review-rockchip-rk3588s-sbc-ubuntu-22-04/