Chosen Solution

sometimes out of nowhere , lines appear on the screen and the whole thing freezes up. it is simply fixed with a reboot. Is there a fix?

Nope, an extreme case would be to replace logic board but that really isn’t financially viable.