Optimus is running Kubuntu in a dual-headed setup.
The last 2 times I've come back to the machine, it's not been to a screensaver/lockscreen but to a message
The screen locker is broken and unlocking is not possible anymore.
In order to unlock, switch to a virtual terminal (e.g. Ctrl+Alt+F2),
log in and execute the command
loginctl unlock-session 3
Afterwards switch back to the running session (Ctrl+Alt+F1).
This hasn't been an issue before, however I
have recently switched monitors so could potentially be related to that.
System:
ben@optimus:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy
ben@optimus:~$ dpkg-query --list | grep kde-plasma
ii kde-plasma-desktop 5:106ubuntu1 amd64 KDE Plasma Desktop and minimal set of applications
ben@optimus:~$ dpkg-query --list | grep screenlock
ii kde-config-screenlocker 5.19.5-0ubuntu1 amd64 KCM Module for kscreenlocker
ii libkscreenlocker5:amd64 5.19.5-0ubuntu1 amd64 Secure lock screen architecture
ben@optimus:~$ dpkg-query --list | grep sddm
ii kde-config-sddm 4:5.19.5-0ubuntu1 amd64 KCM module for SDDM
ii sddm 0.18.1-1ubuntu3 amd64 modern display manager for X11
ii sddm-theme-debian-maui 0.18.1-1ubuntu3 all 'Debian Maui' theme for SDDM X11 display manager
Hardware is a Lenovo P14S with a Ryzen 7
ben@optimus:~$ cat /proc/cpuinfo | head
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 96
model name : AMD Ryzen 7 PRO 4750U with Radeon Graphics
stepping : 1
microcode : 0x8600106
cpu MHz : 1400.446
cache size : 512 KB
physical id : 0
Activity
2021-07-12 16:26:03
2021-07-12 16:26:59
did indeed unlock it.
2021-07-12 16:34:04
And has an event where a lot of stuff seems to have gone away
2021-07-12 16:36:49
The change here was moving from a LG 27" monitor to an Acer. Connection in both cases was HDMI (same HDMI port etc).
Because the power button on the Acer is on the front, I tend to turn it off when walking away from the machine. I couldn't swear I've done it every time, but it's enough of a habit that I assume I have - yet when I come in to find the screenlocker broken, the Acer is on (as per the photo).
I've not actually reconfigured anything on the software side, simply unplugged the old monitor and plugged the new one in - the laptop has been rebooted since then though.
2021-07-12 16:37:07
2021-07-12 16:37:07
2021-07-12 16:42:43
Those are from before I came back to the system.
The "old" monitor was a 4K UHD monitor, whereas the one I'm using now isn't - does something in the background still have the old config?
2021-07-12 16:48:56
I've used the Display settings to (re)set their values, the theory being it should help overwrite any stale config in the background.
I've also gone into
I guess the only answer, now, is to wait and see what the next lock holds.
2021-07-13 17:33:09
2021-07-14 23:39:32
I made 2 changes previously though, so lets roll the energy saving one back to see which (assuming it isn't both) reintroduces the behaviour.
If the behaviour doesn't come back, then it was stale config around resolutions.
2021-07-17 19:16:37
I've not been on the computer much recently, so it's probably been locked since shortly after my last comment.
I am absolutely fucking certain I powered the monitor off too, but it was on when I came in, so it almost certainly is being woken.
I'm going to leave monitor power-save enabled, and disable sleep when lid closed - I'll close the laptop lid and we'll see if the behaviour still occurs (I don't really use the laptop screen much in practice anyway, so it'd be a reasonable trade-off).
2021-07-19 10:17:00