Games freeze system

After I launch a game and some time passes, my system freezes. The monitor goes into standby mode. A reboot is needed to do anything.nvidia-bug-report.log (906.6 KB)

You’re getting an XID 79, this is most likely caused by either overheating or lack of power. Please monitor gpu temperature, check fans, check/replace psu.

Turns out that it’s not just games that can make my system freeze.
The issue was that the fan on my GPU stopped working. I switched to my internal graphics card.