Just in case it can help others. I solved almost all the pixel corruption problems on KDE with a simple configuration change. My environment is KDE5 + Plasma + NVidia.
At your home, find the file .config/plasmashellrc and add the following lines:
Also at your home, find the file .config/kwinrc and add the following lines:
With that configuration, all the KDE problems related with pixel corruption were solved. The only problem that persists in my system, is a Chromium specific problem, which has a pixel corruption after resume from suspend. But it’s not a big problem, since the pixel corruption is fixed after minimize the Chromium window. I don’t even need to close the application.
If I’m not wrong, the flag GraphicsResetNotifications=true makes Plasma and KWin to handle the NV_robustness_video_memory_purge event in order to rebuild the volatile memory (such as framebuffer objects) when it’s needed.
Hope it helps,