GLES 3.1 appears to work OK atop of DRM/KMS, GBM, EGL, however it uses software rasterizer. eglGetDisplayDriverName returns “kms_swrast”, glGetString( GL_RENDERER ) returns “llvmpipe (LLVM 9.0.1, 128 bits)”
The kmscube example behaves the same way. Specifically, the original code from MESA fails at runtime. But I was able to compile and run the version specifically patched for Pi4, found somewhere on this forum, I’ve modified it locally to call eglGetDisplayDriverName() and print the result. Renders OK but again I've got “kms_swrast”.
How do I enable the hardware GPU?
Using Pi4, running the officially supported OS build, Raspbian Buster Lite.
Thanks in advance.