SUMMARY Whenever I try to shutdown my pc before the pc shuts down completely. My pc gets stuck on a message "Cleaning blocks /dev/sda3 132321/12142124 clean " and it takes 2 minutes for my pc to shutdown completely. I also asked people in the archlinux forums and they are having the same problem too - https://bbs.archlinux.org/viewtopic.php?pid=2002140#p2002140 STEPS TO REPRODUCE 1. Shutdown ur pc 2. A message pops up "cleaning blocks 132321/12142124" 3. Takes 2 minutes for ur pc to shutdown OBSERVED RESULT EXPECTED RESULT I expected the pc to shutdown normally like a normal linux distro would. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Arch Linux (5.14.16-arch1-1) (available in About System) KDE Plasma Version: 5.23.3 KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Shutdown logs - Nov 09 11:11:51 rounak systemd[1]: session-2.scope: Stopping timed out. Killing. Nov 09 11:11:51 rounak systemd[1]: session-2.scope: Killing process 1389 (kwin_x11) with signal SIGKILL. Nov 09 11:11:51 rounak systemd[1]: session-2.scope: Killing process 1572 (CPMMListener) with signal SIGKILL. Nov 09 11:11:51 rounak systemd[1]: session-2.scope: Killing process 2011 (QSGRenderThread) with signal SIGKILL. Nov 09 11:11:51 rounak systemd[1]: session-2.scope: Failed with result 'timeout'.
What is sending that message? What tells you that it's KWin? Can you attach a screenshot?
Created attachment 143507 [details] This error message shows up
(In reply to Nate Graham from comment #1) > What is sending that message? In arch u have a command called as journalctl which gives u a log when u shutdown your pc and if anything goes wrong, one can always understand what went wrong by looking at the log. As the log says that systemd is not able to kill the kwin which means something is wrong with it. I tried with cinnamon , gnome and mate but I got no problems at all.
This is my full shutdown log - http://ix.io/3ER4
This is my shutdown log - http://ix.io/3Etu
(In reply to asvqmnmd from comment #5) > This is my shutdown log - http://ix.io/3Etu this is the wrong shutdown log. This is the right one - http://ix.io/3Etu
Here is a reddit post where people are having the same issue - https://www.reddit.com/r/kde/comments/qsxa0a/kde_slow_shutdown/
https://bugs.kde.org/show_bug.cgi?id=445449
I am using qt version - 5.15.2 KDE Frameworks version - 5.88.0 KDE Plasma version - 5.23.3 And graphics platform - X11
Thanks for the info.
Would you be able to test git master there? f377696bff39e35ae0f7ae6104d8732b3856744e could help address this issue. Otherwise, could you try enabling systemd boot for Plasma and see if it addresses the problem for you? https://invent.kde.org/plasma/plasma-workspace/-/wikis/Plasma-and-the-systemd-boot
People having the same issue here I think it is a sddm issue or a kwin issue - https://bbs.archlinux.org/viewtopic.php?id=259577
This is also happening on my newly installed Arch Wayland setup. I have found that pressing ctrl+alt+F1 during a slow shutdown causes the system to immediately continue shutting down normally. Has anyone else tested this behaviour and does it help with debugging?
I've experienced this problem on Arch Linux and Kubuntu 21.04 and 21.10. Earlier I had this bug with GNOME, but there was a period of time when Plasma didn't have this issue.
*** This bug has been marked as a duplicate of bug 445449 ***