sudo apt-add-repository ppa:glasen/intel-driver
sudo apt-get update
sudo apt-get install xserver-xorg-video-intel
#If you use Ubuntu 12.04, then you can enable the 'SNA' feature (disabled by default) of Intel Sandy Bridge architecture which improves #both 2D and 3D performance. For that, enter the below command in your Terminal window to open the text editor with administrative #privileges. (/etc/X11/xorg.conf)
Section "Device"
Identifier "Card0″
Driver "intel"
Option "AccelMethod" "sna"
EndSection