Fedora 37/36/35 NVIDIA Drivers Install Guide [530.30.02 / 525.89.02 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 74

This is guide, howto install NVIDIA proprietary drivers (manually using .run installer) on Fedora 37/36/35/34/33/32 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30/40 series cards. GeForce RTX 40 series cards works with 530.xx, 525.xx, 520.xx NVIDIA drivers, (RTX 4090) GeForce RTX 30 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers, (RTX 3090, RTX 3080 and RTX 3070, RTX 3060, RTX 3060 Ti) GeForce RTX 20 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers (RTX 2080 Ti, RTX 2080, RTX 2070 Ti, RTX 2070, RTX 2060) GeForce GT/GTX 600/700/800/900/10 series...

3,232 comments on “Fedora 37/36/35 NVIDIA Drivers Install Guide [530.30.02 / 525.89.02 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 74

1 72 73 74 75 76 127
    1. I needed to reinstall a nvidia driver for the Linux Kernel 4.18.7 (driver 396.24 used to work on the Kernel 4.17.X) and it works.

      $ nvidia-installer -v | grep version
      nvidia-installer: version 396.54 ([email protected]) Wed Aug 15 00:22:39 PDT 2018
      $ uname -a
      Linux omen 4.18.7-200.fc28.x86_64 #1 SMP Mon Sep 10 15:44:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci | grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)

      Reply
    2. Thank you! Worked perfectly.
      GTX 460, kernel 4.18.7-200.fc28.x86_64
      Nvidia 390.87

      Reply
    3. $ nvidia-installer -v |grep version
      nvidia-installer: version 390.87 ([email protected]) Tue Aug 21 17:33:51 PDT 2018

      $ uname -a
      Linux host 4.18.7-100.fc27.x86_64 #1 SMP Thu Sep 13 18:41:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

      Reply
    4. # nvidia-installer -v |grep version
      nvidia-installer: version 396.54 ([email protected])

      #uname -a
      Linux localhost.localdomain 4.16.3-301.fc28.x86_64 #1 SMP Mon Apr 23 21:59:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      #
      # lspci |grep -E “VGA|3D”
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
      01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
      [[email protected] Downloads]#

      Reply
    5. Upon finishing this install guide, when booting up into my GRUB bootloader menu I now have two Fedora options. The new option does not boot and always gets stuck in the same place.
      I have dual booted with windows 10 and Linux has never been able to shut down properly and after disabling nouveau it almost shut down once, but after that it just freezes if ever try to reboot or shutdown from the Linux side.

      Reply
      • Hi Austin G,

        This is not normal behavior. Could you please post output of following commands:

        nvidia-installer -v |grep version
        
        uname -a
        
        lspci |grep -E "VGA|3D"
        
        lsmod |grep -E "nouveau|nvidia"
        
        rpm -qa kernel\* |sort -V
        Reply
    6. Success for driver installation, BUT failure in dkms build

      nvidia-installer: version 396.54

      Linux 4.18.7-200.fc28.x86_64

      01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 630 OEM] (rev a1)

      $ dkms status
      Error! Could not locate dkms.conf file.
      File: /var/lib/dkms/nvidia/396.24/source/dkms.conf does not exist.

      Reply
    7. Hi, I have followed the instructions ins this page (plus the instructions for nvidia Optimus), and everything seems fine, just the nvidia Xserver is not installed. Should I install it by my way? Or something went wrong?
      How can I verify if everything went well?

      Reply
    8. Hi! Thanks for the tutorial. I have first installed the Optimus “driver”, then followed the steps from here, and everything seems to be fine, it’s just that I haven’t installed the Nvidia xServer, should I install it by myself?

      Here I leave the output of the commands:

      $ nvidia-installer -v |grep version

      nvidia-installer: version 390.87 ([email protected])

      $ uname -a

      Linux fedora 4.18.7-200.fc28.x86_64 #1 SMP Mon Sep 10 15:44:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      $ lspci |grep -E “VGA|3D”

      00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
      01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)

      Reply
      • Hello Rhagho,

        I’m not sure what you mean with nVidia xServer? Could you post more specific info what package(s) you mean exactly?

        Reply
    9. $ nvidia-installer -v |grep version
      nvidia-installer: version 390.87 ([email protected])

      $ nvidia-installer -v |grep version
      nvidia-installer: version 390.87 ([email protected])

      $ lspci |grep -E “VGA|3D”
      03:00.0 VGA compatible controller: NVIDIA Corporation GK106GL [Quadro K4000] (rev a1)

      Thank you so much :-)

      Reply
    10. Thanks it worked for me

      Reply
    11. Man you are a lifesaver :)
      nvidia-installer: version 390.87
      Linux localhost.localdomain 4.16.11-100.fc26.x86_64 #1 SMP Tue May 22 20:02:12 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
      01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

      Reply
    12. The solution worked, but gdm crashed upon driver installation and gdm would not start at boot.

      Temporary solution: boot into runlevel 3 and use command start X

      Current permanent solution: disabled gdm and installed and enabled lightdm

      nvidia-installer: version 396.54 ([email protected]) Wed Aug 15 00:22:39 PDT 2018

      Linux PC-Fedora 4.18.7-100.fc27.x86_64 #1 SMP Thu Sep 13 18:41:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      03:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN X] (rev a1)

      Reply
      • Hi Kevin,

        Yes unfortunately this happens with some cards + drivers, and it’s hard to say is this GDM or nVidia drivers bug.

        One possible solution is following:
        Set nvidia-drm.modeset=0 in GRUB and uncomment the line WaylandEnable=false in /etc/gdm/custom.conf

        Reply
    13. On Clean Fedora 28 install ( Mac Pro 2009) using Nvidia Unpatched 390.87 with Geforce GTX 780 gives black screen …

      DO I need t to patch the driver for kernel 4.18.X ?

      Reply
      • Hi Viktor,

        No you shouldn’t need patched driver, this problem is something else. Could you first post output of following command:

        lspci |grep -E "VGA|3D"
        Reply
        • I had this problem with kernel 4.18 and the latest driver as well (396.54)

          I solved it by skipping step 2.4, which then means you have to modify step 2.5 to install the kernel-* packages for the older kernel, i.e.

          dnf install kernel-devel-4.13.9-300.fc27.x86_64
          dnf install kernel-devel-4.13.9-300.fc27.x86_64

          where 4.13.9-300.fc27.x86_64 is obtained by running uname -a

          I also installed an older driver – 384.59, so not 100% sure if there’s a dependency between the nvidia driver version and the kernel version

          $ nvidia-installer -v |grep version
          nvidia-installer: version 384.59 ([email protected])
          $ uname -a
          Linux localhost.localdomain 4.13.9-300.fc27.x86_64 #1 SMP Mon Oct 23 13:41:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
          $ lspci |grep -E “VGA|3D”
          02:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
          03:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
          $nvidia-smi
          Wed Oct 3 16:47:09 2018
          +—————————————————————————–+
          | NVIDIA-SMI 384.59 Driver Version: 384.59 |
          |——————————-+———————-+———————-+
          | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
          | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
          |===============================+======================+======================|
          | 0 GeForce GTX 108… Off | 00000000:02:00.0 Off | N/A |
          | 0% 38C P8 12W / 250W | 2MiB / 11172MiB | 0% Default |
          +——————————-+———————-+———————-+
          | 1 GeForce GTX 108… Off | 00000000:03:00.0 On | N/A |
          | 0% 45C P5 24W / 250W | 209MiB / 11169MiB | 2% Default |
          +——————————-+———————-+———————-+

          +—————————————————————————–+
          | Processes: GPU Memory |
          | GPU PID Type Process name Usage |
          |=============================================================================|
          | 1 1177 G /usr/libexec/Xorg 19MiB |
          | 1 1272 G /usr/bin/gnome-shell 45MiB |
          | 1 1661 G /usr/libexec/Xorg 68MiB |
          | 1 1763 G /usr/bin/gnome-shell 72MiB |
          +—————————————————————————–+

          Anyway thanks for the help – now I can hopefully install CUDA / tensorflow-gpu…

          Reply
          • Hi David,

            Kernel 4.18 works nicely with latest nVidia drivers. And actually you don’t have problem with kernel at all?

            I read your another comment. Installer works, and even your drivers works? You verified it on runlevel 3. Your problem is GDM, if you upgrade Fedora 28 you got GDM working and if you really need Fedora 27, then you could change GDM to some another Display Manager, like LXDM, LightDM, KDM.

            Reply
            • Ah right thanks, I’ll try that. I’m fairly new on linux – but I’ve learned a lot. This is definitely the most comprehensive / correct guide I’ve found!

              What I’m actually trying to do is build a machine learning workstation. I need nvidia CUDA and google tensorflow-gpu. It’s quite a pain as tensorflow-gpu requires cuda 9.0 and python 3.5, and cuda 9.0 is only supported on fedora 25 and requires gcc < 6!

              So I think I'll try Fedora 28, use your tutorial but install the cuda 9.2 package from nvidia (which contains the driver), and then I've found a tutorial on updating the cuda headers so they can be compiled with GCC 7.x and then use a python virtual env and compile tensorflow-gpu from source…

              I'm getting really good at re-installing linux…

              David

              Reply
    14. Hello
      I had a problem with installing 390.87 driver. the error was telling me that the headers are not found in /lib/modules/ for the kernel.

      I have manage to solve this issue by installing the header versions for the kernel with this cmd:

      sudo yum install “kernel-devel-uname-r == $(uname -r)”

      Reply
    15. Thank you for this great blog.

      Works fine now.
      nvidia-installer -v |grep version
      nvidia-installer: version 390.87 ([email protected]) Tue Aug 21 17:33:51 PDT 2018 uname -a
      Linux localhost.localdomain 4.18.9-200.fc28.x86_64 #1 SMP Thu Sep 20 02:43:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

      Reply
1 72 73 74 75 76 127

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.

Close