your video cable is loose or your graphics card/igpu has failed, or the motherboard graphics channel has failed.
Most likley video cable on the display is loose,
try drumming the top of your laptop towards the back, not very hard though. This can fix it temporarily sometimes, or fixes it for good, if it still does not work, you will have to open up the laptop and reconnect the cables, and be sure the glue holding them in was not heating up and came loose too.