Reposting the thread with a more descriptive title for additional clarity/discoverability. In GTK applications, some menus and tooltips become stretched/improperly sized.
Have personally seen this issue crop up in GNOME Software dropdown menus and hover tooltips in any GTK applications. It’s especially apparent in GNOME Builder (IDE) with auto-completion.
NOTE: This only affects GTK4 apps. Tooltips in GTK3 apps are displayed properly.
Arch Linux | Kernel 6.7.8
Gnome-shell | Mutter 46.rc
Wayland (meson_options: xwayland=false)
GTK 4.13.8.1
Mesa 24.0.2
nVidia 550.54.14
As one of the folks involved in the original GTK GitLab issue and original forum thread, I’ll add another screencast using Nautilus file manager as an example here.
Awesome! I recognize Erik’s name as he was involved in some other issues I was tracking (namely explicit sync). Glad to see it’s on their radar now :). Mentioned it’s too late for 555, but at least a fix is incoming some time in the future. Woohoo!
Unsurprisingly this issue is still present with nVidia 570.133.07 Production Branch drivers.
GTK4 application tooltips and popover dialogs are stretched/distorted/frozen.
This affects the GL and NGL renderers for GTK4 apps and is wildly annoying.
The old GL renderer was removed in the GTK 4.18.x release cycle.
As time marches on without any nVidia driver fixes, a few positive evolutions have mostly mitigated the pain points with this specific problem.
The changes in Nautilus 48.x to use newer Adwaita toolkit widgets combined with improvements landed in GTK 4.18.2 and 4.18.3 have made the stretched/frozen dialog issue nigh impossible to reproduce now. The tooltips are still a mess but that’s unimportant in comparison.
So, until the Vulkan rendering CPU usage issue is addressed by nVidia driver fixes, the NGL renderer for GTK 4 is now a viable workaround in the meanwhile.
Upon building today’s git main@1229d635… the tooltip issue with the GTK4 NGL renderer is resolved.
I suspect also the popover/dialog distortion issues noted over the course of this thread may too be resolved/improved, but as noted several times previously, they became very rare and difficult to reproduce with recent GTK/Adwaita releases.
I’ll wait to mark this SOLVED until egl-wayland2 is officially tagged & packaged for my distro, and the temporary-fix env var is no longer required. Hopefully in the 580 driver.
As I’m packaging the 580.65.06 Beta driver anyway, I took things a step further and removed the older egl-wayland library package dependency and purged it from my system.
This allowed me to remove the env var as well.
So now I’ve just the default 580 driver + egl-wayland2 1.0.0-rc.
egl-wayland2 can be installed alongside of egl-wayland. You dont need to remove the dependency from it. egl-wayland (1) can be still used as fallback for unsupported enviroments
I’ve used egl-wayland2 for over 2 months now exclusively, without egl-wayland.
Tempted to mark this thread as SOLVED, as the new lib introduces no regressions and solves all previous known issues with GTK4 app toolips and popover dialog windows distortion when using the NGL renderer backend.