After recent upgrades of nvidia drivers and KDE SC, time to time when resuming after suspend to ram, screen is black. Mouse cursor is rendered, sometimes some garbage is also present on the screen. Killing kwin or disabling compositing fixes the issue.
To reproduce issue, is necessary to have laptop suspended for longer time (i.e. overnight).
After initial failure, it can be repeated by killing kwin and launching kwin from terminal (VT), as restarting kwin from within X11 doesn’t trigger issue. If issue is present, it can be removed by disabling/enabling compositing in kwin. Subsequent switching to VT and back doesn’t trigger issue. Only kwin restart within VT after it has failed at first place triggers issue.
“NVreg_EnableMSI=0” doesn’t fix issue.
No error messages are logged in Xorg.log or dmesg.
When KWin fails, it emits following error: KWin::checkGLError: GL error ( PostPaint ): “0x506”
Bug report for KDE: https://bugs.kde.org/show_bug.cgi?id=323686
Attached log file is from the moment when system had black screen after resuming.
nvidia-bug-report.log.gz (70.7 KB)