Easily switch Nvidia hybrid graphics (nvdia + intel)Section: Video | Actuality: Unspecified
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
Look what version of the driver available for your graphics card. For me it 352.55
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:
In the opened window you will see the left Prime Profiles
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.
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.