it might be getting hot or the gpu could be getting hot bad ram maybe. clean the laptop open it up and clean all of it using a non conductive non corrosive liquid with non abrasive static friendly cloth or wipes . i had a laptop one time that the screen would start flickering but it was a lose lcd cable.