Video card is crapping out or over heating. If it is an add-in card remove it from its slot and clean the contacts with a pencil eraser, blow eraser residue off and reinsert!
Leave computer off until completely room temp and try. If it comes up then it is heat related.
A weak or marginal PSU could also cause this.
Mike