Install NVIDIA [525.53 / 520.56.06 / 515.76 / 470.141.03 / 390.154 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE - Comment Page: 3

This is guide, howto install NVIDIA proprietary drivers (manually using .run files) on Debian Sid/11/10, Ubuntu 22.04/21.10/21.04/20.10, Linux Mint 20.3 / 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 40 series cards works with 525.xx, 520.xx, 515.xx, 510.xx, 470.xx NVIDIA drivers, (RTX 4090) GeForce RTX 30 series cards works with 525.xx, 520.xx, 515.xx, 510.xx, 470.xx NVIDIA drivers, (RTX 3090, RTX 3080, RTX 3070, RTX 3060 Ti, RTX 3060) GeForce RTX 20...

88 comments on “Install NVIDIA [525.53 / 520.56.06 / 515.76 / 470.141.03 / 390.154 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE - Comment Page: 3

1 2 3 4
    1. Hello! Worked for me with the configuration below!
      With the Installer Version 390.147 it seems not to be working, but maybe I made sth. wrong. With kernel it also did’nt work.

      nvidia-installer -v |grep version:
      nvidia-installer: version 390.144 (dvs-builder@U64-P10-09) Wed Jun 2

      uname -a:
      Linux messrechner 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”:
      01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)

    2. You are a legend! – Thank you for taking the time to do this!

      It took a bit of trial and error, mainly around Cuda due to my Hashcat objectives.

      nvidia-installer: version 470.94

      Linux 5.15.0-kali2-amd64 #1 SMP Debian 5.15.5-2kali2 (2021-12-22) x86_64 GNU/Linux

      00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

      01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GTX 660M] (rev a1)


      Appreciate the effort in doing this and sharing

      • In addition:
        If there are some ideas around the following I get, its not a major pain, however I am sure there are some speed gains from a proper config… there are some notes on hashcat git about this, not entirely helpful though

        hashcat -I

        # output
        Successfully initialized NVIDIA CUDA library.

        Failed to initialize NVIDIA RTC library.

        * Device #2: CUDA SDK Toolkit not installed or incorrectly installed.
        CUDA SDK Toolkit required for proper device support and utilization.
        Falling back to OpenCL runtime.

    3. Hi. First of all, thank you for your great job.
      Only a doubt. Does this procedure allow to use wayland instead of X11?
      Thanks again

    4. Worked for me! Thanks! I’d been living with screen freezes for months. What a relief. Thought it was a hardware problem till now.
      Nvidia 340.108 with patches. OS 5.13 Ubuntu 21.10 Dell Optiplex 990
      lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 8400 GS Rev. 3] (rev a2)

    5. Whoops It’s Ubuntu 22.10 not 21.10

    6. Hi, Thank you for the detailed procedure. I was able to follow it till step 2.8.5. I got an error: Unable to load the ‘nvidia-drm’ kernal module.

      I have update my kernel and tried it again. But so far no luck.
      I have a 11th Gen Inter Core i9 (11950H) with NVIDIA RTX 3080.
      I would highly appreciate your help. Thanks.

    7. Hi, I tried to install using the above procedure. But I got stuck at 2.8.5.
      I get the error “unable to load the nvidia-drm kernal module. I have HP Zenbook with core i9 and RTX 3080.
      Any help would be appreciated.

    8. nvidia-installer -v |grep version
      > nvidia-installer: version 510.54

      uname -a
      > Linux one 5.16.0-4-amd64 #1 SMP PREEMPT Debian 5.16.12-1 (2022-03-08) x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”
      > 01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev a1)
      > 02:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev a1)


    9. Urgent plz,

      I applied this method on Ubuntu 22 jammy, driver : 340.108 (G210)

      And linux won’t start anymore, I got a strange screen asking to contact the administrator.

      Any advice plz,

      Note : this method worjed perfectly on ubuntu 20.04.

      • This is not tested on Ubuntu 22.04 Jammy, I will check this soon. Maybe some Wayland / Xorg config problem.

    10. this is not working for nvidia 340.108 on Ubuntu 22.04

      • Thanks for reporting, this is not tested with Ubuntu 22.04 yet.

    11. Strange thing. It works for me on fedora 35, but it didin’t on debian 11.

      I got still pretty good working ASUS 8800GT. Such a waste to not use it for main purpose, it still can do something.

      Freshly installed Fedora 35, guided by manual, succeed. Kernel 5.16. GDM starts, gnome starts, it works smoothly. But i don’t really like fedora for it’s “fresh” taste. So decided to clean install new Debian Bullseye.
      Driver installed, no errors, change boot target to graphical, after reboots and see only cursor on black screen. Not a white blinking cursor in top left corner, but natural graphical pointer, like in an obvious graphical environment.
      I have no idea what happened. But i had out of time, so was decided to go back to fedora.
      And in new, freshly installed system your guide worked again.

      Now i’m just interested, what could it be?

    12. I’m using PopOS 22.04, kernel 5.17.5, I ran the tutorial for many months with each kernel change, only with the detail of “dracute-core” and “update-initramfs”, everything always worked.
      In this last kernel change nothing worked, I did more than 5 times the tutorial, I redid some isolated parts but it was simply impossible to make it work, the installation in the nvidia driver always gave an error and did not complete, the only salvation was a “ubuntu-drivers autoinstall” that magically resurrected my PopOS, I don’t know what was done behind the scenes, but it fixed it.

    13. Had to downgrade to Ubuntu 20.04 because it didn’t work on 22.04. Current specs:

      nvidia-installer -v |grep version
      nvidia-installer: version 340.108 (buildmeister@swio-display-x64-rhel04-01)

      uname -a
      Linux ultra24 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”
      02:00.0 VGA compatible controller: NVIDIA Corporation G84GL [Quadro FX 1700] (rev a1)

    14. After I installed the Driver (510.68.02 with Geforce RTX 3060), I couldn’t log in anymore. Every time I entered my keyword, my screen turned black for a few seconds and it showed the log-in-screen again.

      • Hello Egal,

        What Linux distro you are running?

    15. Disabling intel grafics in bios, helped with Black screen after reboot to runlvl 3, apparently it default back to intel when removing the drivers, resulting in Black screen if connect to Nvidia card.

      I7 2600k, GTX 580, ASUS Xtreame Z IV mobo.

1 2 3 4

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.

Exit mobile version