GTK4 not work properly under GNOME Wayland session with NVIDIA EGLStreams backend
Steps to reproduce
- Make sure
WaylandEnable=false
is commented out in/etc/gdm/custom.conf
. - Add
nvidia-drm.modeset=1
to kernel parameters enable KMS. - Run
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
to mask the rule that rungdm-disable-wayland
with nvidia driver. - Run some GTK4 programs in GNOME Wayland Session with NVIDIA driver.
Current behavior
A transparent window comes up, showing contents below this window, and shaking! If pointer hovers into the window, it will leaves tails.
Expected outcome
Works properly like GTK3 programs.
Version information
Arch Linux, gtk4 4.0.3-1 from official repo.
Additional information
https://www.youtube.com/watch?v=I5Sjlc-FMC4
I found this youtube video, I have the same behavior as its, though it's using GNOME 40 while I am using GNOME 3.38.