VGA should always be connected before you start up your laptop, cause its not hot-swappable.
I would say that maybe you updated your Graphics driver which could have caused a problem,
new drivers can cause incompatibility issues.
Try using your original driver.
Also could be that the laptop is giving shit. Hardware related.