You are not logged in.

#1 2026-11-27 18:21:39

rebornKidz
Member
From: Jakarta
Registered: 2015-07-09
Posts: 71
Website

Ryzen random restart when play game

السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
"May the peace, mercy, and blessings of Allah be uhttps://aur.archlinux.org/obs-move-transition.gitpon you"


I got a random restart recently, and was using Hyprland. I got 4 random restarts now, the oldest I encountered, which was also the first. I do dual display, doing an OBS stream and playing dotA.

The rest happen when doing dotA too, still with dual display.
My first assumption was critical temp on my GPU, but somehow I'm less sure now.

My arch:
OS: Arch Linux x86_64
Kernel: Linux 6.18.60-1-lts
Uptime: 27 mins
Shell: bash 5.3.20
Display (QHD): 1600x2560 @ 2.55x in 16", 60 Hz [External]
Display (H24G30Q): 2560x1440 in 24", 165 Hz [External]
Window Manager: Hyprland 0.57.0 (Wayland)
CPU: AMD Ryzen 5 5600G (12) @ 4.46 GHz
GPU: AMD Radeon RX 6700 XT [Discrete]
Memory: 6.99 GiB / 31.21 GiB (22%)
Swap: Disabled


Below are the necessary logs :

Machine check event
lastx :

plasma   tty1                          Fri Nov 27 23:34   still logged in
reboot   system boot  6.18.60-1-lts    Fri Nov 27 23:34   still running
plasma   pts/2        :0               Fri Nov 27 21:20 - crash  (02:13)
plasma   tty1                          Fri Nov 27 20:07 - crash  (03:27)
reboot   system boot  6.18.60-1-lts    Fri Nov 27 20:07   still running
shutdown system down  6.18.60-1-lts    Fri Nov 27 07:52 - 20:07  (12:14)
plasma   tty1                          Fri Nov 27 00:39 - down   (07:12)
reboot   system boot  6.18.60-1-lts    Fri Nov 27 00:39 - 07:52  (07:13)
plasma   tty1                          Fri Nov 27 00:31 - crash  (00:08)
reboot   system boot  6.18.60-1-lts    Fri Nov 27 00:31 - crash  (00:08)

ls -la /sys/fs/pstore/
yield no crash files
near random restart log
filtered to critical log
all random restart log


Stay true, dont forget to smile.

Offline

#2 2026-11-27 22:04:30

xerxes_
Member
Registered: 2018-04-29
Posts: 1,079

Re: Ryzen random restart when play game

https://wiki.archlinux.org/title/Ryzen

Do you have ntfs-3g package installed?

You don't have any kernel boot parameters for amdgpu driver, like many amdgpu users. You didn't needed them so far?

Offline

#3 Yesterday 03:42:53

rebornKidz
Member
From: Jakarta
Registered: 2015-07-09
Posts: 71
Website

Re: Ryzen random restart when play game

ofc i have ntfs-3g 2026.9.28-1,
How typical kernel boot parameters for amdgpu driver looks like?
Back then, I think my Arch could use/utilize the GPU properly, so I don't think I need any.

journalctl -k --grep='microcode:'
Nov 28 05:09:17 narayana.search kernel: microcode: Current revision: 0x0a500012
Nov 28 05:09:17 narayana.search kernel: microcode: Updated early from: 0x0a50000c

Current /etc/default/grub had this option enabled:
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep


Stay true, dont forget to smile.

Offline

#4 Yesterday 09:30:03

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

Re: Ryzen random restart when play game

https://wiki.archlinux.org/title/Ryzen#Random_reboots - whether or not there're MCE messages *after* the reboot (not the journal of the crashing boot), check the entire ryzen/pbo situation

ofc i have ntfs-3g 2026.9.28-1,

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

And while it won't cause reboots, the drive at sda looks like it's dying.
https://wiki.archlinux.org/title/SMART

sudo smartctl -a /dev/sda

Offline

#5 Today 04:28:33

rebornKidz
Member
From: Jakarta
Registered: 2015-07-09
Posts: 71
Website

Re: Ryzen random restart when play game

I try the easy first,
it should done by excecute once right?

powercfg /H off

restart twice to make both OS back to normal state?

smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.18.60-1-lts] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ADATA SU750
Serial Number:    2L482LAJS4E2
LU WWN Device Id: 5 707c18 100b20e01
Firmware Version: XA004R24
User Capacity:    256,060,514,304 bytes [256 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic
Device is:        Not in smartctl database 7.5/5706
ATA Version is:   ACS-3, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Nov 29 10:58:53 2026 WIB
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    1) seconds.
Offline data collection
capabilities: 			(0x59) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0002)	Does not save SMART data before
					entering power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	(   1) minutes.
Extended self-test routine
recommended polling time: 	(   2) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   050    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       16
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       10787
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3064
160 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       16
161 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       99
163 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       37
164 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       335791
165 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       242
166 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       39
167 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       169
148 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1007373
149 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       726
150 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       118
151 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       508
159 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       726
169 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       95
177 Wear_Leveling_Count     0x0032   100   100   000    Old_age   Always       -       10400
181 Program_Fail_Cnt_Total  0x0032   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       76
194 Temperature_Celsius     0x0032   100   100   000    Old_age   Always       -       52
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
232 Available_Reservd_Space 0x0032   100   100   000    Old_age   Always       -       99
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       763735
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       1283047
245 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1459344

SMART Error Log Version: 1
Warning: ATA error count 283 inconsistent with error log index 5
ATA Error Count: 283 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 283 occurred at disk power-on lifetime: 10787 hours (449 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 78 e8 56 b2 40  Error: UNC at LBA = 0x00b256e8 = 11687656

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 78 e8 56 b2 40 08      10:24:32.021  READ FPDMA QUEUED
  60 08 70 e0 56 b2 40 08      10:24:31.970  READ FPDMA QUEUED
  60 08 68 d8 56 b2 40 08      10:24:31.970  READ FPDMA QUEUED
  60 08 b8 a8 f2 bb 40 08      10:24:31.970  READ FPDMA QUEUED
  60 08 60 d0 56 b2 40 08      10:24:31.970  READ FPDMA QUEUED

Error 282 occurred at disk power-on lifetime: 10787 hours (449 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 88 b8 24 cf 40  Error: UNC at LBA = 0x00cf24b8 = 13575352

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 88 b8 24 cf 40 08      10:24:31.819  READ FPDMA QUEUED
  60 08 38 b8 56 b2 40 08      10:24:31.768  READ FPDMA QUEUED
  60 08 80 b0 24 cf 40 08      10:24:31.768  READ FPDMA QUEUED
  60 08 30 b0 56 b2 40 08      10:24:31.768  READ FPDMA QUEUED
  60 08 78 a8 24 cf 40 08      10:24:31.768  READ FPDMA QUEUED

Error 281 occurred at disk power-on lifetime: 10787 hours (449 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 38 20 24 cf 40  Error: UNC at LBA = 0x00cf2420 = 13575200

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 e0 38 20 24 cf 40 08      10:24:31.619  READ FPDMA QUEUED
  60 08 20 20 56 b2 40 08      10:24:31.526  READ FPDMA QUEUED
  2f 00 01 30 08 00 a0 08      10:24:31.526  READ LOG EXT
  2f 00 01 30 00 00 a0 08      10:24:31.521  READ LOG EXT
  2f 00 01 00 00 00 a0 08      10:24:31.517  READ LOG EXT

Error 280 occurred at disk power-on lifetime: 10787 hours (449 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 f0 20 56 b2 40  Error: UNC at LBA = 0x00b25620 = 11687456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 d8 f0 20 56 b2 40 08      10:24:31.418  READ FPDMA QUEUED
  60 00 48 e0 28 03 40 08      10:24:31.295  READ FPDMA QUEUED
  60 00 80 e0 58 b2 40 08      10:24:31.294  READ FPDMA QUEUED
  60 e0 d8 20 54 b2 40 08      10:24:31.294  READ FPDMA QUEUED
  60 60 40 80 28 03 40 08      10:24:31.293  READ FPDMA QUEUED

Error 279 occurred at disk power-on lifetime: 10787 hours (449 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 70 e8 56 b2 40  Error: UNC at LBA = 0x00b256e8 = 11687656

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 70 e8 56 b2 40 08      10:24:28.554  READ FPDMA QUEUED
  60 08 68 e0 56 b2 40 08      10:24:28.467  READ FPDMA QUEUED
  60 08 60 d8 56 b2 40 08      10:24:28.467  READ FPDMA QUEUED
  60 08 58 d0 56 b2 40 08      10:24:28.467  READ FPDMA QUEUED
  60 08 50 c8 56 b2 40 08      10:24:28.467  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

I think I will provide the ryzen/pbo situation, as I can. Kindly remind and yell at me solemnly when I do it the wrong way.

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate-epp
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave

Now I realize I missed the tools for Power management, undervolting, and overclocking.
I will bring zenpower5-dkms zenmonitor3-git to my party.
I am tempted to update the UEFI and then apply the PBO+4 curve (even though I don't know how yet).
At this stage, I really need advice, I just afraid make bad configuration then make the matter even worse.


Stay true, dont forget to smile.

Offline

Board footer

Powered by FluxBB