This question already has an answer here:
similiar question but for ubuntu 16.
I was trying to open google earth on chrome but was getting a message along the lines that I did not have any hardware accelaration.
So I followed some askubuntu questions and was able to get it working by enabling something in chrome's flags. But know I have the black bars and borders everywhere in ubuntu. Even the terminal is black and I can't see anything.