This is typical of a failing video chip or cable. Not usually a software issue. But you can test the software angle by booting up something like DAMN SMALL LINUX (google.com) to see if the issue remains.

Bob