Question GTA 5 cuts off operating system, idk?

Forz

Prominent
Jan 28, 2020
92
3
535
Hello,

Before I say the issue, I did not get GTA 5 for free, I got it on steam a while back just so it might help resolving the issue. Whenever I run GTA 5, and gta 5 only for more than an hour, it without warning gives a black screen and my keyboard and mouse switch off. I have no control over my computer therefore I restart it. It is not a power supply issue because the computer is still running fine. I doubt its a graphics card issue because GTA isn't on max and other games run fine. I'll try downscaling the graphics but can someone please help me if this isn't the issue? Cheers!

Specs:

GTX1050
Ryzen 5 2600
Corsair Vengeance 16GB @3200mhz
CX450
B450M-A