Three days after returning from vacation, my laptop suddenly shut down while I was playing a game. It initially showed a blank screen and would only start intermittently. Since then, it sometimes turns off the display while the laptop itself remains powered on, with the keyboard lighting still working. On one startup I saw diagonal or horizontal green lines, and more recently the screen showed rainbow-colored dots and artifacting while Windows was loading. A technician suggested the problem could be faulty RAM or the graphics processor, but I'm wondering whether malware could cause this. The laptop may use memory chips soldered directly to the motherboard rather than removable RAM sticks. What should I test first, and can this type of memory or the graphics hardware be repaired or replaced?
4 Answers
Cleaning blocked vents and checking the cooling system is worthwhile, especially if the laptop overheated. A technician may also inspect the heatsink and replace the thermal paste, but repasting will not fix a damaged GPU or memory chip. Reballing or replacing a soldered graphics chip is specialized and often costs enough that comparing the repair price with a motherboard replacement or a new laptop makes sense.
Start with the simplest checks. Connect an external monitor or TV to see whether the same artifacts appear there. Also power the laptop off, disconnect it from power, and reseat any removable RAM if it has any. If the external display is clean, the laptop screen or its cable could be at fault. If both displays show the corruption, the GPU, motherboard, or memory is more likely.
Run a memory test such as MemTest86 for several hours or overnight. If it reports errors, the RAM is probably defective. If the memory test passes but the artifacts appear before Windows finishes loading, the graphics hardware becomes the stronger suspect. Some laptops have removable RAM, while others use chips soldered to the motherboard; soldered memory generally isn’t a practical user-replaceable part and usually requires board-level repair or motherboard replacement.
This is very unlikely to be a virus. Green lines, rainbow dots, and other visual artifacts that appear during startup usually point to a hardware problem involving the GPU, video memory, RAM, display panel, or display cable. Because the laptop stays powered on while the screen goes black, the video system may be failing rather than the entire computer shutting down.
The memory chips appear to be small metal squares soldered onto the motherboard instead of removable sticks. The technician said it would be difficult to identify which one is bad.

So if the graphics chip is the problem, repasting might help with overheating, but it would not replace a failed chip itself?