I couldn't find an answer to this question.
Does anyone know how to make Ubuntu recognize the Intel g540 Integrated Graphics card?
Install mesa-utils by running these commands:
sudo apt-get update
sudo apt-get install mesa-utils
Then it should work.