Game video card help

i posted problems with cs source earlier with my video card. i fixed the cs source issue but whenever i play doom 3, like 5 min into the game my computer restarts. anyone know why. also is there a program to test if your video card is working properly. thanks in advance.