Valve developers have done a lot of work over the years to improve AMD GPUs on Linux, and continue to do so with the Steam Deck using AMD and it seems like they're now getting stuck into NVIDIA too.
If you are experience flickering in apps and your windowing system is Wayland, there is likely a fix coming this month in the next NVIDIA patch. And, Gnome and KDE either already have or are working on their side. Here’s a good jumping off point to understand why Nvidia support for Linux is essentially incomplete until this gets flowed out to all users: https://www.phoronix.com/news/Explicit-GPU-Sync-XWayland-Go
Gamescope is a Valve thing that is also related, helps make stuff work on Linux
What does this mean? I just started trying out Linux for gaming with my NVIDIA graphics card yesterday. What’s gamescope?
If you are experience flickering in apps and your windowing system is Wayland, there is likely a fix coming this month in the next NVIDIA patch. And, Gnome and KDE either already have or are working on their side. Here’s a good jumping off point to understand why Nvidia support for Linux is essentially incomplete until this gets flowed out to all users: https://www.phoronix.com/news/Explicit-GPU-Sync-XWayland-Go
Gamescope is a Valve thing that is also related, helps make stuff work on Linux