I have the same issue. I upgraded from a Ryzen 2700(x?) to a Ryzen 5800X. I had 2x8gb ram @ 2666 mhz. Then while playing certain games, the PC would just randomly power off. It took LOTS of trouble shooting till I found out that the ram speed was causing it.
I could easily reproduce the issue by running MemTestX86.
I purchased a new ram kit 2x16 @ 3200 and saw no improvement in speed/stability
The only way to make MemTestX86 not result in a poweroff was to set the ram to 1866mhz.
Whats interesting about this post, my motherboard is nearly identical: ASRock A320M-HDV R4.0
When upgrading the CPU, I first had to upgrade the bios, so they both happened essentially at the same time. Old CPU was sold on Ebay.
Through MemTestX86 tests I see the following:
2x16gb @2400mhz+ shuts down in less than a minute
2x16gb @2133mhz shuts down in about 10 minutes
2x16gb @1866mhz doesn't shut down
1x16gb @3200mhz doesn't shut down
So I can either do single stick of ram @ 3200mhz or 2 sticks @ 1866mhz (2 @ 1866mhz is better and I need 32gb ram anyway)
I've tried enabling/disabling XMP and playing with lots of settings to no luck. Tried the ram at 1.35v it supports.
I am really interested if this is a motherboard or CPU issue.
HW Setup:
- CPU: Ryzen 5800x
- CPU Cooler: Thermalright Assassin King 120 SE
- Motherboard: ASRock A320M-HDV R4.0
- Ram: 2x16gb @3200 GSkill Ripjaws DDR4 F4-3200C16D-32GVK
- GPU: ASRock RX 7600
- PSU: 850w