» » Install Nvidia-Prime of nvidia optimus into linux mint 17

Install Nvidia-Prime of nvidia optimus into linux mint 17

Section: System | Actuality: Unspecified

Nvidia primeNvidia prime

Below I will tell you how I have set "Nvidia-Prime" on my laptop with installed Linux Mint 17.

Nvidia Prime - patchset-enabled technology Prime, allowing to organize a joint appeal of the different drivers to a shared buffer, which is necessary to implement the possibility of hot switching output between different video cards. In this case, Nvidia and IntelNVIDIA Optimus technology.

Happened something strange. I wrote this article, but it somehow disappeared from the site, maybe I accidentally removed. In General, re-write the article.

NOTICE! All the steps below you do at your own risk. I got no problems. Also I installed a fresh, updated Linux Mint 17

To start with, what Nvidia-prime is not yet supported in the Display Manager MDM.
Therefore, we need to install LightDM from Ubuntu rep.

LightDM in Linux Mint 17LightDM in Linux Mint 17


1. To install LightDM in Linux Mint 17 follow command in the Terminal:

sudo apt-get install -y lightdm gnome-settings-daemon indicator-session ubuntu-mono unity- gnome-control-center- light-themes unity-greeter/trusty

During installation terminal will ask to choose Display Manager, So select "LightDM" using 'Tab' and 'Enter' keys.

LightDM in Linux Mint 17LightDM in Linux Mint 17

2. Only For Mate Edition To avoid problems when logging in, use these commands:

cd /tmp && wget -O LightDM.desktop
sudo mv LightDM.desktop /usr/share/xsessions/

3. Remove Ubuntu Logo from LightDM:

sudo rm /usr/share/unity-greeter/logo.png

4. Install Ubuntu-Tweak to make changes in "Lightdm"

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Open Ubuntu-Tweak > Go to Tweaks > select Login Settings, See the following image and same settings in Ubuntu-Tweak.

LightDM in Linux Mint 17LightDM in Linux Mint 17 

5. Restart PC then select desktop from LightDM and login.

NOTICE! If you want to get back MDM simple enter following command in terminal and choose MDM option in Terminal:

sudo dpkg-reconfigure mdm

6. Now nothing prevents us to install the Nvidia Driver and Nvidia-Prime.

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


Install Nvidia Prime and the proprietary Nvidia driver:

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

-Restart the computer.

Furthermore later you can install a newer driver, for example (INSTALL THE NVIDIA DRIVER 340.24 FOR LINUX MINT)

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

Nvidia-Prime in Linux Mint 17Nvidia-Prime in Linux Mint 17 

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. Or use Prime-Indicator in tray


Good Luck!!!

Print version

  1. Lee
    Lee 27 March 2015 17:49
    When doing this I am getting the error message

    "E: Unable to locate package prime-indicator"

    However if I remove the "prime-indicator" line from the install it works fine
    • 0
  2. Shekin 27 March 2015 18:04
    Quote: Lee

    Try this
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install prime-indicator
    x64 Linux Mint 18.3 cinnamon
    • +1
    Your attitude to the website Other polls