Install NVIDIA [495.44 / 470.86 / 390.144 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE - Comment Page: 2

This is guide, howto install NVIDIA proprietary drivers (manually using .run files) on Debian Sid/11/10, Ubuntu 21.10/21.04/20.10, Linux Mint 20.2 / 20.1, LMDE 4 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30 series cards. This is alternative way to install NVIDIA drivers, because Debian based Linux distros have NVIDIA drivers directly from repos too. GeForce RTX 30 series cards works with 495.xx, 470.xx, 465.xx and 460.xx NVIDIA drivers, (RTX 3090, RTX 3080, RTX 3070, RTX 3060 Ti, RTX 3060) GeForce RTX 20 series cards works with 495.xx, 470.xx, 465.xx, 460.xx and 450.xx NVIDIA drivers (RTX 2080 Ti, RTX 2080, RTX 2070 Ti, RTX...

44 comments on “Install NVIDIA [495.44 / 470.86 / 390.144 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE - Comment Page: 2

1 2
    1. I tried to install the driver 340.108 for the GPU GEForce 8200M G, in Debian 11 stable, the whole procedure was successful, but now after the grub screen it just stays on a black screen.

      What can I do?

      • Hello Abts,

        Could you post output of following command:

        lspci |grep -E "VGA|3D"

        I assume that this is mobile device and real problem is NVIDIA Optimus technology. You can check more information from before install step. 1.2.

        Is it possible to disable NVIDIA Optimus/Intel integrated graphics from BIOS/UEFI?

        • [email protected]:~$ lspci |grep -E “VGA|3D”

          02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200M G] (rev a2)

      • reinstall Debian from scratch. not a lot of ‘Working-solutions’ out here.
        Fedora has issues, Ubuntu 20.04, 21.04, and 21.10 are completely useless!
        I must have >20 crash/freeze reinstall to date.
        Linux Mint will install NVIDIA from the get-go

    2. Thank you for the article, it would have been much better if it also explained (or with links) WHY instead of just HOW.
      I do not like blindly following a set of commands without understanding possible side effects.

      • Hello oglop,

        Could you tell some step(s) where you need some more specific explanation?

    3. After following this guide I completely messed up my drivers when trying to install 470.82.

      I managed to restore back to default but now the second screen is not detected :(

    4. gt700 cards are not working with any driver higher than 390 …

    5. hi , i have 2 cards :

      01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)
      04:00.0 3D controller: NVIDIA Corporation GP106 [P106-100] (rev a1)

      With this guide have both of them working using the driver 390.xx on Debian 11 at last …. and after kernel update no need any more driver reinstall!!!! this is super :) <3 Big Thanks for your help :-)

      • Hello pantelis,

        You’re welcome! Excellent to hear that you got your both cards working!

    6. Sry forgot to add my system info :

      nvidia-installer: version 390.144 ([email protected]) Wed Jun 2 22:57:03 UTC 2021

      5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)
      04:00.0 3D controller: NVIDIA Corporation GP106 [P106-100] (rev a1)

      Thank you again .

    7. I hit a ‘dead end’ @ “dracut -q /boot/initrd.img-$(uname -r) $(uname -r)”

      The Response to:-
      [email protected]:/home/ddd#
      dracut -q /boot/initrd.img-$(uname -r) $(uname -r)
      libkmod: ERROR ../libkmod/libkmod-config.c:657 kmod_config_parse: /etc/modprobe.d/blacklist.conf line 56: ignoring bad line starting with GRUB_CMDLINE_LINUX_DEFAULT=”quiet’
      dracut: Will not override existing initramfs (/boot/initrd.img-5.13.0-20-generic) without –force
      [email protected]:/home/ddd#

      • Hello Donie,

        Looks like that you something strange in your blacklist.conf?

        Could you post full content of:

    8. Works great thank you. Have the security flaws in the 340x & 390x series been patched too? Or do we have a heap of old/new systems with known exploit points publicly announcing there presence, email address, browser, system and ip details?

      • *installer: nvidia-installer: version 340.108 ([email protected]) Wed Dec 11 15:13:39 PST 2019
        *linux: Linux sonics 5.14.0-2-amd64 #1 SMP Debian 5.14.9-2 (2021-10-03) x86_64 GNU/Linux
        *PCI:3D/VGA 01:00.0 VGA compatible controller: NVIDIA Corporation G84GLM [Quadro FX 570M] (rev a1)

        *graphics related system info:

        Graphics: Device-1: NVIDIA G84GLM [Quadro FX 570M] vendor: Hewlett-Packard driver: nvidia v: 340.108 bus-ID: 01:00.0
        chip-ID: 10de:040c
        Display: x11 server: X.Org 1.20.11 compositor: compton driver: loaded: nvidia resolution: 1920×1200~60Hz s-dpi: 96
        OpenGL: renderer: Quadro FX 570M/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 direct render: Yes

      • You’re welcome!

        I use mainly Arch Linux patches, but some modifications is needed sometimes to get everything work with other distros.

        I think that many security related thing is fixed, but there is still a lot of totally closed source code which NVIDIA only can fix.

    9. Thank you for the wonderful tutorial! I used it on Pop!_OS 20.04 LTS. Only had to make a minor modification on steps 2.5 and 2.6.4.

      It seems installing ‘dracut’ causes ‘popos-desktop’ to be uninstalled. So I installed ‘dracut-core’ only in step 2.5.

      For 2.6.4 I simply used ‘update-initramfs’ to generate the new initrd image.

      Thanks again! System info below:

      nvidia-installer: version 340.108 ([email protected]) Wed Dec 11

      Linux pop-os 5.13.0-7620-generic #20~1634827117~20.04~874b071-Ubuntu SMP Fri Oct 29 15:53:28 UTC x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GT215GLM [Quadro FX 1800M] (rev a2)

      • You’re welcome! Nice to hear that this method works with Pop!_OS too!

    10. Unfortunately 418.113 does not work on Ubuntu 21.10 with it’s default kernel (5.13). It installs and nvidia-smi detects the GPU but gives a black screen when loading Xorg. I have to manually modify xorg.conf and set device to iGPU and reboot to get picture. Restarting GDM isn’t enough.

      It’s a shame this is happening. This alienates all 800M or older owners from having Vulkan 1.1 on newer distros.

    11. I got an error which was error failed to run /usr/sbin/dkms add -m nvidia -v 470.86 -k 5.4.0-90 generic’: dkms tree already contains:nvidia 470.86 but now it started to work but is stuck at %5 which is it was stuck there before

      • Looks like YouTube removed your comment.

        I haven’t see this happening, but have heard this. What happens, if you run installer without using dkms? This is not of course permanent solution, but just to see possible errors.

        • I have fixed it the issue was secure boot I accidentally chose the wrong option.

1 2

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.