SUMMARY There is a minor issue with KDE where when auto-sleep mode is disabled and the computer is left idling. The screen auto locks as intended but if left alone will freeze upon unlocking the session and a couple seconds of mouse movement. When the session freezes all input is ignored including the standard Ctrl+Alt+F5 to try to get to a login shell. Sometimes it breaks out of the freeze on its own but other times the only cure is to hard restart the computer. I have found turning auto-sleep mode back on avoids this issue thankfully. STEPS TO REPRODUCE 1. Start a wayland KDE session from sddm 2. Set the power save mode to only lock the screen upon idle instead of going to sleep mode 3. Wait until the screen locks itself from idling or a little longer 4. Unlock the screen and attempt to use the computer OBSERVED RESULT Screen is frozen and all inputs are ignored. Either it unfreezes on its own or a hard reboot is needed. If it decides to unfreeze the results of the previously ignored inputs are then shown. Audio seems to work when it is frozen as it still plays youtube videos in the background when it is frozen like this. EXPECTED RESULT Successful unlocking of the KDE session followed by standard use of the desktop environment. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 7.7 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
Can you get the backtrace of kwin when the screen is frozen? You would need to ssh from another computer and attach a debugger to kwin_wayland process, e.g. "gdb -p `pidof kwin_wayland`" then type "bt" in gdb
"sudo gdb -p `pidof kwin_wayland`"
Created attachment 145958 [details] GDB traceback as asked for Here is the traceback for kwin when it freezes
(In reply to Vlad Zahorodnii from comment #1) > Can you get the backtrace of kwin when the screen is frozen? You would need > to ssh from another computer and attach a debugger to kwin_wayland process, > e.g. "gdb -p `pidof kwin_wayland`" then type "bt" in gdb Just lmk if I should provide anything else
Thanks! *** This bug has been marked as a duplicate of bug 442846 ***
Identical bug here: Operating System: Kubuntu 21.10 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.13.0-28-generic (64-bit) Graphics Platform: X11
#0 0x00007fd9f47a5b2f in poll () at /usr/lib/libc.so.6 #1 0x00007fd9f585863b in () at /usr/lib/libxcb.so.1 #2 0x00007fd9f585a08f in () at /usr/lib/libxcb.so.1 #3 0x00007fd9f585a1a2 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1 #4 0x00007fd9f66ca48a in KWin::Workspace::updateXStackingOrder() () at /usr/lib/libkwin.so.5 #5 0x00007fd9f66ca569 in KWin::Workspace::xStackingOrder() const () at /usr/lib/libkwin.so.5 #6 0x00007fd9f665a443 in KWin::Compositor::windowsToRender() const () at /usr/lib/libkwin.so.5 #7 0x00007fd9f665a8c9 in KWin::Compositor::composite(KWin::RenderLoop*) () at /usr/lib/libkwin.so.5 #8 0x00007fd9f4f83da3 in () at /usr/lib/libQt5Core.so.5 #9 0x00007fd9f6615437 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () at /usr/lib/libkwin.so.5 #10 0x00007fd9f66ec248 in KWin::RenderLoopPrivate::dispatch() () at /usr/lib/libkwin.so.5 #11 0x00007fd9f4f83da3 in () at /usr/lib/libQt5Core.so.5 #12 0x00007fd9f4f8610f in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #13 0x00007fd9f4f76e16 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #14 0x00007fd9f5b6f1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #15 0x00007fd9f4f5317a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #16 0x00007fd9f4f9dcb5 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #17 0x00007fd9f4f9e152 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #18 0x0000555ae452a932 in () #19 0x00007fd9f4f4b45b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #20 0x00007fd9f4f56ba7 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #21 0x0000555ae44cb9c6 in () #22 0x00007fd9f46d9b25 in __libc_start_main () at /usr/lib/libc.so.6