So I was playing Star wars battlefront 2 and all of a sudden my screen went black and my gpu fans started to spin really fast. I quickly shut the system down using the button on the case. I ran the game multiple times and the same thing has happened. I don't think that it is overheating because the highest it has gotten to is 79 while playing the game. I have also ran the game on medium, high, and ultra settings. This also happened when I tried to play AOE 3 definitive addition. The one time I was able to play battlefront was when I manually had the fans set to 80 percent. What's wrong with my pc and how can I fix it. My specs are, asus rog strix rx580, ryzen 5 2600, asus rog strix b450-f, corsair rm850, samsung evo 970 plus, and 16gb of tridentz ram.
edit: It is also able to run BFV and R6 no problem.
edit: It is also able to run BFV and R6 no problem.