Install Nvidia Drivers on Ubuntu

12/02/2020

Install Nvidia Optimus Graphics Drivers on Ubuntu 17.10

In this article, I will show you how to install Nvidia Optimus drivers on Ubuntu 17.10. Nvidia Optimus is a technology that enables a device to use 2 graphics card at once. One of the graphics card is not as powerful as the other. The benefit is that, it saves energy and increases battery life. The programs that don’t need much GPU processing can use the less powerful graphics card, like Intel HD Graphics. The high performance graphics card is only used when you run softwares that needs the GPU, like Blender. It’s also known as Hybrid graphics. Most of the Nvidia graphics card used on laptops/notebooks or any other mobile devices these days support Nvidia Optimus technology. So if you have one of these devices, this article is for you. Let’s get started.

First click on “Show Applications”  icon in the bottom left corner of the panel and search for “software”

Then click on “Software & Updates” icon to open “Software & Updates”

Note: Make sure all of these checkboxes are marked.

Then click on “Additional Drivers” tab.

Here you can see that currently I am using open source nouveau drivers.

To install Nvidia drivers, check the “Using Nvidia binary driver” and click on “Apply Changes”

It should take a while to install Nvidia drivers. Please wait till it’s complete.

Once the installation is complete, you should see a green mark right beside Nvidia Corporation and also notice the “1 proprietary driver in use” in the bottom of the window.

Now restart your computer.

Once your computer boots, click on “Show Applications” and search for ‘nvidia’

Click on “Nvidia Settings” and you should see the following window:

So Nvidia Graphics driver installation was successful.

If you want to switch to open source nouveau drivers, open “Software & Updates” like before.

Go to “Additional Drivers” tab

Select “Using X.Org X server — Nouveau display driver…”

Then click on “Apply Changes”. It should take a while for the changes to take effect.

Now restart your computer and nouveau drivers will be used again.

If you want to completely remove Nvidia drivers, open your terminal (Ctrl+Alt+T) and run the following command:

“sudo apt-get remove --purge nvidia-*”


Press ‘y’ and then press <Enter>

It should take a minute or two. Once the command completes, Nvidia drivers will be completely uninstalled from your computer. Now restart your computer and you’re good to go.

There are other packages that you don’t need anymore as nvidia packages are removed, you can remove these packages with the following command:

“sudo apt-get autoremove --purge”

That’s how you install and uninstall Nvidia drivers on Ubuntu 17.10. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to install PeaZip 6.4 on Ubuntu – Supports Optional Tabbed Browsing

PeaZip 6.4 recently released, is a free cross platform, portable file compression utility as well as a file manager based...
28/12/2020

Transform Your Ubuntu GNOME Desktop – Install OpenBox Ubuntu

In this guide, you will get to see how to install Openbox on Ubuntu so you can transform your Ubuntu 17.04 GNOME desktop...
12/02/2020

Upgrade Ubuntu to 1804

How to Upgrade from Ubuntu 17.10 to 18.04 Ubuntu 18.04 Bionic Beaver is not out yet. But many people may want to upgrade...
28/12/2020