You are not logged in.

#1 2021-11-09 04:06:08

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Slow shutdown problems

I installed arch linux properly and I completely followed the arch wiki and everything is installed properly. But when I shut down my pc I get a message - "/dev/sda3 clean blocks 1254546/13452252" and it takes 1.5 to 2 minutes to shutdown my pc. Its not like I get it everytime but when I get it , it takes 2 minutes for my pc to shut down. Any clue ?

Offline

#2 2021-11-09 07:47:18

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

Pos t the system journal for the boot w/ the stalled shutdown

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io # for the previous boot

Offline

#3 2021-11-09 07:50:41

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

Offline

#4 2021-11-09 08:03:10

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

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'.

https://bbs.archlinux.org/viewtopic.php?id=269310
https://bbs.archlinux.org/viewtopic.php?id=269549
https://bbs.archlinux.org/viewtopic.php?id=270759

Offline

#5 2021-11-09 08:08:40

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

So it is a kde bug right ? I have to logout and then I have to shutdown or I can use shutdown now command to shut it down instantly right ?

Offline

#6 2021-11-09 08:10:51

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

Logging out and shutting down will work, "shutdown now" most likely not (same problem) - and yes, the bug is somewhere in kde, likely kwin … and I'm still blaming qml.

Offline

#7 2021-11-09 08:16:09

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

Thank u so much for ur time I though that I installed arch wrong.

Offline

#8 2021-11-20 01:03:03

PotatoFuhrer
Member
Registered: 2021-11-19
Posts: 4

Re: Slow shutdown problems

I seem to be having the same issue. I came across this thread before and tried the logout then shutdown method to no avail. Yet now it seems to be working after I removed dhcpcd.

Here is my output of:

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io # for the previous boot

Edit:
Here's my neofetch

Last edited by PotatoFuhrer (2021-11-20 01:05:12)

Offline

#9 2021-11-20 07:56:52

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

Nov 19 19:57:11 maxbook sddm[332]: Authentication error: "Process crashed"
Nov 19 19:57:11 maxbook sddm[332]: Auth: sddm-helper crashed (exit code 15)
Nov 19 19:57:11 maxbook sddm[332]: Authentication error: "Process crashed"
Nov 19 19:57:11 maxbook sddm[332]: Auth: sddm-helper exited with 15
…
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: State 'stop-sigterm' timed out. Killing.
Nov 19 19:58:41 maxbook audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: Killing process 332 (sddm) with signal SIGKILL.
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: Killing process 4321 (Xorg) with signal SIGKILL.
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: Killing process 339 (QDBusConnection) with signal SIGKILL.
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: Main process exited, code=killed, status=9/KILL
Nov 19 19:58:41 maxbook systemd[1]: sddm.service: Failed with result 'timeout'.
Nov 19 19:58:41 maxbook systemd[1]: Stopped Simple Desktop Display Manager.
Nov 19 19:58:41 maxbook systemd[1]: Stopping User Login Management...

https://github.com/sddm/sddm/issues/1261
https://bbs.archlinux.org/viewtopic.php?id=256441

The upper segment is also in the journal in #3 but the lower isn't.
You could try to replace sddm w/ eg. startx (but see the 4th link below ;-)

Offline

#10 2021-11-22 14:05:49

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

So it is a sddm bug right ? So what should I do now ? I dont know how to use .xinitrc properly. so I should copy the xinit file from cp /etc/X11/xinit/xinitrc ~/.xinitrc and then i will remove everything from the .xinitrc file and type exec plasma ?

Last edited by tiykxjoqzbvnlyq (2021-11-22 14:06:13)

Offline

#11 2021-11-22 14:59:04

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

Certainly not *everything* (then why copy the file to begin with) - only the client programs you don't want to run.
As for what to add: https://wiki.archlinux.org/title/KDE#From_the_console

Offline

#12 2021-11-22 16:04:57

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

I think I will wait for the sddm devs to fix the bug.

Offline

#13 2021-11-23 23:19:10

apol
Member
From: Barcelona
Registered: 2010-01-10
Posts: 2
Website

Re: Slow shutdown problems

This is unlikely an SDDM bug.

Otherwise, would you be able to try enabling systemd boot for Plasma and see if it addresses the problem for you?
https://invent.kde.org/plasma/plasma-wo … stemd-boot

Offline

#14 2021-11-25 08:16:47

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

seth wrote:

Certainly not *everything* (then why copy the file to begin with) - only the client programs you don't want to run.
As for what to add: https://wiki.archlinux.org/title/KDE#From_the_console


I am facing the same problem and this is my shutdown log. Can u see what went wrong here ?

http://ix.io/3G3o

Offline

#15 2021-11-25 08:25:55

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: Slow shutdown problems

Nov 25 13:29:08 rounak sddm[324]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Nov 25 13:29:08 rounak sddm[324]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Nov 25 13:29:08 rounak systemd[1]: sddm.service: Deactivated successfully.
Nov 25 13:29:08 rounak systemd[1]: Stopped Simple Desktop Display Manager.
Nov 25 13:29:08 rounak audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 25 13:29:08 rounak systemd[1]: sddm.service: Consumed 15.785s CPU time.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Stopping timed out. Killing.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Killing process 557 (kwin_x11) with signal SIGKILL.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Killing process 1055 (QSGRenderThread) with signal SIGKILL.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Failed with result 'timeout'.
Nov 25 13:30:37 rounak systemd[1]: Stopped Session 2 of User rounak.

same problem as everyone else

Offline

#16 2021-11-25 09:46:25

tiykxjoqzbvnlyq
Member
Registered: 2021-11-09
Posts: 8

Re: Slow shutdown problems

seth wrote:
Nov 25 13:29:08 rounak sddm[324]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Nov 25 13:29:08 rounak sddm[324]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Nov 25 13:29:08 rounak systemd[1]: sddm.service: Deactivated successfully.
Nov 25 13:29:08 rounak systemd[1]: Stopped Simple Desktop Display Manager.
Nov 25 13:29:08 rounak audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 25 13:29:08 rounak systemd[1]: sddm.service: Consumed 15.785s CPU time.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Stopping timed out. Killing.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Killing process 557 (kwin_x11) with signal SIGKILL.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Killing process 1055 (QSGRenderThread) with signal SIGKILL.
Nov 25 13:30:37 rounak systemd[1]: session-2.scope: Failed with result 'timeout'.
Nov 25 13:30:37 rounak systemd[1]: Stopped Session 2 of User rounak.

same problem as everyone else


I already made a bug report regarding it but no answers - https://bugs.kde.org/show_bug.cgi?id=445385

I bet the culprit is kwin_x11 , QDBusConnection and QSGRenderThread

Last edited by tiykxjoqzbvnlyq (2021-11-25 09:49:33)

Offline

Board footer

Powered by FluxBB