You are not logged in.

#1 2024-04-12 05:29:47

Khoinm05
Member
Registered: 2024-04-12
Posts: 4

[SOLVED] My laptop takes too long to shutdown

I use Arch with Gnome 46, whenever I turn off my laptop(Legion 5 with i5 12500H and Nvidia RTX 3060 Mobile) , it takes nearly 2 minutes to completely shutdown. Anyone can help me pls?
https://i.ibb.co/gJszR2w/fb9e5b51bd15134b4a04.jpg
https://i.ibb.co/BncBYbk/e490ff5c1918b746ee09.jpg
redacted

Mod Note: Replaced oversized images with links and redacted stray link.

Last edited by Khoinm05 (2024-04-12 10:16:09)

Offline

#2 2024-04-12 08:02:42

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: [SOLVED] My laptop takes too long to shutdown

Please replace the oversized images w/ links/thumbnails - do you have the error messages in the journal of the previous boot?

sudo journalctl -b -1
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st # this will ost the journal to 0x0.st

nouveau crashes, there's https://bbs.archlinux.org/viewtopic.php?id=293400 - but while that's on nvidia there nvkm_uvmm in your backtrace and I'd like to see whether the cgroupfs and systemd are around here as well.

Offline

#3 2024-04-12 08:27:53

Khoinm05
Member
Registered: 2024-04-12
Posts: 4

Re: [SOLVED] My laptop takes too long to shutdown

This is my journal https://0x0.st/X-Bz.txt . I  have tried disabling sddm and switching to gdm then it shutdown quickly but when i log in from gdm my screen froze for a while, i dont know why?

Offline

#4 2024-04-12 08:39:12

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: [SOLVED] My laptop takes too long to shutdown

All ther errros are in the Xorg process (GDM defaults to wayland, SDDM to X11)
Do you have xf86-video-nouveau installed? (probably don't)

Ftr, it's a hybrid graphics system and all outputs are attached to the intel chip.
You're also running gnome on X11 as desktop session.

Offline

#5 2024-04-12 08:52:28

Khoinm05
Member
Registered: 2024-04-12
Posts: 4

Re: [SOLVED] My laptop takes too long to shutdown

Thank you sir, im using gnome by Xorg , after I install that package and switch back to sddm, the issue is still there. What should i do right now ?

Offline

#6 2024-04-12 09:05:14

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: [SOLVED] My laptop takes too long to shutdown

Stop sir'ing me and please remove xf86-video-nouveau again.

nouveau actually for the first time crashes right after the session starts

Apr 12 15:16:20 khoi kernel:  ? exc_invalid_op+0x17/0x70
Apr 12 15:16:20 khoi kernel:  ? asm_exc_invalid_op+0x1a/0x20
Apr 12 15:16:20 khoi kernel:  ? r535_gsp_fini+0x33b/0x350 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nvkm_subdev_fini+0x67/0x150 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nvkm_device_fini+0x95/0x1e0 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nvkm_udevice_fini+0x53/0x70 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nvkm_object_fini+0xb9/0x240 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nvkm_object_fini+0x75/0x240 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nouveau_do_suspend+0x104/0x280 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  nouveau_pmops_runtime_suspend+0x3e/0xb0 [nouveau fd5097764bb8d1aed66f03af125a54c565211003]
Apr 12 15:16:20 khoi kernel:  pci_pm_runtime_suspend+0x67/0x1e0

You can try to add "nouveau.runpm=0" to the https://wiki.archlinux.org/title/Kernel_parameters but that will increase battery consumption.
Alternatively you can try the binary nvidia driver, https://wiki.archlinux.org/title/NVIDIA#Installation (pay close attention to step #5) w/ the caveat of the previously linked thread or https://archlinux.org/packages/?name=nvidia-open (along nvidia-utils)
Usually the binary driver would be a strong advice but the 550xx situation can cause hard crashes when systemd gets updated hmm

I assume you're trying to shut down the system from gnome?
What if you first log out and then shut down from SDDM?

Offline

#7 2024-04-12 09:47:55

Khoinm05
Member
Registered: 2024-04-12
Posts: 4

Re: [SOLVED] My laptop takes too long to shutdown

Thank you, it works. That's my mistake when I use archinstall , i forgot to change my profile as nvidia user so system installed open source driver instead. Appreciate much!!

Offline

#8 2024-04-12 10:14:15

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: [SOLVED] My laptop takes too long to shutdown

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB