Skip to content

mexersus/debian-nvidia-drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Installing Latest NVIDIA Drivers on Debian 12, also works on Debian 13

The most Debian-friendly way to get the latest drivers from NVIDIA is through their CUDA downloads, which also includes the latest packaged drivers. This method is recommended over using the .run file or adding unstable repositories.

Instructions for Debian 12 and Debian 13

These instructions are valid for Debian 12 and 13 and the current NVIDIA CUDA repository:

# Download and install the CUDA keyring
wget https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb

# Update package list and install CUDA drivers
sudo apt-get update
sudo apt install cuda-drivers

Alternative: NVIDIA Open Driver

This repository also provides the NVIDIA open driver, which can be installed using:

sudo apt install nvidia-open

Why This Method?

While this approach is far from ideal or Debian'ish, it's considered the best option because:

  • No alternatives: There's no way to get the latest driver on Debian without adding another repository or using the problematic .run file
  • Clean repository: NVIDIA maintains a relatively tidy repository with only driver and CUDA development tool packages, which is much safer compared to adding Sid/experimental/Ubuntu/PPA repositories
  • Proven reliability: This method has been used successfully for years without any problems
  • Official source: Uses NVIDIA's official repository rather than third-party sources
root  ~  dkms status && lsmod | grep -i nvidia
nvidia/580.65.06, 6.12.41+deb13-amd64, x86_64: installed
nvidia_uvm           2060288  0
nvidia_drm            139264  9
nvidia_modeset       1851392  16 nvidia_drm
nvidia              111403008  240 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  2 nvidia_drm
drm_kms_helper        253952  2 drm_ttm_helper,nvidia_drm
video                  81920  1 nvidia_modeset
drm                   774144  15 drm_kms_helper,nvidia,drm_ttm_helper,nvidia_drm,ttm  

Notes

  • This method has been tested and used reliably for several years
  • The NVIDIA repository is considered safer than other third-party options
  • Both proprietary and open-source NVIDIA drivers are available through this repository

*** This was taken from Reddit and adjusted for Debian13 (original author is lost by me.) ***

About

Explanatory : how to install official Nvidia drivers on Debian 12 and Debian 13

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages