You are not logged in.

#1 2023-02-14 15:48:38

damax
Member
Registered: 2023-02-14
Posts: 11

Long reboot/shutdown times on KDE

Reboot command from terminal takes several minutes (between 3 and 10 I would say) to shutdown and reboot.

sudo reboot is instant, as well as logging out and shutting down from sddm, which leads me to believe there's a process hanging for kde

Kernel 6.1.11-arch1-1
KDE Plasma Version 5.26.5

journalctl

Offline

#2 2023-02-14 16:32:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,139

Re: Long reboot/shutdown times on KDE

There's a bug in sddm where it can not receive the signal to quit properly. Should be fixed upstream, consider sddm-git.

Also a whole bunch of nvidia-open crashes, test normal nvidia.

Offline

#3 2023-02-14 16:37:30

damax
Member
Registered: 2023-02-14
Posts: 11

Re: Long reboot/shutdown times on KDE

V1del wrote:

There's a bug in sddm where it can not receive the signal to quit properly. Should be fixed upstream, consider sddm-git.

Also a whole bunch of nvidia-open crashes, test normal nvidia.

Thanks for the tip about sddm, are there any chances that it will be fixed? As I wouldn't want to keep using -git for long (I will check to see if using it fixes the problem).
Also, thanks about the nvidia-open. I do have problems with sleep and sometimes gpu falling off the bus.
I tried using open dkms because of the problem that normal nvidia drivers have with 12th gen Intel, and I kind of didn't want to disable Indirect Branch Tracking for the drivers to work, I will do it now, as it seems it's deemed as safe, until it's fixed.

Last edited by damax (2023-02-14 16:37:46)

Offline

#4 2023-02-14 16:39:47

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: Long reboot/shutdown times on KDE

You need somebody more knowledgeable than me for this, but starting from the reboot message at 14:26:37 and summing the time elapsed between the previous log entry to the lines containing the text "Timeout waiting for RPC from GSP" gives 3 minutes and 42 seconds.

E. g. the time between these two entries...

Feb 14 14:26:42 archie sddm[658]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{2635a579-aa06-4d98-baf2-19473a58161d} -noreset -displayfd 18
Feb 14 14:26:44 archie kernel: NVRM: Xid (PCI:0000:03:00): 119, pid=1144, name=Xorg, Timeout waiting for RPC from GSP! Expected function 10 (FREE) (0xbeef0202 0x0).

...is 2 seconds.

This may be related:
https://github.com/NVIDIA/open-gpu-kern … issues/446

Edit: Uh, I'm too slow :-)

Last edited by Ferdinand (2023-02-14 16:40:46)

Offline

#5 2023-02-14 16:42:25

damax
Member
Registered: 2023-02-14
Posts: 11

Re: Long reboot/shutdown times on KDE

Ferdinand wrote:

You need somebody more knowledgeable than me for this, but starting from the reboot message at 14:26:37 and summing the time elapsed between the previous log entry to the lines containing the text "Timeout waiting for RPC from GSP" gives 3 minutes and 42 seconds.

E. g. the time between these two entries...

Feb 14 14:26:42 archie sddm[658]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{2635a579-aa06-4d98-baf2-19473a58161d} -noreset -displayfd 18
Feb 14 14:26:44 archie kernel: NVRM: Xid (PCI:0000:03:00): 119, pid=1144, name=Xorg, Timeout waiting for RPC from GSP! Expected function 10 (FREE) (0xbeef0202 0x0).

...is 2 seconds.

This may be related:
https://github.com/NVIDIA/open-gpu-kern … issues/446

Edit: Uh, I'm too slow :-)

No problem, you just gave me some more drive to switch to nvidia proprietary and make it work with

ibt=off

To completely uninstall and remove the nvidia-open-dkms do I need to do something on modprobe? Is -Rns enough?

Last edited by damax (2023-02-14 16:42:38)

Offline

#6 2023-02-14 17:02:49

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: Long reboot/shutdown times on KDE

I have little experience with NVIDIA, but from the NVIDIA install info in the Wiki, I can't see anything special, except for what is mentioned in the referenced Dynamic Kernel Module Support#Installation, under section 3, if you did that. So, yes, I'd say pacman -Rn nvidia-open-dkms is enough. Me being to wimpy to use -s :-)

Offline

#7 2023-02-14 17:07:16

damax
Member
Registered: 2023-02-14
Posts: 11

Re: Long reboot/shutdown times on KDE

Ferdinand wrote:

I have little experience with NVIDIA, but from the NVIDIA install info in the Wiki, I can't see anything special, except for what is mentioned in the referenced Dynamic Kernel Module Support#Installation, under section 3, if you did that. So, yes, I'd say pacman -Rn nvidia-open-dkms is enough. Me being to wimpy to use -s :-)

Makes much sense, thanks. Done everything and added the ibt off parameter to grub. Used -s because there really wasn't much else. Will be looking into sddm git in the meantime, as well as the aforementioned quit signal problem.

Edit: I'm confirming that sddm-git from the AUR fixes the problem. Will have it until upstream sddm releases 0.20 which I would assume will fix the problem.

Last edited by damax (2023-02-17 00:18:17)

Offline

#8 2023-02-14 17:32:41

damax
Member
Registered: 2023-02-14
Posts: 11

Re: Long reboot/shutdown times on KDE

damax wrote:
Ferdinand wrote:

I have little experience with NVIDIA, but from the NVIDIA install info in the Wiki, I can't see anything special, except for what is mentioned in the referenced Dynamic Kernel Module Support#Installation, under section 3, if you did that. So, yes, I'd say pacman -Rn nvidia-open-dkms is enough. Me being to wimpy to use -s :-)

Makes much sense, thanks. Done everything and added the ibt off parameter to grub. Used -s because there really wasn't much else. Will be looking into sddm git in the meantime, as well as the aforementioned quit signal problem.

Edit: I'm confirming that sddm-git from the AUR fixes the problem. Will leave open the thread (?) until upstream sddm releases 0.20 which I would assume will fix the problem.

Just to add more to the sddm deal: it also fixed a waking up problem I had with modern standby, which seems like now is working flawlessly, thanks everyone big_smile

Last edited by damax (2023-02-14 21:40:59)

Offline

#9 2023-02-14 20:49:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,139

Re: Long reboot/shutdown times on KDE

I'd consider that unlikely SDDM should have little relevance during the sleeping/waking up process.

Offline

#10 2023-02-14 21:40:20

damax
Member
Registered: 2023-02-14
Posts: 11

Re: Long reboot/shutdown times on KDE

V1del wrote:

I'd consider that unlikely SDDM should have little relevance during the sleeping/waking up process.

I might actually be going wrong about that then. Maybe it was the mentioned nvidia gpu error messages for sleeping state. Unfortunately, I wasn't wise enough to test the two things (sddm vs -git and nvidia-open vs proprietary) separately for suspend/sleep.

Offline

Board footer

Powered by FluxBB