Doesn't shutdown or shutdown partially

Hello!

I've had shutdown issues and have been trying to manage since installation, even had installed it a second time previously (it's my only OS).
The issues are:

  • Shutdown partially (turns off screen after some minutes, but mouse, keyboard, fan and motherboard keeps the lights on and running)
  • Doesn't shutdown at all (stay hours on shutdown screen and most of the times pressing ESC doesn't change the screen to the one with text lines)
  • Freeze upon shutdown desktop button press (sometimes I can't even access CTRL ALT F3)

I've tried (based on wiki search):

  • shutdown now (when I am able to open CTRL ALT F3, but only works sometimes or leads to the first 2 scenarios)
  • Checked if motherboard BIOS is up to date (which is)
  • systemctl poweroff (a few days ago, guess it's the one that worked quickly)
  • journalctl -rb -1 (but there are many lines and I don't know what to look for)
  • updated grub (just now as I'm writing this, my last try)

My system is updated as I run garuda-update or sudo pacman -Syu at least every 2 days.
Both linux-lts and linux-zen headers are installed
My garuda-inxi showed no failed units, but it has showed THIS time.

System:
Kernel: 6.2.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a9d15fed-7fba-4fdf-81f6-51262dbc5609 rw single
rootflags=subvol=@
Desktop: KDE Plasma v: 5.27.2 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: PRIME B450M-K II v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 3802
date: 04/28/2022
CPU:
Info: model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000D
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1624 high: 3900 min/max: 1400/4464 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3900 2: 1400
3: 1400 4: 1400 5: 1400 6: 1593 7: 1400 8: 1400 9: 1400 10: 1400 11: 1400
12: 1400 bogomips: 93428
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: DP-1
empty: DVI-D-1,HDMI-A-1 bus-ID: 08:00.0 chip-ID: 1002:1638 class-ID: 0300
temp: 23.0 C
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: DP-1 mapped: DisplayPort-0 model: Asus VE228 serial: <filter>
built: 2012 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.2.1-zen1-1-zen) direct-render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 08:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK PRIME B450M-A
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 08:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound API: ALSA v: k6.2.1-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp7s0 state: down mac: <filter>
Device-2: Realtek RTL8192EU 802.11b/g/n WLAN Adapter type: USB
driver: rtl8192eu bus-ID: 5-6:3 chip-ID: 0bda:818b class-ID: 0000
serial: <filter>
IF: wlp1s0f0u6 state: down mac: <filter>
IF-ID-1: enp8s0f3u1 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
Device-1: MediaTek WP6 type: USB driver: rndis_host v: kernel bus-ID: 3-1:3
chip-ID: 0e8d:2004 class-ID: 0a00 serial: <filter>
Report: bt-service: enabled,stopped note: tool can't run
Drives:
Local Storage: total: 238.47 GiB used: 31.23 GiB (13.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Intenso model: N/A size: 238.47 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 4A0 scheme: GPT
Partition:
ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.23 GiB (13.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.23 GiB (13.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.23 GiB (13.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.23 GiB (13.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 14.92 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 25.5 C mobo: N/A gpu: amdgpu temp: 23.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 290 Uptime: 25m wakeups: 0 Memory: 14.92 GiB
used: 2.54 GiB (17.0%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1270
libs: 348 tools: octopi,paru,trizen Shell: fish v: 3.6.0 default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.25
Garuda (2.6.15-1):
System install date:     2023-02-15
Last full system update: 2023-02-28 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager mkinitcpio
Windows dual boot:       No/Undetected
Failed units:            plymouth-deactivate.service

The output of my systemd-analyze blame

480ms grub-btrfs-snapper.service
432ms dev-sda2.device
429ms linux-modules-cleanup.service
370ms updatedb.service
153ms systemd-oomd.service
134ms systemd-udev-trigger.service
123ms avahi-daemon.service
121ms polkit.service
120ms power-profiles-daemon.service
120ms systemd-remount-fs.service
111ms systemd-modules-load.service
108ms [email protected]
105ms ModemManager.service
90ms lvm2-monitor.service
86ms systemd-vconsole-setup.service
79ms garuda-pacman-snapshot-reject.service
71ms systemd-tmpfiles-setup-dev.service
67ms garuda-pacman-lock.service
63ms [email protected]
63ms systemd-journal-flush.service
61ms systemd-fsck@dev-disk-by\x2duuid-B8F6\x2d6526.service
58ms [email protected]
58ms [email protected]
55ms systemd-tmpfiles-setup.service
50ms [email protected]
49ms home.mount
49ms dev-zram0.swap
47ms systemd-journald.service
47ms systemd-logind.service
45ms plymouth-quit.service
45ms NetworkManager.service
43ms systemd-random-seed.service
42ms upower.service
41ms plymouth-start.service
40ms root.mount
36ms udisks2.service
36ms systemd-user-sessions.service
32ms wpa_supplicant.service
30ms systemd-udevd.service
29ms rtkit-daemon.service
26ms plymouth-read-write.service
26ms dbus.service
25ms [email protected]
22ms systemd-timesyncd.service
22ms srv.mount
21ms systemd-update-utmp.service
20ms plymouth-deactivate.service
19ms systemd-sysctl.service
18ms var-cache.mount
18ms plymouth-quit-wait.service
18ms systemd-tmpfiles-clean.service
16ms modprobe@dm_mod.service
16ms var-log.mount
15ms kmod-static-nodes.service
11ms var-tmp.mount
10ms boot-efi.mount
8ms [email protected]
8ms dev-hugepages.mount
8ms dev-mqueue.mount
7ms sys-kernel-debug.mount
7ms sys-kernel-tracing.mount
5ms sys-fs-fuse-connections.mount
5ms sys-kernel-config.mount
4ms [email protected]
2ms systemd-rfkill.service
2ms tmp.mount

I'm sorry if I missed something, I'm a beginner. Thanks in advance

It appears you are booting into single-user mode, which is sort of a rescue mode typically used for troubleshooting or server maintenance. Do you have the same issue if you boot with the normal options?

It looks like you have taken off the quiet splash kernel parameters, but still have Plymouth running. Are you trying to get rid of Plymouth, or have you removed the quiet splash parameters for troubleshooting?

If the latter, what is the systemd output the shutdown hangs on?

Have you tried switching from Plymouth to plymouth-git (or vice-versa)?

2 Likes

Hi.
I booted in recovery mode only that time, the issues happens when I boot in the normal Garuda Linux option. Idk if it happens in recovery mode too because I did logout and turned off with poweroff last time.

I did a little search and it seems plymouth is what shows the splash screen on login, right?
The animations still show and I did not touch plymouth or quiet splash, at least intentionally, and don't know what might have caused it to fail.

Hmm, that’s interesting. Maybe your single-user mode doesn’t have those kernel parameters added. Can you boot to your regular boot option and post the garuda-inxi from there?

Plymouth may be a red herring, but just in case you can test if removing the splash kernel parameter changes the issue with the shutdown hanging as in this thread:

Have you had a chance to change Plymouth versions to test? It’s been a while, but a few months back a version of Plymouth was causing issues and switching from the git to the “regular” version solved the problem, see this thread here:

Like I said though, Plymouth could be a red herring. If you remove the quiet splash from your kernel parameters (you can do this right in the Garuda Boot Options tool) you should see the actual journal output on the screen while shutting down–this could point to a clue, if you can make note of the process it is getting stuck on.

SDDM is notorious for holding up a shutdown, although in your case it sounds like it is freezing (as opposed to just taking a while). :thinking:

3 Likes

Hello.
I did replace plymouth-git for plymouth as indicated and removed quiet quiet splash.
It was really hard to boot normally (konsole wouldn't show the line to type and anything would take several minutes to open, as well as running into the shutdown problem)
I'll now try to reboot now, but leaving this message from my garuda-inxi from normal boot in case I am not able to boot in normally again and need to enter recovery.

╰─λ garuda-inxi
System:
Kernel: 6.2.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a9d15fed-7fba-4fdf-81f6-51262dbc5609 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.2 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: PRIME B450M-K II v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 3802
date: 04/28/2022
CPU:
Info: model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000D
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1873 high: 3900 min/max: 1400/4464 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2993 2: 1400
3: 1400 4: 1400 5: 1400 6: 1400 7: 2990 8: 3900 9: 1400 10: 1400 11: 1400
12: 1400 bogomips: 93417
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: DP-1
empty: DVI-D-1,HDMI-A-1 bus-ID: 08:00.0 chip-ID: 1002:1638 class-ID: 0300
temp: 23.0 C
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: DP-1 mapped: DisplayPort-0 model: Asus VE228 serial: <filter>
built: 2012 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.2.1-zen1-1-zen) direct-render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 08:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK PRIME B450M-A
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 08:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound API: ALSA v: k6.2.1-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp7s0 state: down mac: <filter>
Device-2: Realtek RTL8192EU 802.11b/g/n WLAN Adapter type: USB
driver: rtl8192eu bus-ID: 2-6:3 chip-ID: 0bda:818b class-ID: 0000
serial: <filter>
IF: wlp1s0f0u6 state: up mac: <filter>
Drives:
Local Storage: total: 238.47 GiB used: 31.57 GiB (13.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Intenso model: N/A size: 238.47 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 4A0 scheme: GPT
Partition:
ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.56 GiB (13.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.56 GiB (13.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.56 GiB (13.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 31.56 GiB (13.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 14.92 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 27.6 C mobo: N/A gpu: amdgpu temp: 24.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 313 Uptime: 33m wakeups: 0 Memory: 14.92 GiB
used: 2.78 GiB (18.6%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1270
libs: 348 tools: octopi,paru,trizen Shell: fish v: 3.6.0 default: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.25
Garuda (2.6.15-1):
System install date:     2023-02-15
Last full system update: 2023-03-03 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager mkinitcpio
Windows dual boot:       No/Undetected
Failed units:

I'll reply soon if it's solved!

Update:
I still run into the problem.
I would like to keep trying, but the current situation is forcing me to use the turn off case button too much and I worry about the PC parts integrity.
I'm proceeding to install Arch Linux instead.

Thank you for the time and effort you put on helping me with this situation anyway :slight_smile:

No hard feelings @Riberack, if you think of it be sure to circle back and let us know if the Arch install resolves your issue.

1 Like

Maybe it would work to reboot using the REISUB command?
There’s another name for that, it’s kernel-based, the sysRQ I think?
Magic SysRq key - Wikipedia

3 Likes

Oh, thank you so much for that, surely will be useful in the future!

1 Like

Hi!
I tested a few distros yesterday and today, like Mint Cinnamon, endeavours, archlinux and Ubuntu.
But no OS fulfills my heart like Garuda did. I downloaded Garuda Dragonized iso again and went back to installing, but ran into the issue once it was installed.
So instead I decided to try other "flavours".
I installed Garuda LXQT-Kwin and everything seems to be running fine.
I miss the network management interface of the Dragonized version, where you could see the strength of the connection and easily set up the Mac address if needed, but I'm really happy to have Garuda again, even in another flavour.

I think Dragonized possibly wasn't the right one for my hardware. I didn't not choose the gaming edition, but my GPU is integrated (I have a Ryzen 5 5600G), which I thought would be no problem as I don't play any games nor do media work (although I had VS Code installed for programming/web dev, I haven't even opened it).

Seems everything is solved. I accept and appreciate recommendations in regard of the network interface, tho with my little Linux knowledge Idk if it can be changed :slight_smile:

That's good to know!
If you ever have time, you could try Garuda KDE-Lite, install the Dr460nized Global Theme and install your needed packages. Maybe starting from a leaner ISO would help too and in this case you'd get the full Dr460nized experience. :smiley:

3 Likes

That's awesome!
I'll keep that in mind to try on my free time!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.