following EASIEST & SAFEST: install the driver from the distro repo, what do you mean by…
- User
following EASIEST & SAFEST: install the driver from the distro repo, what do you mean by # 2) Install the latest production branch driver (replace 545
with whatever
ubuntu-drivers devicesrecommends)sudo apt install nvidia-driver-545?? I did # 1) Optional: add the PPA that tracks every new NVIDIA release sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update, but not sure about nvidia-driver-###?
- Assistant
The
nvidia-driver-545part is where people often get confused. Let me break it down step by step.What does
nvidia-driver-XXXmean?The
XXX(e.g.,545) refers to the driver version family. NVIDIA releases drivers in numbered series, like:nvidia-driver-470(older, stable branch for legacy GPUs)nvidia-driver-510(mid-range, somewhat older)nvidia-driver-525(stable branch for most modern GPUs)nvidia-driver-535(newer, recommended for RTX 30/40 series)nvidia-driver-545(even newer, currently the bleeding-edge production branch)nvidia-driver-550(future release, not yet stable as I write this)
Each number represents a driver branch, not the exact version. For example:
nvidia-driver-545might install545.23.08or545.29.06(the actual version gets picked automatically).- Similarly,
nvidia-driver-535could mean535.113.01or535.129.03.
So, how do you know which
XXXto use?That's where
ubuntu-drivers devicescomes in. It's a built-in Ubuntu tool that:- Scans your hardware (your RTX 2080 Super).
- Checks the repositories (including the PPA you just added).
- Recommends the best-matching, most tested, and newest stable driver for your GPU.
Here's what you need to do:
Run this command and pay attention to the output:
ubuntu-drivers devicesYou'll see something like:
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00001E84sv00001458sd00003754bc03sc00i00 vendor : NVIDIA Corporation model : TU104 [GeForce RTX 2080 Super] <-- YOUR GPU! driver : nvidia-driver-470 - distro non-free driver : nvidia-driver-525 - distro non-free driver : nvidia-driver-535-server - distro non-free driver : nvidia-driver-535 - distro non-free recommended <-- LOOK HERE! driver : nvidia-driver-545 - third-party non-free recommendedInterpret the output:
- Look for lines starting with
driver : nvidia-driver-XXX. - Find the one that says
recommendednext to it. That's your number!- In my example:
nvidia-driver-535is marked asrecommended(stable branch).nvidia-driver-545is alsorecommendedbut from a "third-party" repo (the PPA you added). This means it's newer but still considered stable enough for most users.
- In my example:
Now, pick the right command based on what you saw:
If
ubuntu-drivers devicessays:nvidia-driver-535recommended → Run:sudo apt install nvidia-driver-535nvidia-driver-545recommended → Run:sudo apt install nvidia-driver-545- If you see multiple "recommended", choose the highest number (newer is usually better for RTX 2080 Super).
Don't worry if you don't see
545exactly. The latest number might be540,546, or something else by the time you read this. Always trustubuntu-drivers devices.Full example workflow:
- You ran:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update - Now run:
ubuntu-drivers devices - Check the
recommendedline. Let's say it showsnvidia-driver-545. - Install that exact package:
sudo apt install nvidia-driver-545 - Reboot:
sudo reboot - Verify:
nvidia-smi
Post-reboot checks:
nvidia-smishould show your GPU and driver version (e.g.,545.23.xx).glxinfo | grep "OpenGL version"should mention NVIDIA.- Your system should be usable (no black screens!).
If anything breaks (super rare), you can always:
- Switch to a text console (Ctrl+Alt+F3).
- Purge the driver:
sudo apt purge nvidia-driver-* - Reboot and fall back to Nouveau (the default open-source driver).
Now, go ahead and run
ubuntu-drivers devices! I'll wait for your output if you're unsure 😊.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.