Install kernel 3.9
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-raring/linux-headers-3.9.0-030900-generic_3.9.0-030900.201304291257_amd64.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-raring/linux-headers-3.9.0-030900_3.9.0-030900.201304291257_all.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-raring/linux-image-3.9.0-030900-generic_3.9.0-030900.201304291257_amd64.deb
Add xorg-edgers amd Canonical X-Staging PPAs
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install xserver-xorg-video-intel
Open Synaptic Package Manager and lock version (click on package then Package/Lock Version) of xserver-xorg-input-synaptics (should be version 1.6.3-0ubuntu1.1)
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get upgrade
Install latest nvidia driver and create xorg.conf / .xsessionrc
sudo apt-get install nvidia-319
sudo vi /etc/X11/xorg.conf
Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:01:00:0" #adjust to your Nvidia's GPU ID if necessary EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "UseDisplayDevice" "none" #only on muxless Laptop. Most are. EndSection Section "Device" Identifier "intel" Driver "intel" EndSection Section "Screen" Identifier "intel" Device "intel" EndSection
Note : Your BusID can be obtained by running lspci | grep -i nvidia
sudo vi ~/.xsessionrc
xrandr --setprovideroutputsource Intel NVIDIA-0 xrandr --auto
Compile and install xrandr 1.4 from source
sudo apt-get install mesa-utils xutils-dev libxrandr-dev automake synaptic gksu
wget http://cgit.freedesktop.org/xorg/app/xrandr/snapshot/xrandr-1.4.0.tar.gz
wget http://cgit.freedesktop.org/xorg/app/xrandr/snapshot/xrandr-1.4.0.tar.gz
tar -xzvf xrandr-1.4.0.tar.gz
cd xrandr-1.4.0/
./autogen.sh
make
sudo make install
Add autologin feature in lightdm
REBOOT and enjoy !!!
Add glxspheres to benchmark
wget http://ftp.jaist.ac.jp/pub/sourceforge/v/project/vi/virtualgl/VirtualGL/2.3.2/virtualgl_2.3.2_amd64.deb
sudo dpkg -i virtualgl_2.3.2_amd64.deb
/opt/VirtualGL/bin/glxspheres64
P.S. : Thanks to @pogopuschel for providing the initial HOW-TO that I adapted according to my experience.
Note : after installing this driver the tap to click feature of the touchpad is not working anymore. It seems to be related to the version of the xserver-xorg-input-synaptics package (1.6.99+git20130104.ce7565ea-0ubuntu0sarvatt). If someone finds a way to fix it please share.
UPDATE 04/06/2013 : I found a way to fix the touchpad issue => see purple section above ! Cheers !