Graphical glitches when logout or shutdown

When login out of a current session or terminating the current session (shutdown reboot) I can see some strange graphical glitches, like the wallpaper is being pixelized.

I have a Dell laptop with hybrid graphics - NVDIA and Intel buildiin GPU.
I have tried both to install the newest NVIDIA drivers and remove all (including Nouveau) with the same results.

Now I finished in Wayland without any NVIDIA drivers at all and using Intel GPU, which is fine for me as I wasn’t using NVIDIA card recently anyways.

I’ve also tried to disable every GNOME extension I have with the same result. I’ve checked the error messages and cannot see anything relevant:

GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

some system info:

/0 bus 0C32VF
/0/0 memory 64KiB BIOS
/0/38 memory 16GiB System Memory
/0/38/0 memory 8GiB SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
/0/38/1 memory 8GiB SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
/0/41 memory 256KiB L1 cache
/0/42 memory 1MiB L2 cache
/0/43 memory 8MiB L3 cache
/0/44 processor Intel(R) Core™ i5-9300H CPU @ 2.40GHz
/0/100 bridge 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H]
/0/100/1 bridge 6th-10th Gen Core Processor PCIe Controller (x16)
/0/100/1/0 display TU117M [GeForce GTX 1650 Mobile / Max-Q]
/0/100/1/0.1 multimedia NVIDIA Corporation
/0/100/2 display CoffeeLake-H GT2 [UHD Graphics 630]

That looks like the issue appears only in Wayland or when Wayland is enabled.
Uncommeting the line


in /etc/gdm/custom.conf
solves the issue but also forces it to use X11 which I’d like to avoid since Wayland has some advantages.

And disadvantages depending upon your needs.

indeed, but I’d like to keep Wayland