'''Hello! :D'''
At least for me, it sounds like it should be the display cable that is bad. This because it works when you are using an external display (it shouldn’t be a GPU problem) and in the beginning, it stopped working when you were moving your display (this is most likely caused by the cable being bent/moved to different positions where some made it lose contact).
'''Good luck and hope this helped!'''