Computer restarts after playing ~30 Minutes of playing video games
I have been running around the internet trying to figure out it is happening.
To put it shortly, my computer restarts after about 30 minutes of playing games. This is average at this point. It started around 2 hours, then the time frame kept shortening and is now about 30 minutes.
To preface everything that I have tested:
Power Supply - Originally running a 550w Bronze power supply, then the first restart happened. Went out and purchased a 650w Gold power supply and changed it out.
RAM Also thought, because of the CPU, 8gbs of RAM wasnt going to cut it. Borrowed a buddies 24gbs of RAM to see if it would solve the problem. Still restarted.
CPU stress test using Prime95 - Ran a "murder" test for about 2 hours. The computer did not restart.
GPU Stress Test - Ran two seperate stress tests. 1. Furmark: Ran this for about 30 minutes it did not restart. 2. Heaven Test: Gets to about the 3rd "area" and crashes.
Heat Test Had a second a monitor running with a progam running that monitors the heat of CPU, GPU, and MB. Ran the Heaven Test once more while watching the temperatures like a hawk, crashed as expected, didnt see a single piece go over the recommeneded temps.
Switch out GPU - Switched out the GPU with a friends RTX 1080, hoping that this could narrow it down. Ran the Heaven test again, restarted.
Wall socket Thinking maybe the wall socket the computer was hooked up to wasnt giving enough power. Moved the computer to my friends house, the same socket he uses, still crashed.
Thats about it. The computer is brand new, built maybe 2 months ago. Really tired of banging my head against the wall trying to figure it out. Any hint or reccomendations would help.
Link to PC Parts (power supply has since changed as mentioned above): https://pcpartpicker.com/list/MmpvbX
EDIT: sorry for the bad formatting. Looks like a wall of text. On the mobile app.