How to Install NVIDIA Driver & Switch Between Intel and NVIDIA in Ubuntu 21.04

June 4, 2021 — 2 Comments

Nvidia 352.30

Has an Intel powered laptop or desktop PC with dedicated NVIDIA GPU? Installing the proprietary NVIDIA driver and switch between the GPUs is easy in Ubuntu.

Since Ubuntu now maintains the latest NVIDIA drivers via the restricted repositories, users can easily install the latest proprietary drivers in Ubuntu via a few clicks.

Install NVIDIA Driver in Ubuntu:

1.) In case you changed the software sources, firstly open ‘Software & Updates‘ utility and make sure the ‘Proprietary drivers for devices (restricted)‘ is enabled.

2.) Either search for and open ‘Additional Drivers‘ from system app launcher, or navigate to that tab in the previous window.

3.) Choose the latest NVIDIA driver from the list and click on ‘Apply Changes’ to install it.

Once installed, you have to restart your machine to apply changes.

Switch between NVIDIA and Intel Graphics:

After restart, you machine will be on performance mode with the dedicated GPU. To switch GPU mode:

  • search for and open ‘NVIDIA Settings’ from app launcher.
  • Next go to ‘PRIME Profiles’ in the pop-up NVIDIA settings dialog.
  • Choose among NVIDIA Performance, NVIDIA On-Demand, and Intel power saving mode.
  • Finally log out and back in to apply changes.

For convenient, there’s an extension available to integrate these options into system tray menu.

To install this Gnome Shell extension, do following steps one by one:

  • Open terminal (Ctrl+Alt+T) and run command to install chrome-gnome-shell if you don’t have it:
    sudo apt install chrome-gnome-shell

  • Go to the extension web page, turn on the toggle icon to install it.

    Don’t see the slider icon? Click the link ‘Click here to install browser extension’ to install browser extension and finally refresh the web page.

NOTE: Switching GPU mode via the system menu option will AUTOMATICALLY log out current session.
To disable automatically log-out, change the extension settings either via Gnome Extensions or Gnome Tweaks.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

2 responses to How to Install NVIDIA Driver & Switch Between Intel and NVIDIA in Ubuntu 21.04

  1. Michael Coyle June 8, 2021 at 12:30 am

    On a spare partition, I distro-hop, but my main driver is Ubuntu for this very reason. Using the proprietary Nvidia drivers is EASY. It’s a pain in the ass every where else (looking at YOU Fedora!).

    People say, “Just use the nouveau driver.”
    No way. It’s not even close. Nvidia’s driver is substantially faster.

  2. I have the RTX 2070 super. It’s laggy under ubuntu.
    using fresh install of 21.4 and under “Additional Drivers”, NVIDIA is listed but all the radio buttons are disabled, save for the selected “Continue using a manually installed driver” (which I never installed).

    None of the PRIME stuff is available in the NVIDIA X Server Settings dialog.

    Trying to switch from Windoze 10. Not having much fun.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.