It started to do like this since I changed the motherboard as my old motherboard got totally fried. After getting my PC back from the technician, I installed Intel HD graphics driver from the Intel Support And Driver Assistant App. So installation was really smooth and after installed, it asked me to restart so I restarted and there was a black screen. I just waited for half hour for some magic to happen but there was nothing. So I restarted again and went in safe mode and uninstalled the driver. Surprisingly, it worked! Apparently, the monitor driver is not working after installing intel hd graphics or maybe some other problem.