[SOLVED] PC sometimes black screens when playing games

Nov 16, 2019
4
0
10
Recently my PC has given me black screens when playing games.
I play the game normally, and then my screen goes black and the audio cuts off.
Sometimes the screen goes black and then comes back again, but with the screen having some glitchy-type? effect on it.
Note: PC runs normally if im just browsing the internet.
I've had this PC for over 2-3 years now. The problem first occurred a month ago after I cleaned some dust off the GPU fan after it got stuck.
I'm not that smart with computers so I decided to come here to ask for help.

Specs:
CPU
Intel Core i5 3570K @ 3.40GHz 33 °C
Ivy Bridge 22nm Technology
RAM
8.00GB Dual-Channel DDR3 @ 666MHz
Motherboard
ASRock Z77 Pro4 (CPUSocket) 34 °C
Graphics
24GM79G (1920x1080@144Hz)
Intel HD Graphics 4000 (ASRock)
8192MB ATI AMD Radeon R9 390 Series (MSI) 61 °C