GTK4 programs shows only transparent window in Wayland+NVIDIA
Please refer to gtk#3772 (comment 1104199), they said try to take this to mutter side.
Affected version
Mutter 40.3, Linux 5.13.4, NVIDIA 470.57.
Bug summary
When running wayland session with NVIDIA proprietary driver, all GTK3 programs works fine, but GTK4 programs shows only transparent window, and user cannot interact with them.
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, like
gtk4-demo
.
What happened
A choppy transparent stuck window.
What did you expect to happen
Programs works fine.