Since upgrading to 6.4 (this might also be a kernel issue as I updated that around the same time), some time after KDE turns off the screen per my Power Management Settings, the screen comes back on and looks like this.
Normally the screen gets turned off and stays off, but every so often it does this instead. When it doesn’t do this, taping a key turns the screen back on, but, when this happens, the system is unresponsive to the keyboard and they only way I can use the system again is to pull the power (then the system switches to battery, the screen wakes up, and the keyboard works again).
Any idea how to troubleshoot/resolve? I don’t see anything of interest in dmesg to my untrained eyes.
A. Don’t use dmesg - this is the 21st century. Use journalctl -k and then some selector, like journalctl -k -b0 for all kernel messages since last boot, journalctl -k -S-1h for kernel messages in the last hour, or journalctl -kf to follow kernel messages.
B. I wouldn’t expect to see anything interesting in the kernel messages unless this is actually a hardware issue. More likely this is a kwin/kscreenlocker_greet issue. I would look in the user journal for kwin, with something like this: