Also if you have similar cable at home try out them to make sure the faulty cable not causing the issue. If you have an external monitor, then disconnect all cables (VGA cable) connected, check for defective connectors and reconnect them.
Well if you are unable to change the screen resolution or the Resolution setting is grayed out in Display Settings apply the solutions listed below. Can’t change screen resolution windows 10