Categories: Ubuntu

How to Install Nvidia Optimus Driver on Ubuntu

Nvidia Optimus is used to effortlessly switch between two GPUs within the same computer system. It is a hybrid GPU switching technology that provides maximum performance by utilizing the minimum system power. It automatically switches to a dedicated graphics card in case of extreme work overload, especially when a more demanding application is run on the system.

Follow this guide if you are a Ubuntu user and want to install Nvidia Optimus Driver on the system.

How to Install/Configure Nvidia Optimus Driver on Ubuntu

To install Nvidia Optimus Driver on Ubuntu, follow the below-written steps:

Step 1: Update/Upgrade Repository

The first step is to upgrade and update the repository as we will install Nvidia Optimus Driver from the official repository:

sudo apt update
sudo apt upgrade

 

Step 2: Install Nvidia Driver

Then use the below-written command to install Nvidia Optimus Driver Ubuntu system.

sudo apt install nvidia-driver-515 nvidia-dkms-515

 

The installation will take some time, as there will be a lot of libraries which will get installed with it.

Step 3: Reboot

Once the installation is completed then reboot the system for a new start with automatically configured Nvidia Drivers:

sudo reboot

 

Step 4: Verifying

Now, to open Nvidia Optimus Driver on Ubuntu, open the Application Menu and you will see a new icon with the name NVIDIA:


Click on the icon to open Nvidia Optimus Driver on Ubuntu.


Note: For configuration, you must have an Nvidia graphics card in your system. After which one can change the configuration depending on his/her choice.

Remove Nvidia Optimus Driver from Ubuntu

To remove Nvidia Optimus Driver from the Ubuntu system, you can use the below-mentioned apt command:

sudo apt remove –purge nvidia-*

 

Conclusion

To install Nvidia Optimus Driver on Ubuntu, update the repository first. Then by using the apt command install the driver. Once the installation of drivers is completed then reboot the system and after a reboot, you can find your Nvidia icon in the Application Menu of your Ubuntu system and you can click on it to open the application on the desktop and configure your driver accordingly.

Ubuntu Server Admin

Recent Posts

Predict, compare, and reduce costs with our S3 cost calculator

Previously I have written about how useful public cloud storage can be when starting a…

23 hours ago

One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster

This is Part 2 of the "Karafka to Async Journey" series. Part 1 covered WaterDrop's…

1 day ago

A year of documentation-driven development

For many software teams, documentation is written after features are built and design decisions have…

2 days ago

Announcing FIPS 140-3 for Ubuntu Core22

With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…

3 days ago

The foundations of software: open source libraries and their maintainers

Open source libraries are repositories of code that developers can use and, depending on the…

6 days ago

From inspiration to impact: design students from Regent’s University London explore open design for their dissertation projects

Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…

7 days ago