Skip to content
The Chat Archive
llama-4-maverick-03-26-experimental· Meta LMArena Human Preference 140K

following EASIEST & SAFEST: install the driver from the distro repo, what do you mean by…

  1. 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 devices recommends)

    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-###?

  2. Assistant

    The nvidia-driver-545 part is where people often get confused. Let me break it down step by step.

    What does nvidia-driver-XXX mean?

    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-545 might install 545.23.08 or 545.29.06 (the actual version gets picked automatically).
    • Similarly, nvidia-driver-535 could mean 535.113.01 or 535.129.03.

    So, how do you know which XXX to use?

    That's where ubuntu-drivers devices comes in. It's a built-in Ubuntu tool that:

    1. Scans your hardware (your RTX 2080 Super).
    2. Checks the repositories (including the PPA you just added).
    3. 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 devices
    

    You'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 recommended
    

    Interpret the output:

    • Look for lines starting with driver : nvidia-driver-XXX.
    • Find the one that says recommended next to it. That's your number!
      • In my example:
        • nvidia-driver-535 is marked as recommended (stable branch).
        • nvidia-driver-545 is also recommended but from a "third-party" repo (the PPA you added). This means it's newer but still considered stable enough for most users.

    Now, pick the right command based on what you saw:

    If ubuntu-drivers devices says:

    • nvidia-driver-535 recommended → Run:
      sudo apt install nvidia-driver-535
      
    • nvidia-driver-545 recommended → 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 545 exactly. The latest number might be 540, 546, or something else by the time you read this. Always trust ubuntu-drivers devices.

    Full example workflow:

    1. You ran:
      sudo add-apt-repository ppa:graphics-drivers/ppa
      sudo apt update
      
    2. Now run:
      ubuntu-drivers devices
      
    3. Check the recommended line. Let's say it shows nvidia-driver-545.
    4. Install that exact package:
      sudo apt install nvidia-driver-545
      
    5. Reboot:
      sudo reboot
      
    6. Verify:
      nvidia-smi
      

    Post-reboot checks:

    • nvidia-smi should 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:

    1. Switch to a text console (Ctrl+Alt+F3).
    2. Purge the driver: sudo apt purge nvidia-driver-*
    3. 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 😊.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.