Problem in my computer’s on board VGA port

There is problem in my computer’s on board VGA port after starting up windows, monitor screen starts flickering heavily and some times screen goes of black , I tried another VGA card on PCI slot of motherboard its working fine no flickering and no screen black, computer works smoothly.
What will be the reason?
