This is a very strange fault. Single-pixel gaps are visible in the lines:
which strongly implies the problem is in the digital signal generation part. But then, if it was, it would show up on RF as well!
Also, the lines are white/grey, so it can't be anything specific to one of R/G/B outputs.
As other have said above, I'd recommend cleaning the A/V port and the cable, and trying a different cable if you have one. Maybe there's some kind of weird contact issue or short-circuit inside the cable.