Beta ptitSeb's Beta Lair


edgex004

Advanced Member
Joined
Jan 5, 2008
Messages
1,203
Actually...

Per this thread: https://github.com/godotengine/godot/issues/24723

Looks like for X11 builds Godot use openGL 2.1, so I will need to use gl4es if I don't want to manually try to tear everything apart. I switched to ES 2.0 with gl4es and I've gotten a window to open, but lots of errors now that I'll need to dig into.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,713
Age
47
Location
France, near Lyon
I haven't looked at the build system of Godot... "Activate" the GLES2 build (is not just linking, you need to build for gles2 or it will not work).

To use GL2.1 with gl4es, simply export LIBGL_ES=2 to use ES2 and shaders support.
 

edgex004

Advanced Member
Joined
Jan 5, 2008
Messages
1,203
Yep that is pretty much what I realized last night. I thought godot was supposed to support both, so I imagined it was able to detect libGL or GLES and switch, but that isn’t how it works unfortunately.

I thought I saw raspberry pi threads where people were using gl4es to run it, but haven’t found solid details yet. Some posters linked to the eltechs site which no longer exists.

I have it running with the LIBGL_ES=2 but get really odd syntax errors as it runs. I will try to debug them and post.
 
Last edited:
Top