Skip to the content.

Mali-G31 (Allwinner H700) notes, measured

These are observations from porting Halo 3 to the H700 with Arm’s Mali driver (libmali r20p0, OpenGL ES 3.2) on Knulli. They may help anyone writing or porting a 3D renderer for H700 handhelds (Anbernic RG35XX, RG40XX, RG34XX, RG28XX, RG CubeXX).

The GPU

Hardware counters

The kbase driver’s hardware counters are readable from user space through the /dev/mali0 ioctls (tools/device/mali_hwcnt.c). The G31 has four blocks:

They answer “is it vertex or fragment bound?” without guessing.

Driver behaviour that costs time

Shader costs