SUMMARY Once the video I got playing stops playing, that's when the display starts going to sleep. However, it won't restore, or if it does, it takes a while. STEPS TO REPRODUCE 1. Wait for the display to sleep 2. Try to wake it up by moving the cursor 3. OBSERVED RESULT This happens whenever I'm watching a video on Firefox. I would normally notice this after I wake up (from literal sleep). I can see the cursor moving, but the rest of the display stays black. I can still open new applications (like Konsole by keyboard shortcut). When I try to forcefully restore everything by running `kwin --replace`, no applications are restored, like as if it's newly logged in. EXPECTED RESULT Everything that was open should show up prior to the display going to sleep. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-41-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i7-4510U CPU @ 2.00GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4400 ADDITIONAL INFORMATION I will try to simulate this with a much shorter duration (like leaving it alone for an hour). Also, the laptop didn't go to sleep.
So I just tried now, and the inverse is happening: the desktop is restored, but frozen for about a minute or 2.
Just now, I switched my display to another device, and when I went back to it, Plasma locked up Coredump of `plasmashell`: Thread 8 (Thread 0x7f9880de0700 (LWP 4676)): #0 0x00007f98910a6aff in __GI___poll (fds=0x7f986c004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f988f94336e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f988f9434a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f9891674602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f98916188ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f98914322c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f989143345c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f9882ffd700 (LWP 4552)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a4130b8968) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a4130b8918, cond=0x55a4130b8940) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55a4130b8940, mutex=0x55a4130b8918) at pthread_cond_wait.c:638 #3 0x00007f988906bb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f988906b71b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f988b399700 (LWP 4483)): #0 0x00007f98910a6aff in __GI___poll (fds=0x7f987c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f988f94336e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f988f9434a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f9891674602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f98916188ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f98914322c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f9892c46549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007f989143345c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f98837fe700 (LWP 4551)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a4130b8968) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a4130b8918, cond=0x55a4130b8940) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55a4130b8940, mutex=0x55a4130b8918) at pthread_cond_wait.c:638 #3 0x00007f988906bb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f988906b71b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f9883fff700 (LWP 4550)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a4130b8968) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a4130b8918, cond=0x55a4130b8940) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55a4130b8940, mutex=0x55a4130b8918) at pthread_cond_wait.c:638 #3 0x00007f988906bb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f988906b71b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f988c619700 (LWP 4219)): #0 0x00007f98910a6aff in __GI___poll (fds=0x7f9884005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f988f94336e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f988f9434a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f9891674602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f98916188ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f98914322c2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f9891fa7f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f989143345c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f9888cfe700 (LWP 4549)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a4130b8968) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a4130b8918, cond=0x55a4130b8940) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55a4130b8940, mutex=0x55a4130b8918) at pthread_cond_wait.c:638 #3 0x00007f988906bb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f988906b71b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f9890f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f98910b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f988d1fd4c0 (LWP 4188)): #0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f989351cff5 in KCrash::defaultCrashHandler(int) () from /lib/x86_64-linux-gnu/libKF5Crash.so.5 #2 <signal handler called> #3 0x00007f9891a26c66 in QScreen::name() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #4 0x000055a4112ae584 in ShellCorona::addOutput (this=this@entry=0x55a412fd2a70, screen=<optimized out>, screen@entry=0x55a412fcdb80) at ./shell/shellcorona.cpp:1239 #5 0x000055a4112b8263 in ShellCorona::load (this=0x55a412fd2a70) at ./shell/shellcorona.cpp:682 #6 0x00007f9891650dce in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f98939b3da5 in KActivities::Consumer::serviceStatusChanged(KActivities::Consumer::ServiceStatus) () from /lib/x86_64-linux-gnu/libKF5Activities.so.5 #8 0x00007f9891650dce in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f98939b3d45 in ?? () from /lib/x86_64-linux-gnu/libKF5Activities.so.5 #10 0x00007f98939cd046 in ?? () from /lib/x86_64-linux-gnu/libKF5Activities.so.5 #11 0x00007f98939cd27d in ?? () from /lib/x86_64-linux-gnu/libKF5Activities.so.5 #12 0x00007f98939b463f in ?? () from /lib/x86_64-linux-gnu/libKF5Activities.so.5 #13 0x00007f9891650e00 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007f989200b0d3 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #15 0x00007f989200b1d8 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #16 0x00007f9891647949 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007f989232cdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f9892335bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f9891619daa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007f989161c6b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007f9891674fa7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f988f94317d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007f988f943400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007f988f9434a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007f9891674602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007f98916188ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007f9891620a64 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x000055a411284dd5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238 Cordump from kwin_wayland: Thread 9 (LWP 39591): #0 0x00007fa7127087b1 in ?? () #1 0x0000000000000003 in ?? () #2 0x0000000100000000 in ?? () #3 0x0000008100000000 in ?? () #4 0x00007fa6ef5eeb50 in ?? () #5 0x0000000000000007 in ?? () #6 0x0000000000000001 in ?? () #7 0x0000000000000004 in ?? () #8 0x000055fa3d574198 in ?? () #9 0x0000000000000089 in ?? () #10 0xa9609c0bcba34b00 in ?? () #11 0x00007fa712708050 in ?? () #12 0x00007fa6ef5eead0 in ?? () #13 0x00007fa6ef5eeae0 in ?? () #14 0x0000000000000000 in ?? () Thread 8 (LWP 39544): #0 0x00007fa712708376 in ?? () #1 0x0000000000000002 in ?? () #2 0x0000008100000000 in ?? () #3 0x0000000000000000 in ?? () Thread 7 (LWP 39592): #0 0x00007fa712205aff in ?? () #1 0x00007fa6e0005240 in ?? () #2 0x00007fa6e0005240 in ?? () #3 0x0000000000000001 in ?? () #4 0xffffffff00000001 in ?? () #5 0x00007fa6e0000c20 in ?? () #6 0x00007fa71077736e in ?? () #7 0x0000000000000000 in ?? () Thread 6 (LWP 39543): #0 0x00007fa712708376 in ?? () #1 0x0000000000000001 in ?? () #2 0x0000008100000000 in ?? () #3 0x0000000000000000 in ?? () Thread 5 (LWP 39542): #0 0x00007fa712708376 in ?? () #1 0x0000000000000003 in ?? () #2 0x0000008100000000 in ?? () #3 0x0000000000000000 in ?? () Thread 4 (LWP 39541): #0 0x00007fa712708376 in ?? () #1 0x0000000000000000 in ?? () Thread 3 (LWP 39545): #0 0x00007fa712205aff in ?? () #1 0x00007fa6f4005240 in ?? () #2 0x00007fa6f4005240 in ?? () #3 0x0000000000000002 in ?? () #4 0xffffffff00000001 in ?? () #5 0x00007fa6f4000c20 in ?? () #6 0x00007fa71077736e in ?? () #7 0x0000000000000000 in ?? () Thread 2 (LWP 39505): #0 0x00007fa712205aff in ?? () #1 0x00007fa7080053c0 in ?? () #2 0x00007fa7080053c0 in ?? () #3 0x0000000000000003 in ?? () #4 0xffffffff00000001 in ?? () #5 0x00007fa708001ce0 in ?? () #6 0x00007fa71077736e in ?? () #7 0x0000000000000000 in ?? () Thread 1 (LWP 39503): #0 0x00007fa713df419d in ?? () #1 0x000000000801eec0 in ?? () #2 0xa9609c0bcba34b00 in ?? () #3 0x0000000000000000 in ?? () I just installed a whole bunch of debug symbols, and will update this if I run into the issue again.
*** This bug has been marked as a duplicate of bug 421700 ***