GtkGLArea does not work on PinePhone
Created by: James Westman
I have a BraveHeart PinePhone running up-to-date Mobian.
Apps that use GtkGLArea do not seem to work. To reproduce:
- Install GTK3 examples (
sudo apt install gtk-3-examples
) - Run
gtk3-demo --run=glarea
- It says "Unable to create a GL context"
On my computer, the demo works and shows a shaded triangle.
This issue also affects gtkglsink in GStreamer.
Imported comments:
By Chris McGee on 2020-08-02T22:42:17.447Z
A workaround to this is to set an environment variable to force it into OpenGL ES (GLES) mode instead of full desktop OpenGL.
GDK_GL=gles gtk3-demo --run=glarea