You are not logged in.

#1 2024-08-13 20:34:44

glukas
Member
Registered: 2024-08-13
Posts: 2

PC Randomly Turns Off

Since past week my system randomly turn itself off. I'm unable to trace the reason, it doesn't seems to be hardware related, temps are fine and it also happen at idle state. I'm not sure if something is triggering ACPI events or no.

Any ideas on how could I trace this back? Thanks!

Desktop:
      KDE Plasma v: 6.1.4
Hardware description:
      CPU: AMD Ryzen 9 7950X 16-Core Processor
      GPU: 0e:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1)
      System Memory: 32GiB     
System information:       
      Distro name and Version: Arch Linux       
      Kernel version: Linux colorless 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux

Logs:
      journalctl -o
      journalctl full
      last -x
      dmesg

Offline

#2 2024-08-13 22:55:13

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

Offline

#3 2024-08-14 02:05:01

Birkov
Member
Registered: 2011-10-26
Posts: 27

Re: PC Randomly Turns Off

When a PC randomly shuts down, I advise against running:
# pacman -Syu
because when your PC shuts down before the update is completed, you might not be able to boot.

If you haven't already, make a backup:
https://wiki.archlinux.org/title/Synchr … p_programs

To see if it's an Arch problem, you can download a live Linux ISO and 'dd' it to an USB drive. Preferably a distro that has older versions of what is installed on your PC.
Boot from the Live USB, check your logs for the errors you have with Arch and see if your PC shuts down
or not.
When your PC randomly shuts down when booted from the Live USB, you probably have a hardware problem.

If your PC doesn't have a problem with the Live USB, you can try running Arch with an other kernel, for example the linux-lts kernel.
https://wiki.archlinux.org/title/Kernel
(At this point of time, we don't care about kernel panics, we just want a working system)

AFTER you installed an other kernel, you can downgrade your kernel to a version that you had before the problem started.
(when your PC shuts down while installing this kernel, you can still boot with the linux-lts kernel or whatever kernel you installed in the previous step)
You can downgrade the linux package with the downgrade script from the AUR:
https://aur.archlinux.org/packages/downgrade
And see if the errors disappeared.

If your PC still randomly shuts down, you might have a hardware problem.
I see NVME, GPU, hub and timing errors in your journalctl and I agree that it would not be logical for these unrelated things to have problems at the same time (unless you have a faulty PSU)

Run your error messages through ChatGPT (chat from duckduckgo is free and honors your privacy)
Don't believe everything ChatGPT tells you and check Arch Wiki and other sources before running your diagnostics.

If your motherboard is clean and all your hardware diagnosed OK, and you still have random shutdowns, you can start investigating your PSU.
Last time I did a stress test, my PC produced 'magic smoke' so I think buying a PSU tester or bringing your PC to a shop is safer than running stress test software.
When you are handy, you can open the PSU to see if you can spot a faulty (swollen) capacitor.

Hope this somehow helps you solve your problem.
Good luck !

Offline

#4 2024-08-14 07:03:07

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

Re: PC Randomly Turns Off

@Birkov, click the link in #2 - there's an ongoing regression triggering this and the OPs HW fits perfectly.

Offline

#5 2024-08-16 13:18:16

glukas
Member
Registered: 2024-08-13
Posts: 2

Re: PC Randomly Turns Off

As in #2 my system seems to be stable since mesa update (mesa 1:24.1.5-2 -> 1:24.1.6-1). When linux-firmware went from 20240703.e94a2a3b-1 to 20240809.59460076-1 I noticed a few random shutdown. I'll check how this situation goes with linux 6.10.5.

Offline

Board footer

Powered by FluxBB