Easily switch Nvidia hybrid graphics (nvdia + intel)

Created a new repository for new NVIDIA closed drivers
After re trying out the many how to enable nvidia graphics on the laptop, I decided to write the easiest and most effective way. The whole setup was carried out on the Lenovo v580 laptop with hybrid graphics Intel HD 4000 + Nvidia GeForce GT645m
Before you configure we recommend to run:

sudo apt-get update; sudo apt-get update
sudo apt-get dist-upgrade
Now go to the Nvidia website and select your card and operating system Linux

Easily switch Nvidia hybrid graphics (nvdia + intel)

Look what version of the driver available for your graphics card. For me it 352.55

Easily switch Nvidia hybrid graphics (nvdia + intel)

Now you know the last compatible version of the driver for your system.
Then run in terminal:

sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install -y nvidia-352 nvidia-settings nvidia-prime
sudo rm /etc/apt/sources.list.d/xorg-edgers-ppa-trusty.list
After install go to Nvidia X Server Setting using the Menu Or in the terminal write:
nvidia-settings
In the opened window you will see the left Prime Profiles

Easily switch Nvidia hybrid graphics (nvdia + intel)

The switch at this point should stand on Nvidia. If everything is correct, then reboot. After the system is started, run Nvidia X Server Setting and check see whether there’s a map. All works without problems.

Easily switch Nvidia hybrid graphics (nvdia + intel)

To quickly check which card is currently in use, type in a terminal:

glxinfo | grep OpenGL
If you want to switch back to Intel, then go in Nvidia Settings and set the switch to Intel. After that, exit the system and log in again. Will now work card from Intel If you switch the graphics mode from Adaptive to another (PowerMizer), so after reboot this value is not reset, go to settings NVIDIA – go to Application Profiles – click on Save. After reboot the value will not be reset.
Good Luck!!!
http://www.mintlinux.ru/

The site has moved to a new engine, help me fix bugs, send me your notify by selecting that text and pressing Ctrl+Enter.

Share to friends
Shekin
Rate author
( No ratings yet )
MintGuide.Org

Leave a Reply

avatar
  Subscribe  
Notify of
Sayanel
Guest
Sayanel

Before typping nvidia-settings , it is sometimes needed to restart the computer. Otherwise, the Nvidia X server will not integrate Prime and it won't be possible to choose the GPU

Shekin
Guest
Shekin

may be install prime-indicator?

sudo apt-get install prime-indicator
Nic
Guest
Nic

Wow — thank you so much for this!!!

I have been trying to get nvidia / htmi-out to work on my Asus UL80-VT for years with Mint. Tried so many ways. Never worked — until now!

This was so easy!

Sayanel was right about restarting before accessing nvidia-settings. My machine didn't integrate prime before the restart, and the settings didn't show the nvidia GPU. After the restart, everything was fine — same as what you show here. My HDMI-out works fine, too.

Thanks again!

M.Csaba
Guest
M.Csaba

Guys, it is wonderful!
I can confirm that the method works for Nvidia GT-840M too.

Shekin
Guest
Shekin

Eddi,
no way! currently, the manufacturers drivers are not made of this possibility. but I\’m sure NVIDIA will be the first.

Spelling error report

The following text will be sent to our editors: