Friday, January 27, 2017

Disable NVIDIA Optimus Graphics Card



I am running Ubuntu 15.10 and have a laptop with NVIDIA Optimus technology. As known by many, Optimus has yet to receive official support and has a lot of issues. Since I do not need the power of the graphics card for when I am on Ubuntu I would like to know if it is possible to completely disable the NVIDIA card altogether and only use the Intel on-board graphics. How would I go about doing this if possible?




I know of one solution which is using the NVIDIA PRIME and changing the profile to only use Intel, but the problem with this is that using the NVIDIA driver causes severe screen tearing which is annoying to deal with so this is not an option for me.



Uninstall the proprietary NVIDIA drivers and disable the use of the nouveau drivers.



Open a terminal and execute :



sudo apt-get install gksu
gksudo gedit /etc/default/grub



Add nouveau.modeset=0 to the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"



so that it reads GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0".



Save changes and close the file.



Now execute these commands :



sudo update-grub  
sudo apt-get purge nvidia*

sudo reboot


Now you are using the integrated intel graphics and the NVIDIA graphics are not in use.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...