Bug 455738

Summary: KScreenLocker with black screen after some minutes in sleep
Product: [Plasma] kscreenlocker Reporter: Higor Silva <higors88>
Component: greeterAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bhush94, crc2005, eeickmeyer, frank910311, nate
Priority: NOR    
Version: 5.25.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: journalctl-log

Description Higor Silva 2022-06-21 17:32:37 UTC
Hello everyone

KScreenLocker shows black screen after some minutes of sleep (laptop). It's not showing nothing (any icon, cursor, nothing), even if I login from tty2 (CTRL + ALT + F2). It's not happens everytime, only in random times. I've searched around my journalctl and found this errors:

jun 21 13:21:46 pinguim kscreenlocker_greet[13691]: Qt: Session management error: networkIdsList argument is NULL
jun 21 13:21:47 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/>
jun 21 13:21:47 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/>
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/>
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/>
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/>
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim plasmashell[9763]: QXcbClipboard::setMimeData: Cannot set X11 selection owner
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim plasmashell[9763]: QXcbClipboard::setMimeData: Cannot set X11 selection owner
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old

I tried to run '/usr/lib/kscreenlocker_greet --testing', but it's everything fine (As I've said, the black screen thing happens randomly) with some minors errors:

file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:222: ReferenceError: wallpaper is not defined
Locked at 1655831997
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool 



SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64 - Kernel 5.18.5-arch1-1
KDE Plasma Version: Plasma 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
It's happens in both X11 and Wayland sessions
Comment 1 Higor Silva 2022-06-21 17:40:27 UTC
Sorry, I miss something when I've copied the journalctl logs. Here is the right one

jun 21 13:21:46 pinguim kscreenlocker_greet[13691]: Qt: Session management error: networkIdsList argument is NULL
jun 21 13:21:47 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
jun 21 13:21:47 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:222: ReferenceError: wallpaper is not defined
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:604: TypeError: Value is undefined and could not be converted to an object
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
jun 21 13:21:48 pinguim kscreenlocker_greet[13691]: QXcbClipboard: SelectionRequest too old
Comment 2 Frank Kuo 2022-06-30 06:29:17 UTC
Created attachment 150282 [details]
journalctl-log

Having the same issue here.
The wallpaper for lock screen isn't showed, and some effects like background blur are also gone.

------

System info:
EndeavourOS
Plasma 5.25.2
KDE Framworks 5.95.0
Qt 5.15.5
Kernel 5.15.50-1-lts

Application theme: Lightly by Luwx
Plasma style: Colloid-light by vinceliuice
Comment 3 Erich Eickmeyer 2022-10-26 14:43:48 UTC

*** This bug has been marked as a duplicate of bug 457284 ***
Comment 4 Nate Graham 2024-01-17 16:54:42 UTC
Hmm, not the same thing as here there's no cursor.
Comment 5 Nate Graham 2024-01-17 16:55:13 UTC
Hi Higor, sorry it took so long to get to this. If it is still happening in Plasma 5.27, can you comment on what kind of GPU you have on the machine? Thanks!
Comment 6 Nate Graham 2024-01-17 17:21:04 UTC
Actually I have even more questions:
- Does it happen when the system locks the screen?
- Does it happen when the system puts the display to sleep?
- Does it happen when the system suspends?
- Are there more than one screen?
- Are there more than one GPU?
- Is it a PRIME system with muxing? If so, which GPU was driving the display?
- Is the cursor visible?
- Are there any GUI elements visible?
- Is the broken lock screen function (e.g. blindly typing your password and hitting Enter unlocks)?
- Is there a method that brings you back to a working desktop (e.g. killing kscreenlocker_greet).
- Is the desktop session using X11 or Wayland?
Comment 7 Bug Janitor Service 2024-02-01 03:45:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-02-16 03:46:00 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!