MintGuide.org / Installing Nvidia prime for nvidia Optimus

Installing Nvidia prime for nvidia Optimus

Projects Bumblebee and Nvidia Prime is not compatible among themselves. Therefore, in order to correctly install the proprietary nVidia driver together with Nvidia Prime, remove the Bumblebee or check in its absence:
sudo apt-get purge bumblebee* bbswitch-dkms
In Ubuntu 13.10 Saucy Salamander make sure that you only use a login Manager LightDM, and not any other.
In Ubuntu 12.04 and 14.04 also supported managers GDM is loaded (Next generation GNOME Display Manager) and KDM (KDE Display Manager for X11 )
 
Installing
To install the Nvidia Prime and the proprietary nVidia driver you need to open a terminal Ctrl+Alt+T and run the commands necessary for your version of Ubuntu:
Ubuntu 12.04
-Install the new kernel version and the graphics stack by running the command:
sudo apt-get install linux-generic-lts-saucy xserver-xorg-lts-saucy linux-headers-generic-lts-saucy

-Install the proprietary nVidia driver version 331 and Nvidia Prime:

sudo apt-get install nvidia-331 nvidia-settings nvidia-prime

-Restart the computer.

Ubuntu 13.10
-Install Nvidia Prime and the proprietary nVidia driver:
sudo apt-get install nvidia-319 nvidia-settings-319 nvidia-prime

-Restart the computer.

Ubuntu 14.04
-Install Nvidia Prime and the proprietary nVidia driver:
sudo apt-get install nvidia-331 nvidia-settings nvidia-prime prime-indicator

-Restart the computer.

Switching graphics cards
Log in settings manager «NVIDIA X server Settings», running nvidia-settings

nvidia-settings

Next, navigate to PRIME Profiles and select what video card you want to use and click on the «Exit»button. When you change the video card you will be asked to enter the administrator password.

PRIME ProfilesPRIME Profiles

For the entry into force of the settings, you must restart the session. To do this, follow the «log off...» and then re-log in.
Good Luck!!!
14-02-2014, 02:09
Go Back