Crashes whole pc needing to restart

I have been playing this game for a long time and had no issues running high graphics. Now my game crashes on my first match freezing the whole pc and no input seems to work even the dpi button doesnt change the mouse color anymore, needing a restart. I have tried sfc/scannow, analyze files, updating graphics drivers and all but I still cant seem to run this game on my pc. My pc is by no means beefy but i have been able to run rdr2 and other heavy games fine but not warthunder. Please help.