Question CPU causing black screen while gaming?

Oct 25, 2019
1
0
10
So while playing games I get a blank screen solid colors such as black or yellow followed by a loud beep sound. It only occurs on games that are taxing to my gpu such as Borderlands 3. Lighter games such as league won't cause the problem. The time I can play the game before it black screens also varies from a a couple of minutes to a couple of hours. My PC stays on when this happens and it does not automatically restart. I have to manually reboot it.

My cpu temps are around 60 degrees C while my gpu goes up to 80 degrees C with very loud fans while playing BL3. It tends to black screen when my gpu is reaching 80 degrees C but a red light on motherboard when the problem occurs tells me that my cpu is causing the problem.

I am running the latest bios with stock settings and did not overclock anything. I have tried alternating ram slots and tried switching psu but it did not fix the problem.

CPU: Ryzen 2700x with stock cooler
GPU: Asrock Phantom Gaming D RX580 8gb
Motherboard: Gigabyte X470 Gaming 5
RAM: Goldkey 2 x 8 DDR4 3200 mhz @ 2400 mhz
PSU: EVGA 650 GQ