https://bugs.kde.org/show_bug.cgi?id=529074
Bug ID: 529074
Summary: Lock screen black with only cursor on every lock;
killing kscreenlocker_greet once makes the next one
work
Classification: Plasma
Product: plasmashell
Version First 6.8.2
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Screen locking
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
DESCRIPTION
Every lock of my Wayland session ends in a black screen with only the mouse
cursor. The cursor moves, but no lock screen and no password field appear.
kscreenlocker_greet is running the whole time.
If I kill that kscreenlocker_greet with SIGKILL, KDE starts a second one right
away, and that second one shows the lock screen normally and accepts my
password. So the greeter started at the moment of locking never shows, and one
started a moment later works.
This looks related to bug 514110 (closed because nobody could reproduce it on
demand) and bug 528681. Here it happens on every lock, also on the first lock
after a fresh boot, so I can test things for you.
STEPS TO REPRODUCE
1. Log in to a Plasma Wayland session.
2. Lock the session (Meta+L or "loginctl lock-session").
3. Screen is black with only the cursor.
OBSERVED RESULT
- Black screen, movable cursor, no password field.
- One kscreenlocker_greet process runs at about 3% CPU, started as
"/usr/lib/kscreenlocker_greet --immediateLock --graceTime 5000".
With LockGrace=0 it is started without --graceTime and behaves the same.
- "loginctl show-session" says LockedHint=yes.
- "loginctl unlock-session" does nothing while this greeter runs.
- Restarting plasmashell does not help. Switching the refresh rate with
kscreen-doctor (165 Hz to 120 Hz and back) gives the same black screen again,
so the display itself is fine.
- No coredump.
- After "pkill -9 kscreenlocker_g" a new greeter starts with the same
arguments. It draws the lock screen and I can unlock with my password.
"loginctl unlock-session" then works as well.
- Seen on 5 locks in a row: the first greeter failed each time, the second
worked each time.
- "/usr/lib/kscreenlocker_greet --testing" draws its window normally.
EXPECTED RESULT
The lock screen appears and can be unlocked with the password.
SOFTWARE/OS VERSIONS
Operating System: EndeavourOS (Arch Linux), kernel 7.2.14-arch1-1
KDE Plasma Version: 6.8.2
KDE Frameworks Version: [from kinfo]
Qt Version: 6.12.0
ADDITIONAL INFORMATION
Graphics: NVIDIA GeForce RTX 4090, nvidia-open-dkms 615.78.08, Wayland
Display: one monitor on DisplayPort, 2560x1440 at 165 Hz, no HDR
Login manager: LightDM (lightdm-gtk-greeter)
Packages: kscreenlocker 6.8.2-1, kwin 6.8.2-2, plasma-workspace 6.8.2-1,
qt6-base 6.12.0-3
Journal at lock time:
kscreenlocker_greet: PamAuthenticators: Authenticator changed to
PamAuthenticators::Authenticator::Regular
kscreenlocker_greet: Worker not ready yet, cannot authenticate. (6 times)
kwin_wayland: Input method is trying to show itself but without a context.
Aborting.
The greeter lines also appear in --testing mode, where it draws fine.
Workaround I use now: a script that locks, waits for the new
kscreenlocker_greet process, and kills it once after 2 seconds. The
replacement greeter then works, including screen-off while locked and wake-up.
Recovery from a text console when the lock is black:
pkill -9 kscreenlocker_g; loginctl unlock-session <id>
I can reproduce this at will and can run a debug build or collect a backtrace
if you tell me what you need.
(I ran all tests myself. An AI assistant helped me narrow it down and write
this up since I am not a native English speaker.)
kinfo
Operating System: EndeavourOS
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.14-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i5-13600KF
Memory: 64 GiB of RAM (62.6 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4090
--
You are receiving this mail because:
You are watching all bug changes.