ui
ui copied to clipboard
Raspberry Pi 'gg error: GLX: failed to create GL context'
V version: V 0.2.4 3ae4513 UI version: 0.0.4 OS: Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux Special set up GL driver turned on in raspi-config tool
What did you do? Run build_examples.vsh to compile all examples from the folder. Then run randomly chosen example ./users.
What did you expect to see? GUI - window similar to what's presented on Github vlang/ui page
What did you see instead?
gg error: GLX: failed to create GL context
As a workaround I run:
MESA_GL_VERSION_OVERRIDE=3.3 ./users
then windows appear and works fine.