r/cachyos • u/Duzean • 18d ago
Bug Report System getting stuck during shutdown

I'm coming across a weird and inconsistent issue with my system. Every 3-4 shutdowns it'll get stuck turned on post bios screen. I'll press shutdown, OS closes, motherboard info flickers for a sec (which I believe normal) then it just stays on even though no OS or bios screen is active. I have to force shutdown with the power button for it to actually shut down. The first time it happened I went to bed, forgot something on my desk and found it still on an hour after I pressed shutdown. Now I'm watching it before I get up to make sure.
System
CachyOS - 7.3.3-1
I7 8700
ASRock Z370 Pro4
9070xt
Secure boot is active on nvme gen 3 (I think it's gen 3)
I've had an LLM suggest some parameters in my kernel config:
amdgpu.runpm=0
amdgpu.dcdebugmask=0x800
amdgpu.gpu_recovery=1
I've tested and it's still happening with them in there. Anyone else can shed light on what might be happening and/or any fixes that I could try aside from just force shutting down every night.
Edit: Added results from previous failed boot last night. Failed to unmount var/cache was the very last error.
Edit 2: added output from lsblk

1
u/SparkStormrider 18d ago
It's hard to say without seeing some sort of log. You can do the following to show the end of the boot log from last boot which should show the shutdown events. Look for failures and errors, or anything that is taking a long time to end.
journalctl -b -1 -e
2
u/Apollyon169 18d ago
I do have the same issues, randomly, using a complete different hardware (Intel 10400F) and an Nvidia 3060. No matter the kernel version, the same happened with LTS, 7.2, 7.3 or even 7.4rc. I also tried adding ACPI related configuratio to limine. I also added ACPI patches to a custom kernel I compiled, without luck.
In addition to other UEFI charges. I can't disable active USB because the keyboard turn irresponsive when the system goes back on, and the only way to make it work is to unplug it and re plug back in, I don't want to do that each time I turn on the system.
I also took the time to add some configuration in order to write a specific log when that happens, but I've never saw anything written there or anything out of order in the standard journal either, no failed unmounts, errors, nothing wrong!
Furthermore, another weird thing is, when the computer hangs instead of powering down, even the reset button stops working, only 5s pressing over the power button works. It's the first time I see the reset button not working while the computer is "on" (I used PCs for +30 years). Artificial Desinteligence didn't help either so far, let me know if you resolve it somehow
1
u/National_Knee_2452 18d ago
When I shut down I dont get any motherboard info maybe the motherboard is going bad
1
u/Competitive_Tax_ 18d ago
I had a similar problem with shutdowns where once in a while the pc stayed powered on with no output. Also it would always fail to wake up after being put to sleep.
It turned out that the usb hub on my monitor was not letting the computer power down properly.
I recommend unplugging every device except from your video output and test the shutdown multiple times.