Computer keeps restarting every 12 to 24 hours

The title says most of it, it restarts while im using a browser or anything else or if im outside of the computer. i assumed this was an issue with the kernel and tried to switch from linux-zen to normal linux kernel but it wasnt starting if i did that

Kernel: 5.18.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f127bcba-89dc-4844-ad74-5c9239f5e212 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K/BR v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 5604
date: 10/26/2020
CPU:
Info: model: AMD Ryzen 3 1300X bits: 64 type: MCP arch: Zen built: 2017-19
process: GF 14nm family: 0x17 (23) model-id: 1 stepping: 1
microcode: 0x8001138
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 1493 high: 1647 min/max: 1550/3500 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1373 2: 1375
3: 1579 4: 1647 bogomips: 27943
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: ASUSTeK driver: nvidia
v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Pascal process: TSMC 16nm
built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.0
chip-ID: 10de:1c81 class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
s-diag: 610mm (24")
Monitor-1: DP-0 res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
v: 4.6.0 NVIDIA 515.48.07 direct render: Yes
Audio:
Device-1: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 07:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.3
chip-ID: 1022:1457 class-ID: 0403
Sound Server-1: ALSA v: k5.18.7-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: PulseAudio v: 16.1 running: no
Sound Server-4: PipeWire v: 0.3.52 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: 05:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Broadcom Bluetooth Controller type: USB driver: btusb v: 0.8
bus-ID: 1-3:2 chip-ID: 0a5c:2045 class-ID: fe01 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 1.35 TiB used: 82.36 GiB (6.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD110
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: A8J0
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37 480GB
size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 0326 scheme: GPT
Partition:
ID-1: / raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
used: 82.36 GiB (18.4%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
used: 82.36 GiB (18.4%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
used: 82.36 GiB (18.4%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
used: 82.36 GiB (18.4%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.69 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 43 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 29%
Info:
Processes: 239 Uptime: 17m wakeups: 0 Memory: 7.69 GiB
used: 2.58 GiB (33.6%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 Packages: pacman: 1330 lib: 322
Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-06-30
Last full system update: 2022-07-11
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

Hi there, welcome to the forum!
I edited your post for readability, I hope you don't mind.
I just wanted to let you know that there was a recent long thread on a similar problem and similar platform, unfortunately with no solution so far. But you may want to give a look at it:

The main tutorial for this kind of problems is here:

BIOS update should be your next step.
It seems to me that there is new version here (please recheck):

Checking the other similar thread, I also found an old and still open kernel bug report. A few of those users managed to fix it with a BIOS update. Unfortunately not the user above:
https://bugzilla.kernel.org/show_bug.cgi?id=206903
Be strong and good luck! Often these problems require a lot of dedication, but taking them the right way gives more satisfaction and makes you learn a lot.

5 Likes

i forgot to say but it started happening after i switched to garuda

That is a peculiar result. Did you install the headers?

2 Likes

Do you use “Advanced” in grub?

1 Like

As in filo's first link, first generation Ryzens tend to have c-state issues... although they usually cause freezes instead of restarts. In any case, I would try the LTS kernel. One of my machines that has a Ryzen 7 1700 CPU runs much more reliably on LTS kernel compared to either the mainline or zen.

2 Likes

i installed the lts kernel from one of the default software that comes with garuda but as you probably know it just stays on a screen saying its loading the kernel. im launching it on the advanced settings thing that appears when the computers turned on

Try to install with the command line, like so:

garuda-update

Then:

sudo pacman -S linux linux-headers
3 Likes

well i managed to switch to the normal linux kernel except it says linux twice. ill post if its solved the problem

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