I've had Minecraft for a year, never had this issue which appeared about 2 weeks ago. The lines form a grid through which it seems that I can see through the world. I've messed around with all kinds of graphic settings but I can't find a solution.
Related issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-1794, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Thanks the solution you linked worked. I changed the setting in the Nvidia Control Panel.