I'm trying to use the mesa libraries. I built them from source using: https://github.com/anholt/mesa/wiki/Bui ... sa-for-VC4
I enabled debug mode, the vc4 gallium driver and platforms surfaceless, drm, x11.
(--with-gallium-drivers=vc4 --with-dri-drivers= --with-platforms=surfaceless,drm,x11 --enable-debug)
I'm trying to run the following application:
It runs fine using the broadcom closed-source drivers.
I'm using raspbian stretch lite (so no X11) on a raspberry pi zero w.
I set LD_LIBRARY_PATH to where --prefix was pointing.
I set the GL driver to full-kms.
The app fails with EGL_BAD_ALLOC at eglCreateContext:
Any idea what am I doing wrong?Initialized EGL version: 1.4
EGL_RENDERABLE_TYPE: OpenGL OpenGLES
Failed to create EGL context! Error: EGL failed to allocate resources for the requested operation.