GtkGLArea: on Intel gen3 GLES 2.0 context fails under Wayland, succeeds under X11
Steps to reproduce
- On machine using Intel gen3 (Intel G31), install linux distro (Fedora 32 x86_64) with GTK-3.24.20 and both Wayland and X11 desktops (used Gnome Shell)
- Compile example GtkGLArea program from bug #1377 (closed)
- Run program under X11 desktop, and then under Wayland desktop
Current behavior
Under the X11 desktop session, the GTKGLArea test program runs correctly and shows a bright green window background. Under the Wayland desktop session, the same test program instead shows the message "Unable to create a GL context".
Expected outcome
The sample test program should succeed in creating the GLES context under both X11 and Wayland sessions.
Version information
Fedora 32 x86_64 gtk3-3.24.20-1.fc32.x86_64 kernel-5.6.16-300.fc32.x86_64 libepoxy-1.5.4-2.fc32.x86_64
Additional information
The GNOME Shell Wayland session runs using the GLES 2.0 fallback on this hardware. On another machine with more recent Intel graphics hardware, the issue does not occur.