Black Screen and sound stopps only in games

Dyaaddin

Commendable
Nov 7, 2016
4
0
1,510
Hi
i just bought a used pc and it runs fine and looks clean
but the problem is that when i play video games, the screen goes black and i hear the windows sound that informs you that something is plugged out then the game sound stops and it stays like that until i restart the pc
this problem happens randomly in game like sometimes it happens after 5 minutes and sometimes after 40 minutes
i checked the gpu and cpu temperature and the gpu in game is around 60-70 °C and spu is around 50 °C
all of the parts are not overclocked
my PC specifications is :
RAM : 8GB 1x8 Kingstone
Motherboard : Gigabyte GA-H61M-DS2
CPU : Intel Core i5 3350p 3.10GHz
Graphics Card : Asus Geforce GTX960 Strix 2GB
HDD : Seagate 500GB
Power Supply : Tagan Easycon Series TG580-U15 580 Watt
and thank you .