On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > Hi. > > There seems to be a regression with mesa that makes gtk+4 application very > slow > to start. > By default the GSK renderer uses OpenGL. > As a workaround, you can temporarily use this to go back to the cairo renderer > which makes gtk+4 applications fast again: > > export GSK_RENDERER=cairo
What hardware is this on? Is there a Mesa or gtk bug for it? When did this behaviour start? Before the gtk update that recently went in? Does it occur with GSK_RENDERER=vulkan? GSK_RENDERER described in https://docs.gtk.org/gtk4/running.html#gsk_renderer There is https://gitlab.freedesktop.org/mesa/mesa/-/issues/5113 which briefly touches on shader cache. We disable the shader cache to be able to uses pledge(2). At the moment, -current has Mesa 22.3.4. Mesa 22.3.5 is already available and 22.3.6 is scheduled to be released in a few days. https://docs.mesa3d.org/release-calendar.html