Ubuntu – How to install drivers for switchable graphics for HP dv6 7040tx

driversintel graphicsnvidiaswitchable-graphics

I have a laptop with dual graphics cards:

1.Intel graphics 4000

2.Nvidia geforce 630m

I wanted to completely switch over from windows to UBUNTU 13.04 🙂 But, i am very new to this environment.. In windows, it switched automatically from one card to another based on the load.

I wanted to install drivers. I read up on bumblebee. I also went through "additional drivers" from ubuntu software center.

So, i'm really not sure whether installing either will solve the problem.

I want as it was in windows: That is, I wanted to switch over to nvidia 630m if i play games. I want to make use of intel 4000 if i don't play..

Please, give me a step-by-step guide as i'm NOT FAMILIAR with ubuntu.
Thank you 🙂

Best Answer

Take an example for 12.04 amd64 arch. I recommend 12.04 LTS instead of 13.04. 12.04 are more stable than 13.04 and will get supports until 2017. Some PPA like ppa:ubuntu-x-swat/x-updates and ppa:ubuntu-x-swat/intel-graphics-updates do not offer to 13.04 now.

Do NOT take care of "additional drivers" for graphics card from ubuntu software center.

You first need to set graphics cards to 'switchable' in bios, if there has the setting item . If there no, do not care.

For your notebook , you should use bumblebee:

sudo add-apt-repository ppa:bumblebee/stable
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia primus-libs-ia32
Ref: https://wiki.ubuntu.com/Bumblebee#Installation

Then If you want to run application with Nvidia Graphics Card, you only need to run 'optirun xxx' in gnome-terminal.

You can also make use of HD4000 for mplayer:

sudo apt-get install i965-va-driver
sudo add-apt-repository ppa:sander-vangrieken/vaapi
sudo apt-get update
sudo apt-get install mplayer-vaapi
Last, change video output driver to `vaapi` in `Gnome Mplayer` or `VLC` config.
Ref: http://www.webupd8.org/2012/11/install-mplayer-with-va-api-hardware.html

In order for ubuntu to know your intel graphic card in 'System Settings'-> 'Details', you need to run:

sudo apt-get install mesa-utils

You can also try intel SNA (the new 2D acceleration technology for the Intel graphics driver):

sudo add-apt-repository ppa:ubuntu-x-swat/intel-graphics-updates
sudo apt-get update
sudo apt-get dist-upgrade
sudo mkdir /etc/X11/xorg.conf.d/
echo -e 'Section "Device"\n Identifier "Card0"\n Driver "Intel"\n Option "AccelMethod" "sna"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
Then restart machine.
Ref: http://askubuntu.com/questions/298145/xserver-xorg-video-intel-in-ppaubuntu-x-swat-x-updates
Ref: http://askubuntu.com/questions/225356/how-can-i-enable-the-sna-acceleration-method-for-intel-cards-under-ubuntu-12-04
Ref: http://www.phoronix.com/scan.php?page=news_item&px=MTExNjA
Ref: http://www.phoronix.com/scan.php?page=article&item=intel_ivy_glamor&num=1
Related Question