Normally the integrated hardware on consoles will not as often be the problem. I would recommend going around and checking all of the connections between the console and your TV. If reconnecting the cables still doesn’t solve the problem then I would recommend trying to replace the cable with a better one.
Another cause of artifacting like that is if the console is getting to hot. So if the console is not in a well ventilated space, or there is dust in the system, this is a problem that has occurred (frequently from what i’ve seen).
What to try:
Move your console to a more ventilated area so that it is able to breathe
Clean any dust from the console with a can of compressed air
check all cable connections