How to update OpenGL Driver on Ubuntu 14.04 LTS

Be careful when using Charles Green's advice.

On the sudo apt-get upgrade step, you might see:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
    required:
  account-plugin-windows-live libupstart1
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  libdrm-dev libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2
  libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2     libdrm2:i386
  libegl1-mesa libegl1-mesa-drivers libgbm1 libgl1-mesa-dev libgl1-mesa-dri
  libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa
  libglapi-mesa:i386 libgles1-mesa libgles2-mesa libosmesa6 libosmesa6:i386
  libva1 libwayland-egl1-mesa mesa-common-dev xserver-xorg-video-intel

The key part is that the upgrade I wanted to do didn't happen:

The following packages have been kept back:    

You will have to:

sudo apt-get install <list of packages kept back>

I ended up doing:

sudo apt-get install libegl1-mesa libegl1-mesa-drivers xserver-xorg-video-intel libgl1-mesa-dri libglapi-mesa 

For more information on this problem see: "The following packages have been kept back:" Why and how do I solve it?


It appears that you have a version of OpenGl, just not one new enough to run the application that you are looking for.

To get a slightly newer version of the OpenGl drivers, I would recommend the oibaf drivers from the launchpad website - these implement OpenGl 3.0, and are pretty stable.

To install open a terminal window and enter

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get upgrade

To remove, you can use ppa-purge

sudo apt-get install ppa-purge
sudo ppa-purge ppa:oibaf/graphics-drivers

I wrote my fix / answer here for this exact same issue:

Ubuntu 14.04 “could not find required OpenGL entry point 'glGetError'!"

Have a read