wiki:gaming:nvidia_driver_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:gaming:nvidia_driver_linux [2025/01/17 14:23] – removed - external edit (Unknown date) 127.0.0.1wiki:gaming:nvidia_driver_linux [2025/01/17 14:23] (current) – ↷ Page moved from wiki:linux:gaming:nvidia_driver_linux to wiki:gaming:nvidia_driver_linux Greg
Line 1: Line 1:
 +====== Installing the NVIDIA Driver on Linux ======
  
 +===== Ubuntu/Linux Mint =====
 +
 +The Driver Manager application should handle this for you pretty easily. Just select the latest/recommended NVIDIA driver version.
 +
 +**Note:** In my experience (as of January 2025) the partially open-source ''nvidia-driver-*-open'' drivers don't always work completely (e.g. things like sleep will be buggy). Thus I'd avoid them and install the proprietary versions instead.
 +
 +===== Debian =====
 +
 +Enable the non-free and non-free-firmware sections in your base Debian repos in ''/etc/apt/sources.list'':
 +
 +<code>
 +deb http://deb.debian.org/debian/ trixie main non-free-firmware non-free
 +deb-src http://deb.debian.org/debian/ trixie main non-free-firmware non-free
 +
 +deb http://security.debian.org/debian-security trixie-security main non-free-firmware non-free
 +deb-src http://security.debian.org/debian-security trixie-security main non-free-firmware non-free
 +
 +# trixie-updates, to get updates before a point release is made;
 +# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
 +deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware non-free
 +deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware non-free
 +</code>
 +
 +Update your apt sources, then install the Linux kernel headers for your architecture:
 +
 +<code>
 +sudo apt update
 +sudo apt install -y firmware-misc-nonfree linux-headers-amd64 # change this based on your architecture
 +</code>
 +
 +Install the NVIDIA driver w/ DKMS:
 +
 +<code>
 +sudo apt install -y nvidia-kernel-dkms nvidia-driver
 +</code>