I have a Radeon RX580 running 55 Celcius at idle, with 25W usage. I also have my Ryzen 7 1800x running at 54 Celcius at idle. When I play certain games on my pc for more than 10 minutes, my pc shuts off and the fans rev to max speed until I force shut down the computer. I ran a stress test and when the final 3D render test named Swarm came up for my gpu, my pc copied what it did while playing under heavy load. How can I fix this? I can't play PUBG, CSGO, Valorant, GTA 5, and more when I used to be able to with this pc.