Fedora 32/31/30 nVidia Drivers Install Guide - Comment Page: 107

This is guide, howto install nVidia proprietary drivers on Fedora 32/31/30/29/28 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700/800/900/10/20 series cards. GeForce 20 series cards works with 450.xx nVidia drivers GeForce 600/700/800/900/10 series cards works with 390.xx and 450.xx nVidia drivers GeForce 400/500 series cards works with 390.xx nVidia drivers GeForce 8/9/200/300 series cards works with 340.xx nVidia drivers [inttf_post_ad1] This is totally different guide than my earlier guides, like Fedora 20 nVidia driver install. This guide uses nVidia drivers directly from nVidia site and dkms to help on kernel updates. Have...

2,817 comments on “Fedora 32/31/30 nVidia Drivers Install Guide - Comment Page: 107

1 105 106 107 108 109
    1. # nvidia-installer -v |grep version
      nvidia-installer: version 440.82

      # uname -a
      Linux localhost.localdomain 5.0.9-301.fc30.x86_64 #1 SMP Tue Apr 23 23:57:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

      # lspci |grep -E “VGA|3D”
      02:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1)

      Hi. I followed the detailed (and excellent) instructions carefully, but I had an error occur (I tried 3 times). The error is:

      ERROR: Unable to load the ‘nvidia-drm’ kernel module.

      And that ends the installation process, I am left with the command line from then on.

      Any help would be very much appreciated.

      Reply
      • Hello Neil,

        Do you have secureboot enabled? You can check this from UEFI/BIOS or might found answer using following command too:

        dmesg |grep secureboot
        Reply
        • Hi JR, I got the same error and secureboot on my system is disabled

          Reply
      • I was getting this error as well today when trying to upgrade to the 450.57 version.

        I am running Fedora 32 with Kernel Version 5.7.8-200.fc32.x86_64. The dkms RPM was upgraded a few days ago to 2.8.2-1.fc32 that was released at the beginning of July. I found that dkms wasn’t building the modules (running `dkms build nvidia/450.57` on the command line instantly returned). I downgraded the dkms rpm to the previous version (2.8.1-4.20200214git5ca628c.fc32) and was able to successfully complete the nvidia installation.

        NOTE: I was also able to get around the error by not building the modules via dkms which led me to look closer at dkms. When I have some time I’ll retest with the latest dkms.

        Reply
    2. Apperantly the 5.7 kernel also needs a patch with the 340.108 driver. I managed to install it with the below 3 patches and DKMS. Blacklist noveau and so on was done as described in the current guide by JR.

      https://forums.developer.nvidia.com/t/patches-for-340-108-and-5-6-rc-need-help-with-driver-init/111760/12

      – Download the NVIDIA-Linux-x86_64-340.108.run
      – ./NVIDIA-Linux-x86_64-340.108.run –extract-only
      – cd NVIDIA-Linux-x86_64-340.108
      – apply the 3 patches – “patch -p1 < patchfile" (this is one, not "L")
      – ./nvidia-installer

      Reply
    3. [[email protected] ~]$ nvidia-installer -v |grep version
      nvidia-installer: version 440.100
      [[email protected] ~]$ uname -a
      Linux corsair1.neb401.com 5.7.7-200.fc32.x86_64 #1 SMP Wed Jul 1 19:53:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      [[email protected] ~]$ lspci |grep -E “VGA|3D”
      17:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN Xp] (rev a1)
      65:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN Xp] (rev a1)
      [[email protected] ~]$

      Reply
    4. Thanks. Worked like a charm. So nice to see nvidia and linux have matured and made this process much smoother than it was 10 years ago.

      $ nvidia-installer -v |grep version
      nvidia-installer: version 450.51

      $ uname -a
      Linux localhost.localdomain 5.7.7-200.fc32.x86_64 #1 SMP Wed Jul 1 19:53:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

      Reply
      • Hi iainlbc,

        Nice to hear that you got everything working. I totally agree that the current situation is much better than 10 years ago. Ubuntu and some other distros have even “one click” install for nVidia drivers. This situation won’t change easier on Fedora maybe ever, because Fedora people try to build free and open source platform and nVidia drivers are proprietary.

        Reply
    5. Thanks fir the great site by the way.

      Thinkpad W520 with Optimus and Quadro1000M – Fedora 32 kernel 5.7 …These should be the 390 drivers but NVIDIA site only has available for download versions for 5.6.
      Any chance of getting this to work ?
      It failing the build and it looks you did not test yet 5.7 ?

      Reply
      • Hi Susan,

        Latest nVidia 390.138 should work without any patch with 5.7 kernel. I tested it with kernel 5.7.7 (check screenshot 3.3). What errors you get when you try to install it?

        Reply
        • Tried again and …you are right …it works!

          # nvidia-installer -v |grep version
          nvidia-installer: version 390.138 ([email protected])

          # uname -a
          Linux localhost.localdomain 5.7.7-200.fc32.x86_64 #1 SMP Wed Jul 1 19:53:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

          # lspci |grep -E “VGA|3D”
          00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
          01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [Quadro 1000M] (rev a1)

          I had only one problem. Lost access to the two external DVI connected monitors. I am on a Thinkpad W520 with Docking Station.

          Was solved by manually creating a nvidia.conf
          at /etc/X11/xorg.conf.d with the contents as below:
          #######################
          # Manually created

          Section “OutputClass”
          Identifier “nvidia”
          MatchDriver “nvidia-drm”
          Driver “nvidia”
          Option “AllowEmptyInitialConfiguration”
          Option “SLI” “Auto”
          Option “BaseMosaic” “on”
          Option “PrimaryGPU” “yes”
          EndSection

          Section “ServerLayout”
          Identifier “layout”
          Option “AllowNVIDIAGPUScreens”
          Option “PrimaryGPU” “yes”
          EndSection
          #######################

          Reply
    6. Thanks working well

      nvidia-installer: version 450.57
      Linux tgn-ws01-tgn-home 5.7.6-201.fc32.x86_64 #1 SMP Mon Jun 29 15:15:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      29:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

      Reply
    7. 340xx driver 32 bit not working. Especially I can’t enter Steam.

      Reply
    8. Hello, I followed your guide up until the installation portion and, then I get an error saying that “Unable to load the ‘nvidia-drm’ kernel module”. when I do lspci -nnk I see that my GTX 950 has nouveau next to “Kernel modules”. Long before doing this, I followed this guide, https://qubitrenegade.com/virtualization/kvm/vfio/2019/07/17/VFIO-Fedora-Notes.html, to load vfio for non-boot gpus. Not sure if that may have impacted the installation.

      Reply
    9. Since kernel 5.7.8-200.fc32.x86_64
      i am not able to activate nvidia …. 108 driver.
      I am using :NVIDIA-Linux-x86_64-340.108-patched-kernel-5.7.run.

      just patchable to 5.7. and under ?

      Reply
    10. Forget my last comment. It works ! Thx 4 your Updates.

      Reply
    11. Thanks so much. This has worked wonderfully up until my two latest kernel updates.

      DKMS is failing to build (for me) since kernel 5.7.7-100.fc31

      I’m happy to provide the make.log but I’m having trouble locating it.

      Reply
      • To add, I’m running the 440.82 drivers.

        Reply
    12. Awesome guide, thanks.

      Install was a success:

      [[email protected] ~]# nvidia-installer -v | grep version
      nvidia-installer: version 440.100
      [[email protected] ~]# uname -a
      Linux siim.in.####.ee 5.7.9-200.fc32.x86_64 #1 SMP Fri Jul 17 16:23:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      [[email protected] ~]# lspci |grep -E ‘VGA|3D’
      01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

      Reply
    13. Thanks! It worked fine :D

      nvidia-installer: version 450.57

      Linux crobles-personal-pc 5.7.10-201.fc32.x86_64 #1 SMP Thu Jul 23 00:58:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

      0a:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 Rev. A] (rev a1)

      Reply
    14. Success:

      nvidia-installer: version 450.57
      Linux localhostdomain 5.7.10-201.fc32.x86_64 #1 SMP Thu Jul 23 00:58:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
      02:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)

      Reply
1 105 106 107 108 109

Leave a Reply to hesparza Cancel 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