This tutorial shows you how to install the Gallium3D drivers on Ubuntu 13.04 or Linux Mint via ppa which also works on Ubuntu 12.10, 12.04.
Gallium3D is a free software library for 3D graphics device drivers, operates as a layer between the graphics API and the operating system with the primary goal of making driver development easier, bundling otherwise duplicated code of several different drivers at a single point, and to support modern hardware architectures. This is done by providing a better division of labor, for example, leaving memory management to the kernel DRI driver.
Gallium3D has been a part of Mesa since 2009 and is currently used by the free and open source graphics driver for Nvidia (nouveau project), and by the free and open source graphics driver for ATI Radeon R300-R900.
To install this driver, press Ctrl+Alt+T to open terminal, then follow the below steps:
1.) Add the ppa repository by running this command in terminal:
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
2.) Update package lists and install the driver:
sudo apt-get update; sudo apt-get install libg3dvl-mesa