Tuesday, 13 January 2026

 

Linux Operating System DEBIAN 13 _  Installation of  NVIDIA 840M driver on a  MSI GP70 2PE Leopard Laptop which is running  Linux Operating System DEBIAN 13




Hi Copilot , how do I install NVIDIA 840M drivers on my MSI GP70 2PE Leopard that is running Linux Operating System DEBIAN 13 ? THANKS.

You can install NVIDIA 840M drivers on Debian 13 by enabling the non-free repositories, installing the correct NVIDIA driver package (usually nvidia-driver), and configuring your system to use it. The 840M is supported by the legacy driver branch (470.xx), so you’ll need to make sure Debian installs that version rather than the newest one.

Step-by-Step Guide

1. Enable Non-Free and Contrib Repositories

Debian does not ship proprietary drivers by default. You need to enable the non-free and contrib repositories.

Edit your sources list:

bash
sudo nano /etc/apt/sources.list

Add contrib non-free non-free-firmware to each Debian mirror line. For example:

Code
deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

Save and exit, then update:

bash
sudo apt update

2. Identify the Correct Driver for NVIDIA 840M

The GeForce 840M is based on the Maxwell architecture. It is supported by the 470.xx legacy driver series. Debian 13 provides this in its repository.

Check available drivers:

bash
apt search nvidia-driver

3. Install the NVIDIA Driver

Run:

bash
sudo apt install nvidia-driver firmware-misc-nonfree

This will install the appropriate driver package and firmware. Debian automatically selects the correct legacy driver version for your GPU.

4. Blacklist Nouveau (Optional but Recommended)

Debian ships with the open-source nouveau driver, which can conflict with NVIDIA’s proprietary driver.

Create a blacklist file:

bash
sudo nano /etc/modprobe.d/blacklist-nouveau.conf

Add:

Code
blacklist nouveau
options nouveau modeset=0

Update initramfs:

bash
sudo update-initramfs -u

5. Reboot and Verify

Reboot your system:

bash
sudo reboot

After reboot, check if the driver is loaded:

bash
nvidia-smi

You should see details about your NVIDIA GPU and driver version.

Troubleshooting

  • If you get a black screen, boot into recovery mode and remove the driver (sudo apt remove --purge nvidia-*) to revert to nouveau.

  • Ensure Secure Boot is disabled in BIOS, as it can block proprietary drivers.

  • For CUDA or gaming, you may also install:

bash
sudo apt install nvidia-cuda-toolkit

Quick Recap

  • Enable non-free reposcontrib non-free non-free-firmware

  • Install driversudo apt install nvidia-driver firmware-misc-nonfree

  • Blacklist nouveau → prevent conflicts

  • Reboot & verifynvidia-smi

Would you like me to also give you a one-line installation command that sets everything up automatically, so you don’t have to edit sources manually?

Hi Copilot, when you say " Add contrib non-free non-free-firmware to each Debian mirror line. For example: deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware" ......... could you please explain to me like a child ....... since I am an average Linux user ! THANKS.

Got it 👍 Let’s break this down super simply, step by step, like story time:

🏪 Imagine Debian as a Big Store

  • Debian is like a giant supermarket full of software.

  • By default, it only shows you the “free” aisle (open-source software).

  • But your NVIDIA driver lives in the “non-free aisle” (because it’s proprietary).

📜 What’s a “mirror line”?

  • A mirror line is just an address telling Debian where to shop for software.

  • It looks like this:

    Code
    deb http://deb.debian.org/debian trixie main
    
  • Think of it as:

    • deb → “This is a software shelf.”

    • http://deb.debian.org/debian → “Here’s the store location.”

    • trixie → “This is the version of Debian you’re using.”

    • main → “This is the free aisle.”

🛒 Why add contrib non-free non-free-firmware?

  • If you only say main, Debian will only shop in the free aisle.

  • By adding:

    Code
    contrib non-free non-free-firmware
    

    you’re telling Debian:

    • contrib → “Software that’s free but depends on non-free stuff.”

    • non-free → “Proprietary software (like NVIDIA drivers).”

    • non-free-firmware → “Extra blobs of firmware your hardware needs.”

So now Debian can walk into all aisles of the store and grab the NVIDIA driver for you.

🖊️ What you actually do

  1. Open the file where Debian keeps its shopping list:

    bash
    sudo nano /etc/apt/sources.list
    
  2. Find lines that look like:

    Code
    deb http://deb.debian.org/debian trixie main
    
  3. Change them to:

    Code
    deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
    deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
    
  4. Save the file and exit.

  5. Update the shopping list:

    bash
    sudo apt update
    

✅ After this, Debian knows where to find your NVIDIA driver. It’s like telling your friend: “Don’t just buy food from the veggie aisle, also check the frozen aisle and the electronics aisle.”

Would you like me to show you the exact commands in one copy-paste block so you don’t have to edit line by line?

Thanks Copilot , it is very crystal clear ...... and I feel I have a better understanding now . Thanks Copilot.

You’re very welcome! 🎉 I’m glad it clicked into place for you — Linux can feel like a maze at first, but once you see the logic behind it, it’s just like learning the layout of a store.

Now that you’ve got the repositories sorted out, installing drivers or other software will feel much smoother. If you’d like, I can walk you through the exact one-line command to install the NVIDIA driver on Debian 13 so you don’t have to worry about editing files again.

Would you like me to show you that shortcut?

Copilot, after I run nano when I edit or add a file, could you please teach me how do I save and exit from nano with the keyboard. THANKS.

Absolutely! Let’s make this super simple 🖊️

When you’re inside nano (the text editor), here’s what you do:

📝 Steps to Save and Exit in Nano

  1. Finish editing your file → type whatever changes you want.

  2. Press Ctrl + O (that’s the letter O, not zero).

    • This means “Write Out” → it saves your changes to the file.

    • Nano will ask at the bottom: “File Name to Write: …”

    • Just press Enter to confirm.

  3. Press Ctrl + X → this means “Exit.”

    • Nano will close and you’ll be back at the terminal.

🎯 Quick Memory Trick

  • O = “Output” (save your work).

  • X = “Exit” (leave nano).

So: Ctrl+O → Enter → Ctrl+X

Would you like me to also show you a tiny practice exercise where you open a test file, type something, save, and exit — so you can try it safely without touching important system files?

Hi Copilot , after I follow your steps , I got this message " root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# apt update Get:1 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB] Get:2 http://deb.debian.org/debian trixie InRelease [140 kB] Get:3 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB] Get:4 http://deb.debian.org/debian trixie-backports InRelease [54.0 kB] Get:5 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B] Get:6 https://packages.microsoft.com/repos/edge stable InRelease [3,590 B] Get:7 http://security.debian.org/debian-security trixie-security/main Sources [118 kB] Get:8 http://deb.debian.org/debian trixie/non-free-firmware Sources [6,552 B] Get:9 http://security.debian.org/debian-security trixie-security/main amd64 Packages [95.5 kB] Get:10 http://security.debian.org/debian-security trixie-security/main Translation-en [60.3 kB] Get:11 http://deb.debian.org/debian trixie/main Sources [10.5 MB] Get:12 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,217 B] Get:13 https://packages.microsoft.com/repos/edge stable/main amd64 Packages [26.5 kB] Get:14 http://deb.debian.org/debian trixie/main amd64 Packages [9,670 kB] Get:15 http://deb.debian.org/debian trixie/main Translation-en [6,484 kB] Get:16 http://deb.debian.org/debian trixie/contrib amd64 Packages [53.8 kB] Get:17 http://deb.debian.org/debian trixie/contrib Translation-en [49.6 kB] Get:18 http://deb.debian.org/debian trixie/non-free amd64 Packages [100 kB] Get:19 http://deb.debian.org/debian trixie/non-free Translation-en [67.1 kB] Get:20 http://deb.debian.org/debian trixie/non-free-firmware amd64 Packages [6,884 B] Get:21 http://deb.debian.org/debian trixie-backports/main Sources.diff/Index [63.3 kB] Get:22 http://deb.debian.org/debian trixie-backports/main amd64 Packages.diff/Index [63.3 kB] Get:23 http://deb.debian.org/debian trixie-backports/main Translation-en.diff/Index [63.3 kB] Get:24 http://deb.debian.org/debian trixie-backports/main Sources T-2026-01-12-1959.31-F-2026-01-05-1417.48.pdiff [13.2 kB] Get:24 http://deb.debian.org/debian trixie-backports/main Sources T-2026-01-12-1959.31-F-2026-01-05-1417.48.pdiff [13.2 kB] Get:25 http://deb.debian.org/debian trixie-backports/main amd64 Packages T-2026-01-12-1959.31-F-2026-01-05-1417.48.pdiff [14.2 kB] Get:25 http://deb.debian.org/debian trixie-backports/main amd64 Packages T-2026-01-12-1959.31-F-2026-01-05-1417.48.pdiff [14.2 kB] Get:26 http://deb.debian.org/debian trixie-backports/main Translation-en T-2026-01-12-0201.29-F-2026-01-05-1417.48.pdiff [4,433 B] Get:26 http://deb.debian.org/debian trixie-backports/main Translation-en T-2026-01-12-0201.29-F-2026-01-05-1417.48.pdiff [4,433 B] Fetched 27.8 MB in 6s (4,870 kB/s) 185 packages can be upgraded. Run 'apt list --upgradable' to see them. Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Notice: Repository 'http://deb.debian.org/debian trixie InRelease' changed its 'Version' value from '13.2' to '13.3' Warning: https://packages.microsoft.com/repos/edge/dists/stable/InRelease: Policy will reject signature within a year, see --audit for details Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# nano /etc/apt/sources.list root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# apt update Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease Hit:3 https://packages.microsoft.com/repos/edge stable InRelease Hit:4 http://security.debian.org/debian-security trixie-security InRelease Hit:5 http://deb.debian.org/debian trixie-updates InRelease Hit:6 http://deb.debian.org/debian trixie-backports InRelease 185 packages can be upgraded. Run 'apt list --upgradable' to see them. Warning: https://packages.microsoft.com/repos/edge/dists/stable/InRelease: Policy will reject signature within a year, see --audit for details Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Packages (non-free-firmware/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 Warning: Target Translations (non-free-firmware/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:11 root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# Copilot , what do think could go wrong ? THANKS.

Great question 🙌 — you’re reading the warnings exactly as Debian intended. Let’s unpack what’s happening:

🔎 What the warnings mean

  • “Target Packages … is configured multiple times” → This means the same repository (the same “shopping aisle”) is listed more than once in your /etc/apt/sources.list.

  • Debian doesn’t break because of this — it just says: “Hey, you told me about the same store twice.”

  • The result: harmless duplication, but messy. It can slow down updates a little and clutter your output.

✅ What’s not wrong

  • Your repositories are working — you can see Debian fetching packages successfully.

  • You didn’t break the system. The warnings are not errors.

  • You can still install drivers and software normally.

🛠️ How to fix it (clean up duplicates)

  1. Open the sources list:

    bash
    sudo nano /etc/apt/sources.list
    
  2. Look carefully: you’ll probably see two lines that are almost identical (same URL, same “trixie main contrib non-free non-free-firmware”).

  3. Delete the duplicate line(s). Keep just one copy of each repository.

    • For example, if you see:

      Code
      deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
      deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
      

      → delete one of them.

  4. Save (Ctrl+O, Enter) and exit (Ctrl+X).

  5. Run:

    bash
    sudo apt update
    

    The warnings should disappear.

⚠️ What could go wrong if you don’t fix it

  • Nothing catastrophic — Debian will just keep warning you.

  • At worst, you’ll waste a little bandwidth and see duplicate entries when searching for packages.

  • But it won’t stop you from installing the NVIDIA driver or updating your system.

👉 So the short answer: you just have duplicate lines in your sources list. Clean them up, and the warnings will go away.

Would you like me to show you a clean example of what your /etc/apt/sources.list should look like for Debian 13 (Trixie) so you can compare and tidy yours easily?

Hi Copilot , after I run the Linux command " apt search nvidia-driver " that you taught me ........ I got the message that look something like this " root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# apt search nvidia-driver glx-alternative-nvidia/stable 1.2.2 amd64 allows the selection of NVIDIA as GLX provider libegl-nvidia0/stable 550.163.01-2 amd64 NVIDIA binary EGL library libgl1-nvidia-glvnd-glx/stable 550.163.01-2 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant) libgles-nvidia1/stable 550.163.01-2 amd64 NVIDIA binary OpenGL|ES 1.x library libgles-nvidia2/stable 550.163.01-2 amd64 NVIDIA binary OpenGL|ES 2.x library libglx-nvidia0/stable 550.163.01-2 amd64 NVIDIA binary GLX library nvidia-alternative/stable 550.163.01-2 amd64 allows the selection of NVIDIA as GLX provider nvidia-detect/stable 550.163.01-2 amd64 NVIDIA GPU detection utility nvidia-driver/stable 550.163.01-2 amd64 NVIDIA metapackage nvidia-driver-bin/stable 550.163.01-2 amd64 NVIDIA driver support binaries nvidia-driver-full/stable 550.163.01-2 amd64 NVIDIA metapackage (all components) nvidia-driver-libs/stable 550.163.01-2 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) nvidia-kernel-dkms/stable 550.163.01-2 amd64 NVIDIA binary kernel module DKMS source nvidia-kernel-source/stable 550.163.01-2 amd64 NVIDIA binary kernel module source nvidia-open-kernel-dkms/stable 550.163.01-2 amd64 NVIDIA open kernel module DKMS source nvidia-open-kernel-source/stable 550.163.01-2 amd64 NVIDIA open kernel module source xserver-xorg-video-nvidia/stable 550.163.01-2 amd64 NVIDIA binary Xorg driver root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# root@nurul-gp702pe:/home/nurul# apt search nvidia-driver glx-alternative-nvidia/stable 1.2.2 amd64 allows the selection of NVIDIA as GLX provider libegl-nvidia0/stable 550.163.01-2 amd64 NVIDIA binary EGL library libgl1-nvidia-glvnd-glx/stable 550.163.01-2 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant) libgles-nvidia1/stable 550.163.01-2 amd64 NVIDIA binary OpenGL|ES 1.x library libgles-nvidia2/stable 550.163.01-2 amd64 NVIDIA binary OpenGL|ES 2.x library libglx-nvidia0/stable 550.163.01-2 amd64 NVIDIA binary GLX library nvidia-alternative/stable 550.163.01-2 amd64 allows the selection of NVIDIA as GLX provider nvidia-detect/stable 550.163.01-2 amd64 NVIDIA GPU detection utility nvidia-driver/stable 550.163.01-2 amd64 NVIDIA metapackage root@nurul-gp702pe:/home/nurul# So , Copilot ........ there are so many drivers given to me ...... so , how do I know which is the correct graphics driver to install ........ which is the right graphics driver to install with respect to the graphics driver that is inside my MSI GP70 2PE Leopard Laptop which is clearly shown on the Laptop cover called NVIDIA 840M ???? Finally , after finding which is the correct graphics driver to install ......... Copilot , could you please teach me or give me a step-by-step proedure how to install that particular driver ? THANKS Copilot.

Picking the right NVIDIA driver for GeForce 840M on Debian 13

You’ve got an Optimus laptop (Intel iGPU + NVIDIA 840M). The clean path is to install Debian’s nvidia-driver metapackage—it pulls the correct components for your GPU and kernel automatically. The long list you saw are building blocks; you don’t need to pick them one by one.

  • Good news: GeForce 840M (Maxwell) is supported by current proprietary drivers, so the nvidia-driver package you see (version 550.xx) is fine.

  • Double‑check: Run nvidia-detect—it tells you exactly which Debian package to install.

bash
sudo apt install nvidia-detect
nvidia-detect

If it says “recommended: nvidia-driver”, you’re set—use the metapackage.

Step-by-step installation (Optimus-friendly)

1) Prepare repositories and headers

  • Update package lists:

bash
sudo apt update
  • Install kernel headers and DKMS (needed to build the NVIDIA kernel module):

bash
sudo apt install linux-headers-$(uname -r) dkms

2) Install the NVIDIA driver (metapackage)

  • Install the driver and firmware:

bash
sudo apt install nvidia-driver firmware-misc-nonfree

This pulls in nvidia-kernel-dkms, xserver-xorg-video-nvidia, and the GL/EGL libraries automatically.

3) Handle Optimus (Intel + NVIDIA)

Debian uses PRIME (no Bumblebee needed). Install the helper tools:

bash
sudo apt install nvidia-settings nvidia-prime
  • Default behavior: Your laptop will use Intel graphics for the desktop (better battery), and you can offload apps to NVIDIA when you want performance.

4) Optional: disable nouveau if it conflicts

Most of the time Debian handles this, but if you see a black screen or module conflicts:

bash
echo -e "blacklist nouveau\noptions nouveau modeset=0" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
sudo update-initramfs -u

5) Reboot

bash
sudo reboot

Verify the installation

  • Check the driver is loaded:

bash
nvidia-smi

You should see your 840M listed with the driver version.

  • Check PRIME offload works (run an app on NVIDIA):

bash
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep "OpenGL renderer"

If it prints an NVIDIA renderer, offload is working.

  • Run a program on NVIDIA (example):

bash
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia firefox

Common pitfalls and quick fixes

  • Secure Boot enabled: It can block the NVIDIA module. If nvidia-smi fails and you’re using Secure Boot, disable Secure Boot in BIOS and reboot.

  • Duplicate repo lines: Clean up duplicates in /etc/apt/sources.list to remove warnings, then sudo apt update.

  • Black screen after install: Boot to recovery/TTY and revert:

bash
sudo apt remove --purge 'nvidia-*'
sudo rm /etc/modprobe.d/blacklist-nouveau.conf
sudo update-initramfs -u
sudo reboot

Quick install—copy/paste block

If your repos are already set with contrib non-free non-free-firmware, this single block does everything:

bash
sudo apt update \
&& sudo apt install -y linux-headers-$(uname -r) dkms nvidia-detect \
&& nvidia-detect \
&& sudo apt install -y nvidia-driver firmware-misc-nonfree nvidia-settings nvidia-prime \
&& sudo reboot

If nvidia-detect suggests something different, tell me what it prints and I’ll tailor the next step.

No comments:

Post a Comment