I already approached the GTK maintainers about this but they are understandably
not keen about reverting 18k line long patch. [3] Fortunately, there seems to be a relatively easy workaround for the situation. Christian Gmeiner opened a MR [4] which adds texelfetch support and with that, one can then run applications like clapper with the environment variable MESA_GL_VERSION_OVERRIDE=3.2 and things work again.
[...]
I know that it is late in the freeze but the GTK 4.18 upload was also late in the freeze and the MNT Reform and MNT Pocket Reform were working just fine until the GTK upload broke applications like Clapper due to dropping the GL backend. It would be really nice if mesa in Debian Trixie could backport the relatively small and targeted improvements from above MR by Christian Gmeiner to at least have a relatively simple workaround using MESA_GL_VERSION_OVERRIDE=3.2 in the environment.
Source: mesa
Version: 25.0.4-1
Severity: normal
Tags: patch
Hi,
TLDR: please consider carrying this as a patch in Trixie: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34685
Long story: the upload of gtk 4.18 last month broke GTK applications relying on
the GL renderer on "very old drivers and hardware" as GTK upstream describes it
[1]. Affected applications will refuse to open with messages like:
(clapper:75218): Gsk-WARNING **: 16:04:34.205: The old GL renderer has been removed. Try GSK_RENDERER=help
(clapper:75218): GStreamer-CRITICAL **: 16:04:35.334: gst_object_ref: assertion 'object != NULL' failed
(clapper:75218): GStreamer-GL-CRITICAL **: 16:04:35.334: gst_gl_memory_allocator_get_default: assertion 'GST_IS_GL_CONTEXT (context)' failed
**
GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
Bail out! GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
Aborted
[1] https://blog.gtk.org/2025/02/01/whats-new-in-gtk-winter-2025-edition/#:~:text=Spring%20Cleaning
Unfortunately, three platforms affected by this change are the imx8mq, imx8mplus and the ls1028a as they are found in the open hardware computers MNT
Reform and MNT Pocket Reform. With this change in GTK, users of those platforms
are stuck with Bookworm. This is unfortunate, as there are not many laptops out
there which are as open as the products by MNT and my work for that platform recently even received EUR 1.400,00 sponsorship by Debian itself [2]. It would
be nice if Debian Trixie continued supporting devices with Vivante GC7000 running GTK applications that require GL renderer.
[2] https://mister-muffin.de/reform/funding-application.html
Sorry for the delay, but yes I'll add these patches for the next version. 25.0.6 is out, but maybe I'll shoot for 25.0.7 instead which is the last of the series, and should be released on the 28th. Or upload just this now (next week) and the bugfix release later.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 480 |
Nodes: | 16 (2 / 14) |
Uptime: | 250:25:15 |
Calls: | 9,532 |
Files: | 13,650 |
Messages: | 6,137,986 |