I’ve ran CPU GPU and memory stress tests to see if any of them were overheating but temps seem stable. Basically if I’m in a game or program the PC will cut the display and rev the fans full blast until I restart it. I’m guessing at this point either the PSU is going or it’s spiking for some reason and turning itself off to prevent damage.