Vertical lines on my laptop screen
Solution 1:
Considering your pictures, it's most certainly a hardware defect. I suppose a gpu-replacement is needed for this one, although without further hands-on testing, it may also affect the screen and or display-connector of your laptop. As both OS's are affected, a software issue is more than unlikely.
Your best bet is to either replace your mainboard and or get a new device depending on age/cost of repair. I suggest you try to take apart your laptop and check if the screen connector tore a bit, and or is slightly misplaced due to mechanical movement when opening the screen / and or handling the notebook. Would be the best practice to first check the connector and go from there. Hopefully it works by placing it back where it belongs (in case of misplacement).
+1 to gronostaj for his notice regarding functionality inside BIOS