Disable NVIDIA Optimus Graphics Card

22,886

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.

Share:
22,886

Related videos on Youtube

JCCS
Author by

JCCS

Updated on September 18, 2022

Comments

  • JCCS
    JCCS over 1 year

    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.

  • Sss
    Sss over 6 years
    I had this problem: superuser.com/questions/1277651/msi-laptop-screen-freezing you think the problem is with nvidia? and removing the nvidia in this way(our answer) will solve my problem? @cl-netbox
  • cl-netbox
    cl-netbox over 6 years
    @CnA I assume that there is something else wrong with your notebook, because when you installed the NVIDIA drivers correctly within Windows, it should just work fine in Windows ... you can try to install the proprietary NVIDIA drivers in Ubuntu to have a comparison. Please check your BIOS / UEFI settings, if everything is setup properly there and especially have a look at the configuration of NVIDIA Optimus. :)