Created attachment 123502 [details] Corrupted graphics after resuming from sleep mode. SUMMARY Drawing becomes corrupted after resuming from sleep mode. STEPS TO REPRODUCE 1. Open Krita 2. Draw 3. Enter sleep mode with Krita Open 4. Resume your session from sleep mode OBSERVED RESULT 5. Krita canvas is completely corrupted EXPECTED RESULT Krita canvas still looks as I left it SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro KDE, Plasma 5.16.5 (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.62.0 Qt Version: 5.13.1 ADDITIONAL INFORMATION I'm using Nvidia Driver version 435 and I think it's related to it. I don't think it happens on Nouveau.
By the way, the canvas can be refreshed and fixed by disabling and enabling layers.
Yes... That's a known thing, but it's not really Krita specific. The texture memory of the gpu is reset to random after resuming, and it needs to be explicitly reset after that. Unfortunately, Krita doesn't get any signal that the system has been suspended and resumed, so, as far as we know, we just cannot do that programmatically!
I'll set this to confirmed then, in the offchance someone can come up with a fix.
I think it's better to just close this issue; we cannot do anything about it, and it _is_ dependent on the driver.