Package: src:mesa
Version: 26.2.8-1
Severity: important
Dear Maintainer,
* What led up to the situation?
Upgraded mesa from 26.2.7-1 to 26.2.8-1. After that, GTK3 can not
create a GL context on Wayland.
It affects the desktop session. For example, the Budgie session does
not start because budgie-session-check-accelerated fails.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Logged in to the Budgie (Wayland) session. The GL check fails with
amdgpu.
Failed to get GTK GLES renderer:
No available configurations for the given pixel format
No EGL config has EGL_OPENGL_ES_BIT any more. With 26.2.7-1, the
8 bit configs (RGBA8888, RGBX8888, RGB565, RGBA5551) have it (the
"es" column is "y"). With 26.2.8-1, the "es" column is empty for
every config:
$ eglinfo -p gbm | grep -E '^0x(29|3d|51|b5) '
26.2.7-1:
0x29 32 0 8 8 8 8 0 0 0 0 0x34325241-- y y y
win 0x3d 24 0 8 8 8 0 0 0 0 0 0x34325258-- y y y
win 0x51 16 0 5 6 5 0 0 0 0 0 0x36314752-- y y
y win 0xb5 16 0 5 5 5 1 0 0 0 0 0x35315241-- y
y y win 26.2.8-1:
0x29 32 0 8 8 8 8 0 0 0 0 0x34325241-- y y
win 0x3d 24 0 8 8 8 0 0 0 0 0 0x34325258-- y y
win 0x51 16 0 5 6 5 0 0 0 0 0 0x36314752-- y
y win 0xb5 16 0 5 5 5 1 0 0 0 0 0x35315241-- y
y win
* What was the outcome of this action?
This comes from upstream commit ("mesa: don't advertise
APIs that are not built")
https://gitlab.freedesktop.org/mesa/mesa/-/commit/8d9efec2917cd6eb93307eb110cbdf585a86e186
Debian builds with -Dgles1=disabled, so EGL_OPENGL_ES_BIT is no
longer set in the configs.
GTK3 calls eglChooseConfig() without EGL_RENDERABLE_TYPE, so the
default value EGL_OPENGL_ES_BIT is used and no config matches.
It seems that the real bug is in GTK3. The Mesa change follows the
spec. But it changes behavior and breaks GTK3 applications that use
GL on Wayland.
* What outcome did you expect instead?
GTK3 GL works on Wayland as with 26.2.7-1. Downgrading all mesa
packages to 26.2.7-1 fixes the problem as a workaround, so the mesa
update is the cause.
Could you revert it in the Debian package until GTK3 is fixed?
Best regards,
Bug#1156106: mesa: EGL configs lost EGL_OPENGL_ES_BIT in 26.2.8, breaks GTK3 GL on Wayland
- From
- Kentaro HAYASHI <kenh…@xdump.org>
- Reply-To
- Kentaro HAYASHI <kenh…@xdump.org>, 1156…@bugs.debian.org
- Sender
- robo…@news.nic.it
- Organization
- XDUMP.ORG
- Message-ID
- <O5Ks…@gated-at.bofh.it>
- Date
- Newsgroups
- linux.debian.bugs.dist, linux.debian.maint.x
Moderated This group is moderated.