🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7145

Bug#1156140: libgtk-3-0t64: Wayland GL fails with mesa 26.2.8, EGL_RENDERABLE_TYPE not set

#7145
From: Kentaro HAYASHI
Date: Wed, 02 Dec 2026 11:50
57 lines
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,
Technical Details
Message-ID: <O5R0u-fxaW-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Kentaro HAYASHI <kenhys@xdump.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156140: libgtk-3-0t64: Wayland GL fails with mesa 26.2.8, EGL_RENDERABLE_TYPE not set
Date: Wed, 02 Dec 2026 12:50:02 +0100
Message-ID: <O5R0u-fxaW-5@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 11:49:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Kentaro HAYASHI <kenhys@xdump.org>, 1156140@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-gnome-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1156140
X-Debian-Pr-Package: libgtk-3-0t64
X-Debian-Pr-Keywords: fixed-upstream upstream
X-Debian-Pr-Source: gtk+3.0
Organization: XDUMP.ORG
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Virus-Status: clean
X-Anti-Virus-Server: fsav311.rs.sakura.ne.jp
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006492
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 57
Sender: robomod@news.nic.it
X-Original-Date: Wed, 2 Dec 2026 20:46:46 +0900
X-Original-Message-ID: <20261202204646.7afb2bb8@jet>