Bug 489846 - Lock screen freezes when waking monitor from power saving mode, takes ~10-20 seconds to respond (X11 only)
Summary: Lock screen freezes when waking monitor from power saving mode, takes ~10-20 ...
Status: RESOLVED DUPLICATE of bug 483094
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 20:11 UTC by Hammad R
Modified: 2024-08-24 13:24 UTC (History)
6 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 Hammad R 2024-07-06 20:11:32 UTC
SUMMARY
When the system locks after inactivity, the monitor goes into standby/power saving mode. On previous versions, typing anything turns the monitor back on, and typing in the password and pressing Enter instantly unlocked the screen. This is no longer the case. The screen lock is there without a password shown, but even after pressing Enter, the screen lock freezes for 10 to 20 seconds and then unlocks to the desktop.

Moving the mouse first to wake the screen and then typing in the password seems to mitigate this.

To clarify:
On previous versions:
1) Start typing the password when the system is locked and screen is on standby
2) Monitor wakes due to activity
3) The lockscreen shows, but no password is being shown on the screen (but still being registered)
4) Pressing Enter instantly unlocks the screen to the desktop. Moving the mouse at any point before pressing Enter would show the password being typed into the password input box, as normal.

On 6.1.2:
1) Start typing the password when the system is locked and screen is on standby
2) Monitor wakes due to activity
3) The lockscreen shows, but no password is being shown on the screen (but still being registered). At this point, the lock screen is frozen. Moving the mouse does nothing. Keystrokes are still being registered though.

STEPS TO REPRODUCE
1. Wait for system to automatically lock and monitor to go into power saving mode
2. Start typing password. The monitor should wake up when you first start typing
3. The lock screen is frozen for 10-20 seconds.

OBSERVED RESULT
Lockscreen freezes

EXPECTED RESULT
Lockscreen should not freeze

SOFTWARE/OS VERSIONS
u
Linux: Linux 6.9.7-arch1-1.
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Hammad R 2024-07-06 21:22:04 UTC
Additional info:

This seems to happen even when moving the mouse from when the monitor is sleeping/power saving mode. Doing seemingly anything to wake it causes the lock screen to freeze.
Comment 2 Hammad R 2024-07-07 11:53:19 UTC
This does NOT seem to occur on Wayland.
Comment 3 Lechuguino 2024-07-07 12:06:26 UTC
The same in version 6.0.5
Comment 4 KDE User 2024-07-10 14:32:30 UTC
I have the same issue on Bazzite with KDE Plasma 6.1.1. Using an NVIDIA card 3060ti driver: 555.58.02.

A quick (but possible insecure) workaround is to drop into a tty (ALT+F3) and type in:

```
sudo loginctl unlock-sessions
```
Comment 5 Lechuguino 2024-07-10 14:46:19 UTC
Sometimes the screen stays black indefinitely, I have tried to deactivate "Turn off screeen" in "Energy" and the failure does not occur, so.... 

is it possible that the bug is in powerdevil? can anyone confirm this?
Comment 6 Lechuguino 2024-07-10 15:16:30 UTC
(In reply to Lechuguino from comment #5)
> Sometimes the screen stays black indefinitely, I have tried to deactivate
> "Turn off screeen" in "Energy" and the failure does not occur, so.... 
> 
> is it possible that the bug is in powerdevil? can anyone confirm this?

NVIDIA 550.90.07 y plasma 6.0.5
Comment 7 Lechuguino 2024-07-12 15:28:36 UTC
After disconnecting/connecting the keyboard I managed to get the login window to appear.

Another question is someone from the KDE team checking this or am I wasting my time?


jul 12 17:02:14 (filtered)  kscreenlocker_greet[87913]: kf.svg: The theme "Layan-mio" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
jul 12 17:02:14 (filtered)  kscreenlocker_greet[87913]: kf.svg: The theme "Layan-mio" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
jul 12 17:02:14 (filtered)  kscreenlocker_greet[87913]: kf.plasma.core: The theme "Layan-mio" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
jul 12 17:02:14 (filtered)  kscreenlocker_greet[87913]: kf.plasma.core: The theme "Layan-mio" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
jul 12 17:02:15 (filtered)  kscreenlocker_greet[87913]: kf.svg: The theme "Layan-mio" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
jul 12 17:02:15 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:02:15 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:02:15 (filtered)  pipewire[13211]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
jul 12 17:02:15 (filtered)  pipewire[13211]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No existe el dispositivo
jul 12 17:02:15 (filtered)  pipewire[13211]: mod.adapter: 0x6056a7439630: can't get format: No existe el dispositivo
jul 12 17:02:15 (filtered)  pipewire[13211]: mod.adapter: usage: node.name=<string>
jul 12 17:03:21 (filtered)  dnsmasq-dhcp[1457]: RTR-ADVERT(lxcbr0) fc11:4514:1919:810::
jul 12 17:03:26 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:03:26 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:04:27 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:04:27 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:05:16 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:05:16 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:06:04 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:06:10 (filtered)  kscreenlocker_greet[87913]: pam_systemd_home(kde:auth): New sd-bus connection (system-bus-pam-systemd-home-87913) opened.
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2904270
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "EDID"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  1
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2904270
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "EDID"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  1
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2904270
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "CTM"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2904270
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "CTM"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Disconnected"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRScreenChangeNotify
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Config_timestamp:  2904270
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Window: 46137352
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Root: 495
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size ID: 65535
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size:  5760 1080
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         SizeMM:  1590 301
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Disconnected"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2909272
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "CTM"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  2909272
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Property:  "CTM"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         State (newValue, Deleted):  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Connected"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRScreenChangeNotify
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Config_timestamp:  2909300
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Window: 46137352
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Root: 495
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size ID: 65535
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size:  5760 1080
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         SizeMM:  1590 301
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Connected"
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 1
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = false , enabled = true
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 1 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 1
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = false , enabled = true
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 1 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Connected output 445 to CRTC 441
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = true , enabled = true
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 0
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = true , enabled = true
jul 12 17:06:15 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Emitting configChanged()
jul 12 17:06:25 (filtered)  kernel: usb 3-1: USB disconnect, device number 2
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: Graphics device lost, cleaning up scenegraph and releasing RHI
jul 12 17:06:27 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:06:27 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:06:27 (filtered)  pipewire[13211]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
jul 12 17:06:27 (filtered)  pipewire[13211]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No existe el dispositivo
jul 12 17:06:27 (filtered)  pipewire[13211]: mod.adapter: 0x6056a7439630: can't get format: No existe el dispositivo
jul 12 17:06:27 (filtered)  pipewire[13211]: mod.adapter: usage: node.name=<string>
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: Failed to create RHI (backend 2)
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:27 (filtered)  kscreenlocker_greet[87913]: Graphics device lost, cleaning up scenegraph and releasing RHI
jul 12 17:06:28 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:28 (filtered)  kscreenlocker_greet[87913]: Failed to create RHI (backend 2)
jul 12 17:06:28 (filtered)  kernel: usb 3-1: new full-speed USB device number 3 using xhci_hcd
jul 12 17:06:28 (filtered)  kernel: usb 3-1: New USB device found, idVendor=05ac, idProduct=0250, bcdDevice= 1.01
jul 12 17:06:28 (filtered)  kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
jul 12 17:06:28 (filtered)  kernel: usb 3-1: Product: Keychron K3
jul 12 17:06:28 (filtered)  kernel: usb 3-1: Manufacturer: Keychron
jul 12 17:06:28 (filtered)  kernel: apple 0003:05AC:0250.000A: Non-apple keyboard detected; function keys will default to fnmode=2 behavior
jul 12 17:06:28 (filtered)  kernel: input: Keychron Keychron K3 as /devices/pci0000:00/0000:00:08.1/0000:0d:00.3/usb3/3-1/3-1:1.0/0003:05AC:0250.000A/input/input36
jul 12 17:06:28 (filtered)  kernel: apple 0003:05AC:0250.000A: input,hidraw3: USB HID v1.11 Keyboard [Keychron Keychron K3] on usb-0000:0d:00.3-1/input0
jul 12 17:06:28 (filtered)  kernel: apple 0003:05AC:0250.000B: Fn key not found (Apple Wireless Keyboard clone?), disabling Fn key handling
jul 12 17:06:28 (filtered)  kernel: apple 0003:05AC:0250.000B: Non-apple keyboard detected; function keys will default to fnmode=2 behavior
jul 12 17:06:28 (filtered)  kernel: input: Keychron Keychron K3 as /devices/pci0000:00/0000:00:08.1/0000:0d:00.3/usb3/3-1/3-1:1.1/0003:05AC:0250.000B/input/input37
jul 12 17:06:28 (filtered)  kernel: apple 0003:05AC:0250.000B: input,hidraw4: USB HID v1.11 Keyboard [Keychron Keychron K3] on usb-0000:0d:00.3-1/input1
jul 12 17:06:28 (filtered)  mtp-probe[95040]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:08.1/0000:0d:00.3/usb3/3-1"
jul 12 17:06:28 (filtered)  mtp-probe[95040]: bus: 3, device: 3 was not an MTP device
jul 12 17:06:29 (filtered)  systemd-logind[773]: Watching system buttons on /dev/input/event3 (Keychron Keychron K3)
jul 12 17:06:29 (filtered)  systemd-logind[773]: Watching system buttons on /dev/input/event6 (Keychron Keychron K3)
jul 12 17:06:29 (filtered)  mtp-probe[95078]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:08.1/0000:0d:00.3/usb3/3-1"
jul 12 17:06:29 (filtered)  mtp-probe[95078]: bus: 3, device: 3 was not an MTP device
jul 12 17:06:29 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:06:29 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:06:30 (filtered)  kcminit[95134]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
jul 12 17:06:30 (filtered)  kcminit[95134]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
jul 12 17:06:30 (filtered)  kcminit[95134]: kcm_touchpad: Using X11 backend
jul 12 17:06:33 (filtered)  wireplumber[13213]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                        stack traceback:
                                                [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Connected"
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRScreenChangeNotify
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Config_timestamp:  2909300
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Window: 46137352
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Root: 495
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size ID: 65535
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Size:  5760 1080
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         SizeMM:  1590 301
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper: RRNotify_OutputChange
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Timestamp:  5287
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Output:  445
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         CRTC:  441
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Mode:  448
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Connection:  "Connected"
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xcb.helper:         Subpixel Order:  0
jul 12 17:06:33 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 0
jul 12 17:06:43 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = true , enabled = true
jul 12 17:06:43 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: XRandROutput 445 update 
                                                              m_connected: 0 
                                                              m_crtc XRandRCrtc(0x6267610b1430) 
                                                              CRTC: 441 
                                                              MODE: 448 
                                                              Connection: 0
jul 12 17:06:43 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Output 445 : connected = true , enabled = true
jul 12 17:06:43 (filtered)  unix_chkpwd[95425]: password check failed for user ((filtered))
jul 12 17:06:43 (filtered)  kscreenlocker_greet[87913]: pam_unix(kde:auth): authentication failure; logname=(filtered) uid=1000 euid=1000 tty= ruser= rhost=  user=(filtered)
jul 12 17:06:44 (filtered)  kscreen_backend_launcher[13199]: kscreen.xrandr: Emitting configChanged()
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: Graphics device lost, cleaning up scenegraph and releasing RHI
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: Graphics device lost, cleaning up scenegraph and releasing RHI
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: Failed to create RHI (backend 2)
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: QRhiGles2: Context is lost.
jul 12 17:06:55 (filtered)  kscreenlocker_greet[87913]: Failed to create RHI (backend 2)
jul 12 17:06:59 (filtered)  kernel: QSGRenderThread[87969]: segfault at 80 ip 00007f7c5acada63 sp 00007f7c21fff9f0 error 4 in libQt6Gui.so.6.7.2[7f7c5a8d9000+618000] likely on CPU 6 (core 0, socket 0)
jul 12 17:06:59 (filtered)  kernel: Code: 61 38 00 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 41 54 53 48 83 ec 30 4c 8b 67 08 64 48 8b 1c 25 28 00 00 00 48 89 5d e8 48 89 fb <49> 8b bc 24 80 00 00 00 48 85 ff 74 5f 48 8b 07 ff 50 58 84 c0 74
jul 12 17:07:06 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:07:06 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:07:15 (filtered)  systemd[12952]: Started KSystemLog - Visor de registros del sistema.
jul 12 17:07:16 (filtered)  kdesud[96402]: kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Copyright (c) 1999,2000 Geert Jansen" msgid_plural: "" msgctxt: ""
jul 12 17:07:16 (filtered)  kdesud[96402]: kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Daemon used by kdesu" msgid_plural: "" msgctxt: ""
jul 12 17:07:16 (filtered)  kdesud[96402]: kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "KDE su daemon" msgid_plural: "" msgctxt: ""
jul 12 17:07:16 (filtered)  kdesud[96402]: kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Author" msgid_plural: "" msgctxt: ""
jul 12 17:07:16 (filtered)  kdesud[96402]: kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Geert Jansen" msgid_plural: "" msgctxt: ""
jul 12 17:07:20 (filtered)  su[96536]: (to root) (filtered) on pts/11
jul 12 17:07:20 (filtered)  su[96536]: pam_unix(su:session): session opened for user root(uid=0) by (filtered)(uid=1000)
jul 12 17:07:20 (filtered)  su[96536]: pam_unix(su:session): session closed for user root
jul 12 17:07:20 (filtered)  su[96542]: (to root) (filtered) on pts/11
jul 12 17:07:20 (filtered)  su[96542]: pam_unix(su:session): session opened for user root(uid=0) by (filtered)(uid=1000)
jul 12 17:07:56 (filtered)  systemd[12952]: Started Konsole - Terminal.
jul 12 17:07:57 (filtered)  kwin_x11[13098]: kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
jul 12 17:08:17 (filtered)  sudo[98223]: pam_systemd_home(sudo:auth): New sd-bus connection (system-bus-pam-systemd-home-98223) opened.
jul 12 17:08:19 (filtered)  sudo[98223]:  (filtered) : TTY=pts/12 ; PWD=/home/(filtered) ; USER=root ; COMMAND=/usr/bin/journalctl -b -1
jul 12 17:08:19 (filtered)  sudo[98223]: pam_unix(sudo:session): session opened for user root(uid=0) by (filtered)(uid=1000)
jul 12 17:08:27 (filtered)  sudo[98223]: pam_unix(sudo:session): session closed for user root
jul 12 17:08:30 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:08:30 (filtered)  rtkit-daemon[13128]: Supervising 10 threads of 7 processes of 1 users.
jul 12 17:08:32 (filtered)  sudo[98690]: pam_systemd_home(sudo:account): New sd-bus connection (system-bus-pam-systemd-home-98690) opened.
jul 12 17:08:32 (filtered)  sudo[98690]:  (filtered) : TTY=pts/12 ; PWD=/home/(filtered) ; USER=root ; COMMAND=/usr/bin/journalctl
jul 12 17:08:32 (filtered)  sudo[98690]: pam_unix(sudo:session): session opened for user root(uid=0) by (filtered)(uid=1000)
Comment 8 Hammad R 2024-07-12 23:03:14 UTC
(In reply to Lechuguino from comment #5)
> Sometimes the screen stays black indefinitely, I have tried to deactivate
> "Turn off screeen" in "Energy" and the failure does not occur, so.... 
> 
> is it possible that the bug is in powerdevil? can anyone confirm this?

Might be? I wonder if its related to https://bugs.kde.org/show_bug.cgi?id=489169 which is supposed to be fixed in 6.1.3...
Comment 9 Hammad R 2024-07-19 20:56:39 UTC
I updated to 6.1.3 and the problem is still there.
Comment 10 Norbert 2024-08-07 19:07:04 UTC
I think I've also experienced this (in 6.7.2). Dmesg gives this (two separate crashes after unlocks):

[ 4623.026051] QSGRenderThread[30072]: segfault at 80 ip 00007e3585cada63 sp 00007e3515dfd9f0 error 4 in libQt6Gui.so.6.7.2[7e35858d9000+618000] likely on CPU 4 (core 0, socket 0)
[ 4623.026058] Code: 61 38 00 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 41 54 53 48 83 ec 30 4c 8b 67 08 64 48 8b 1c 25 28 00 00 00 48 89 5d e8 48 89 fb <49> 8b bc 24 80 00 00 00 48 85 ff 74 5f 48 8b 07 ff 50 58 84 c0 74

[11913.419822] QSGRenderThread[45016]: segfault at 79baf3368c62 ip 000079bde94ada70 sp 000079bd7bffe9f0 error 4 in libQt6Gui.so.6.7.2[79bde90d9000+618000] likely on CPU 4 (core 0, socket 0)
[11913.419831] Code: 89 e5 41 54 53 48 83 ec 30 4c 8b 67 08 64 48 8b 1c 25 28 00 00 00 48 89 5d e8 48 89 fb 49 8b bc 24 80 00 00 00 48 85 ff 74 5f <48> 8b 07 ff 50 58 84 c0 74 55 e8 41 e6 ff ff 48 39 d8 74 7c 49 8b
Comment 11 Hammad R 2024-08-08 14:59:21 UTC
After updating packages yesterday, I don't seem to notice this anymore. I'm going to wait a week and then mark it as Resolved if I don't see it again.
Comment 12 Hammad R 2024-08-08 16:46:25 UTC
(In reply to Hammad R from comment #11)
> After updating packages yesterday, I don't seem to notice this anymore. I'm
> going to wait a week and then mark it as Resolved if I don't see it again.

Nevermind, I have noticed it again twice already. I guess it's intermittent.
Comment 13 Hammad R 2024-08-14 18:08:19 UTC
I seem to get this in dmesg when the screen unfreezes

[29801.461127] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership
[29801.461238] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership
[29801.462520] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership
[29801.462582] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership
[29801.463199] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership
[29801.463292] [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to grab modeset ownership


Not sure if this is related to "nvidia-drm.modeset=1" kernel option I have in my systemd-boot entry, which was needed for Wayland to boot.
Comment 14 Vedran Rodic 2024-08-17 07:45:38 UTC

*** This bug has been marked as a duplicate of bug 483094 ***