Dual screen monitor issue

i have this problem where the main monitor screw up its display like this http://imgur.com/pufxC0y  happen and it flashes and some how i got the display back only partially seeing my seeing my desktop but with lines messing up the display i could not be able to get a image of it

i use the seconday monitor as a external display i only game on the main monitor.

amd fx6300 @ 4.3ghz

m5a99x evo r 2.0

Asus Driect CUII @ 1200 mhz core clock 

corsair cx500 

 

might be the cable your using gone bad. try to switch them out, if not then might be your monitor is dead. 

when i unhooked the cable from the monitor it would go to the other monitor so the monitor is not dead it just happens randomly