You are not logged in.

#1 2023-05-06 07:22:34

apeiron
Member
Registered: 2022-09-14
Posts: 23

[SOLVED!]Slow shutdown problems!

The shutdown process span is 1.5 - 2 minutes. I have checked the log, and the problem is not with lvmetad; I identified an Sddm bug, or it might be a KDE bug.

Here's the log:
http://ix.io/4vjf

I also checked this thread but couldn't find any solution:
https://bbs.archlinux.org/viewtopic.php?id=271102

Please help. I don't know what to do

Last edited by apeiron (2023-05-16 10:37:42)

Offline

#2 2023-05-06 07:26:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: [SOLVED!]Slow shutdown problems!

That thread is a mess, but as V1del suggests there, try https://aur.archlinux.org/packages/sddm-git

Offline

#3 2023-05-06 07:47:23

apeiron
Member
Registered: 2022-09-14
Posts: 23

Re: [SOLVED!]Slow shutdown problems!

seth wrote:

That thread is a mess, but as V1del suggests there, try https://aur.archlinux.org/packages/sddm-git

Tried, Didn't solved(taking exact same time)

here's sddm log of 2 dates:

May 06 13:09:47 archlinux systemd[1]: sddm.service: State 'stop-sigterm' timed out. Killing.
May 06 13:09:47 archlinux systemd[1]: sddm.service: Killing process 686 (sddm) with signal SIGKILL.
May 06 13:09:47 archlinux systemd[1]: sddm.service: Killing process 5843 (Xorg) with signal SIGKILL.
May 06 13:09:47 archlinux systemd[1]: sddm.service: Killing process 691 (QDBusConnection) with signal SIGKILL.
May 06 13:09:47 archlinux systemd[1]: sddm.service: Main process exited, code=killed, status=9/KILL
May 06 13:09:47 archlinux systemd[1]: sddm.service: Failed with result 'timeout'.
May 05 19:39:35 archlinux systemd[1]: sddm.service: State 'stop-sigterm' timed out. Killing.
May 05 19:39:35 archlinux systemd[1]: sddm.service: Killing process 694 (sddm) with signal SIGKILL.
May 05 19:39:35 archlinux systemd[1]: sddm.service: Killing process 26575 (Xorg) with signal SIGKILL.
May 05 19:39:35 archlinux systemd[1]: sddm.service: Killing process 699 (QDBusConnection) with signal SIGKILL.
May 05 19:39:35 archlinux systemd[1]: sddm.service: Main process exited, code=killed, status=9/KILL
May 05 19:39:35 archlinux systemd[1]: sddm.service: Failed with result 'timeout'.
May 05 19:39:36 archlinux systemd[1]: Stopped Simple Desktop Display Manager.
May 05 19:39:36 archlinux systemd[1]: sddm.service: Consumed 2.424s CPU time.

here's full logs:
http://ix.io/4vjf
http://ix.io/4vjo

Last edited by apeiron (2023-05-06 07:48:55)

Offline

#4 2023-05-06 08:43:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: [SOLVED!]Slow shutdown problems!

Just a guess, but you probably don't have a static hostname (hostnamectl) => fix that and see whether it helps.
Do you get the same behavior if you first log out of KDE and then shut down from SDDM?

Offline

#5 2023-05-11 06:09:44

apeiron
Member
Registered: 2022-09-14
Posts: 23

Re: [SOLVED!]Slow shutdown problems!

changed static host name and logged out from kde, but didn't solved the problem.

Offline

#6 2023-05-11 07:14:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: [SOLVED!]Slow shutdown problems!

Please post the journal that has the shutdown from SDDM (instead from KDE)

Offline

#7 2023-05-16 10:37:14

apeiron
Member
Registered: 2022-09-14
Posts: 23

Re: [SOLVED!]Slow shutdown problems!

Thanks for the help!
Three Fixes:
1. Set the default timeout very low for the SDDM
2. Use x11 instead of wayland
3. Download SDDM-git from AUR

Offline

Board footer

Powered by FluxBB