Bug 460974 - Black screen for a while if session unlocked during the "unlock without password" time
Summary: Black screen for a while if session unlocked during the "unlock without passw...
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.90
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-10-25 09:29 UTC by Iyán M. V.
Modified: 2023-07-05 07:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán M. V. 2022-10-25 09:29:27 UTC
SUMMARY
Since Plasma 5.26, if I move the mouse or press a key when the session just got automatically locked, the result is a black screen for a few seconds. After that, the session is unlocked and everything works as expected. I can only reproduce this issue with Wayland.


STEPS TO REPRODUCE
1. Enable "lock screen automatically"
2. Set a value, for example, 5 seconds to "Allow unlocking without password"
3. Wait till session is automatically locked
4. Move the mouse or press any key

OBSERVED RESULT
A black screen and unresponsive system for a few seconds (~10s).

EXPECTED RESULT
Same behavior as with previous versions of Plasma. System is immediately unlocked and responsive.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.3-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20XYCTO1WW
System Version: ThinkPad X1 Yoga Gen 6
Comment 1 Nate Graham 2022-11-04 21:45:53 UTC
Can reproduce on Wayland.
Comment 2 Iyán M. V. 2023-03-14 20:58:07 UTC
Another hint about this issue that I just realized. It seems to be related to the graphics driver. Even though I can reproduce on my laptop with an Intel integrated graphics card, I cannot observe the same thing (also on Wayland) with an AMD graphics card.
Comment 3 Iyán M. V. 2023-07-05 07:47:22 UTC
I don't know if some changes in 5.26.7 fixed this, or if it was fixed by changes in mesa or the kernel. In any case, I can't reproduce this issue in any of my systems (with AMD and Intel graphics).

Operating System: Arch Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.4.1-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20XYCTO1WW
System Version: ThinkPad X1 Yoga Gen 6