Install Nvidia Drivers on Debian

28/12/2020
Chưa phân loại

Install Nvidia Optimus Graphics Drivers on Debian 9 Stretch

In this article, I am going to show you how to install and uninstall Nvidia Optimus Graphics drivers for devices that can run in hybrid graphics mode. In Linux, there are two types of Nvidia graphics drivers available. One is called nouveau which is open source and the other one is the closed source drivers from Nvidia. For most people, the open source nouveau drivers are enough. But if you strictly need the closed source Nvidia drivers for high performance graphics experience, then this article is for you.  Let’s get started. I am using GNOME3 desktop on Debian 9 Stretch.

First go to Activities and click on “Software and Updates”

Make sure all of these checkboxes are marked. If they are marked then you’re good to go.

Now run the following command to check whether your device supports Hybrid graphics:

lspci | grep 'VGA|Nvidia'

You can see that I have Nvidia GeForce 940M and Intel HD Graphics 520 on my laptop.

Now to install Nvidia Optimus graphics drivers, run the following commands:

  sudo apt-get update  sudo apt-get install bumblebee-nvidia  

Press ‘y’ and press <Enter> to continue. It should take a while for it to download and install all of these packages from the internet.

You should get the following message, simply press <Enter>. It’s nothing serious. The nouveau graphics driver will be blacklisted after installing the proprietary Nvidia drivers anyway. So it won’t be loaded from the next boot.

Once it’s complete, restart your computer. Once your computer boots, you have to perform some additional steps.

Open a terminal and run the following command:

sudo nano /usr/share/applications/nvidia-settings.desktop

The following window opens up:

Here you have to change only the marked section. Change it as it’s shown in the screenshot below.

Now press Ctrl+X and press to save the file.

Now click on “Activities” in the top left corner and search for “Nvidia”:

Click on Nvidia icon and you should be able to see Nvidia settings as shown below.

So everything is working correctly.

If you want to uninstall Nvidia Optimus drivers and go back to open source nouveau drivers, just run the following commands:

sudo apt-get autoremove --purge bumblebee-nvidia

Press ‘y’ and then press , Nvidia Optimus graphics drivers should be uninstalled.

Once it’s complete, restart your computer. That’s how you install and uninstall Nvidia Optimus graphics drivers on Debian 9 Stretch.

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

PROXY NUÔI TÀI KHOẢN FACEBOOK v6 ipv6 – KINH NGHIỆM FAKE IP – THUÊ PROXY V6 GIÁ RẺ

Tại sao nên sử dụng proxy ipv6 để nuôi hàng loạt tài khoản Facebook cùng lúc? 5 lý do mà bạn nên...
14/11/2022

How to Install CentOS 8 on VirtualBox

In this article, I am going to show you how to install CentOS 8 in a VirtualBox virtual machine. So, let’s get started. Downloading...
29/12/2020

How to Listen to WAV Files on Ubuntu

There are a number of available media file types all over the internet, each of them having their own features and disadvantages....
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Hướng Dẫn Chọn Dịch Vụ Thuê Địa Chỉ IPv4
10/03/2025

Reliable IPv4 and IPv6 Subnet Rental Services: The Perfect Solution for Global Businesses
23/12/2024

Tìm Hiểu Về Thuê Proxy US – Lợi Ích và Cách Sử Dụng Hiệu Quả
11/12/2024

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn
03/06/2024

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh
03/06/2024