Install Proprietary Nvidia GPU Driver On Debian 10
If you are new to Debian, you should know that Debian doesn't provide any proprietary packages on their official repositories. That means you won't be able to install Nvidia provided drivers unless it is free. So, by default Debian uses Nouveau drivers instead, which is free.
Nouveau in any way is not related to Nvidia, So the drivers they provide lags in performance in comparison to what Nvidia provides.
To install the correct drivers for our GPU, we will need to get the information on our GPU and currently installed drivers. After that, we shall install the recommended driver package.
After reboot, you can access the Nvidia control panel form the launcher or menu, corresponds to whatever desktop environment you use. You can also launch it from a terminal by,
And that's how you install GPU driver for Nvidia on Debian 10 Buster system. Hoping you will get it done by following this post. If thats, not the case just leave a comment below.
Nouveau in any way is not related to Nvidia, So the drivers they provide lags in performance in comparison to what Nvidia provides.
To install the correct drivers for our GPU, we will need to get the information on our GPU and currently installed drivers. After that, we shall install the recommended driver package.
Steps To Install Proprietary Nvidia GPU Driver On Debian 10
- Enabling Non-free & Contrib Repositories On Debian 10 Buster
- Detecting Nvidia GPU and Currently Installed Drivers
- Installing Proprietary Nvidia Driver On Debian Buster
Enabling Non-free & Contrib Repositories On Debian 10 Buster
To enable non-free and contrib repo enter the following command on your terminal.Detecting Nvidia GPU and Currently Installed Drivers
To detect and view currently installed drivers, we will use a small script named Nvidia detect. Install it by,Installing Proprietary Nvidia Driver On Debian Buster
While executing nvidia-detect it will tell us which driver package is recommended to install. And we will just do that. In my case its nvidia-legacy-340xx-driver, in your case it could be nvidia-driver package or any other. So let's install the driver now.
sudo nano /etc/apt/sources.listUse your favorite editor, I will be using nano here.
Now, add contrib and non-free right after main on all 6 branches like below.
deb http://deb.debian.org/debian/ buster main contrib non-freeIt doesn't matter what mirror you are using, just add the contrib and non-free after main correctly.
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
After typing all those, hit ctrl + s, to save the file. Again hit ctrl + x to exit nano.
Now update your package database using,
sudo apt updateAnd our first step is done.
sudo apt install nvidia-detectAfter installation execute nvidia-detect from your terminal and you should get something like below. You can my GPU is GT210 and the currently installed driver is from Nouveau. And also it is recommending me to install the package nvidia-legacy-340xx-driver. Now lets head to our final step.
sudo apt install nvidia-legacy-340xx-driver #as in my case
sudo apt install nvidia-driver #or this could be,
After reboot, you can access the Nvidia control panel form the launcher or menu, corresponds to whatever desktop environment you use. You can also launch it from a terminal by,
nvidia-settings
And that's how you install GPU driver for Nvidia on Debian 10 Buster system. Hoping you will get it done by following this post. If thats, not the case just leave a comment below.
Comments
Post a Comment
Ask me anything here...