Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Kentaro HAYASHI
Wed, 02 Dec 2026 11:50
Bug#1156140: libgtk-3-0t64: Wayland GL fails with mesa 26.2.8, EGL_RENDERABLE_TYPE not set
Author: Kentaro HAYASHI
Date: Wed, 02 Dec 2026 11:50
Date: Wed, 02 Dec 2026 11:50
57 lines
3807 bytes
3807 bytes
Package: libgtk-3-0t64
Version: 3.24.52-3
Severity: important
Tags: upstream fixed-upstream
Dear Maintainer,
* What led up to the situation?
After upgrading mesa to 26.2.8-1, gdk_window_create_gl_context()
fails on Wayland. It affects desktop environments such as Budgie.
The Budgie session does not start because its GL check fails.
This is a GTK3 bug that Mesa 26.2.8 exposed. The Mesa change follows
the EGL spec; the Debian mesa bug is #1156106.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Logged in to the Budgie (Wayland) session.
gdk_window_create_gl_context() returns the error:
No available configurations for the given pixel format
* What was the outcome of this action?
find_eglconfig_for_window() in gdk/wayland/gdkglcontext-wayland.c
calls eglChooseConfig() without EGL_RENDERABLE_TYPE. The default
value in the EGL spec is EGL_OPENGL_ES_BIT (GLES1), so GTK3 asks
for GLES1 configs, even though it only uses OpenGL or OpenGL ES
2.0/3.x.
This worked before only because Mesa set EGL_OPENGL_ES_BIT even
when GLES1 was not built. Mesa 26.2.8 stopped doing that
(see #1156106), so no config matches now. Downgrading mesa to
26.2.7-1 fixes the problem as a workaround.
Upstream GTK has already fixed this on the gtk-3-24 branch:
commit 386e7cb0ad85660cde7124ebd5b70d6f948e311f
"wayland: Set EGL_RENDERABLE_TYPE when choosing an EGLConfig"
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10749
It passes EGL_OPENGL_BIT or EGL_OPENGL_ES2_BIT, using the same
use_es decision as gdk_wayland_display_init_gl(). GTK4 had the same
problem and was fixed in main.
* What outcome did you expect instead?
GTK3 should pass EGL_RENDERABLE_TYPE in find_eglconfig_for_window(),
so it does not depend on GLES1 support in the EGL driver. This is
what upstream commit 386e7cb0 does.
Please backport 386e7cb0 to 3.24.52-3. GTK 3.24.53 is not expected
until March 2027, and the current Debian package is affected.
Best regards,
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads