Fedora 31/30/29/28 nVidia Drivers Install Guide - Comment Page: 100

This is guide, howto install nVidia proprietary drivers on Fedora 31/30/29/28/27 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 440.xx nVidia drivers GeForce 600/700/800/900/10 series cards works with 390.xx and 440.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,653 comments on “Fedora 31/30/29/28 nVidia Drivers Install Guide - Comment Page: 100

1 98 99 100 101
    1. Thanks for the hard work!

      Viktor from Russia, with love.

      Reply
    2. GeForce GT 730

      NVIDIA-Linux-x86_64-390.132

      I got rid of tearing.

      Reply
    3. Perfect,

      nvidia-installer: version 390.132 ([email protected]) Fri Nov 1 05:16:00 PDT 2019
      Linux doont 5.4.19-200.fc31.x86_64 #1 SMP Wed Feb 12 15:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 560 Ti OEM] (rev a1)

      Reply
    4. Thank you so much for this, this is really helpful!

      I’ve installed the drivers (almost) successfully, took me some moment to realize that the short-lived version of the driver was actually *older* than the long-lived one. So if anyone does the same mistake than me, especially if you run with kernel 5.4, make sure to download the driver 440 (or +) and not 435 else you may run into a bunch of issues (DKMS build failing, bad return status, logs showing some sanity checks failing) :-)

      After all, the driver was successfully installed for me: kernel 5.4.19-200.fc31.x86_64
      $ nvidia-settings -v | grep version
      nvidia-settings: version 440.59

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

      But i’ve some troubles with vulkan, it seems to not find the libs it’s looking for:

      $ vulkaninfo
      ERROR: [Loader Message] Code 0 : /usr/lib/libvulkan_intel.so: wrong ELF class: ELFCLASS32
      ERROR: [Loader Message] Code 0 : libGLX_nvidia.so.0: cannot open shared object file: No such file or directory
      ERROR: [Loader Message] Code 0 : libGLX_nvidia.so.0: cannot open shared object file: No such file or directory
      ERROR: [Loader Message] Code 0 : /usr/lib/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
      vulkaninfo/vulkaninfo.h:477: failed with ERROR_INITIALIZATION_FAILED

      I guess the “intel” and “radeon” errors would go away if it was able to find libGLX_nvidia … but I don’t have anything like this on my system, what I have is /usr/lib/libGLX.so.0 or /usr/lib/libGLX_mesa.so.0 … I haven’t tried to symlink them (not sure if it’s a good idea?)

      Any suggestion?

      Reply
    5. Hi,

      I have Fedora 30 (upgraded from F28 through F29) and new nVidia driver reinstalled.

      Since Fedora upgrade, while kernel update I get dracut error.

      After a line like this:
      Running scriptlet: kernel-core-5.4.19-100.fc30.x86_64
      The message appears:
      dracut-install: Failed to find module ‘nvidia’
      dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.oYDafs/initramfs –kerneldir /lib/modules/5.4.19-100.fc30.x86_64/ -m nvidia nvidia_modeset nvidia_uvm nvidia_drm

      Command:
      >dkms status
      shows:
      nvidia, 440.44, 5.4.14-100.fc30.x86_64, x86_64: installed
      nvidia, 440.44, 5.4.17-100.fc30.x86_64, x86_64: installed
      nvidia, 440.44, 5.4.19-100.fc30.x86_64, x86_64: installed

      Directory:
      /lib/modules/5.4.19-100.fc30.x86_64/extra/
      contains:
      drwxr-xr-x. 9 root root 4096 02-19 22:01 drivers
      drwxr-xr-x. 13 root root 4096 02-19 22:01 fs
      drwxr-xr-x. 12 root root 4096 02-19 22:01 net
      -rw-r–r–. 1 root root 17332 02-19 22:08 nvidia-drm.ko.xz
      -rw-r–r–. 1 root root 11984752 02-19 22:08 nvidia.ko.xz
      -rw-r–r–. 1 root root 448900 02-19 22:08 nvidia-modeset.ko.xz
      -rw-r–r–. 1 root root 311628 02-19 22:08 nvidia-uvm.ko.xz

      Finally below command works:
      >dracut -fv /boot/initramfs-5.4.19-100.fc30.x86_64.img 5.4.19-100.fc30.x86_64
      and I can see in output:

      dracut: *** Including module: kernel-modules-extra ***

      dracut: *** Creating initramfs image file ‘/boot/initramfs-5.4.19-100.fc30.x86_64.img’ done ***

      Then everything works fine. But everytime I must manualy create initramfs.

      More info:
      >uname -a
      Linux info-1 5.4.19-100.fc30.x86_64 #1 SMP Tue Feb 11 22:27:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

      >nvidia-installer -v |grep version
      nvidia-installer: version 440.44

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

      I checked all above and I have no idea what else I should inspect.
      Any advise?

      Reply
      • With the new 440.64 driver (and with dkms), the upgrade to kernel 5.5.7 worked fine without errors.

        Linux info-1 5.5.7-100.fc30.x86_64 #1 SMP Fri Feb 28 17:32:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
        nvidia-installer: version 440.64
        01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

        Reply
    6. nvidia-installer: version 440.59
      Linux hostname.localhost 5.4.19-200.fc31.x86_64 #1 SMP Wed Feb 12 15:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070 Ti] (rev a1)

      Reply
    7. Reinstalled Nvidia driver 440.59 after dnf broke my system (again) :) Probably caused by the update to kernel 5.5.5

      nvidia-installer: version 440.59
      Linux mercury 5.5.5-200.fc31.x86_64 #1 SMP Wed Feb 19 23:28:07 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)

      Reply
    8. Hi JR,

      I encountered a compile error when trying to upgrade F31 to the 5.5.5-200.fc31 kernel. It could not find the drm/drmP.h file in nvidia-drm-fb.h which was included from /var/lib/dkms/nvidia/390.132/build/nvidia-drm/nvidia-drm-drv.c. (It compiled correctly for the 5.4.20 kernel.) I’m using the Nvidia 390.132 driver for a GeForce GT 420 graphics board. Any thoughts on how to fix this?

      Reply
      • Hello,

        I also cannot compile with the 5.5.5 kernel on fc31. Yet here the driver is 340.108. It worked perfect for 5.4.x.

        On compiling the module I get “Bad return status” and make.log shows:

        7 echo >&2 ” ERROR: Kernel configuration is invalid.”; \
        8 echo >&2 ” include/generated/autoconf.h or include/config/auto.conf are missing.”;\
        9 echo >&2 ” Run ‘make oldconfig && make prepare’ on kernel src to fix it.”; \

        Would that require a new patch for the 5.5?

        Reply
      • I just hit this as well…in 5.5 they got rid of drm/drmP.h, so that’s gonna hurt. Depending on your level of nerdiness, there are some patches out there for Arch linux you might be able to re-implement for your distro. but in reality, the best thing to do is Roll back to whatever previous (probably 5.4) kernel you were using, then lock dnf to not update the kernel… in my case:

        dnf install python3-dnf-plugins-extras-versionlock
        grubby –info=ALL # to find the previous kernel version
        grubby –set-default /boot/vmlinuz-5.4.14-200.fc31.x86_64
        dnf versionlock add kernel-5.4.14-200.fc31
        reboot

        And then wait to see if NVidia releases an updated driver someday. In my case I’m on a GTX560, so have to use the 390.xxx drivers, which are getting long in the tooth

        Reply
      • Hi,

        It happened also to me with nVidia driver 440.44 of F30 while update to kernel 5.5.6-100.fc30.

        I guess that this problem is very similar to this described in the topic https://devtalk.nvidia.com/default/topic/1068332/linux/nvidia-driver-does-not-build-on-linux-v5-5-release-candidate-kernel/

        In my case I found reference to term “ioremap_nocache” in the rest part of log content and finally the new version of nVidia driver 440.64 worked for me.

        I think however in Your case nVidia driver cannot be updated at this time. Probably You may need to make the patch as Isaak.Aleksandrov wrote in the linked above topic.

        Reply
        • Hi,

          I did install the kernel but without DKMS.

          Reply
    9. nvidia-installer: version 440.64

      Linux localhost.localdomain 5.5.6-201.fc31.x86_64 #1 SMP Mon Feb 24 20:24:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] (rev a1)

      Reply
    10. Cannot compile in kernel 5.5

      nvidia-installer -v |grep version
      nvidia-installer: version 390.132 ([email protected]) Fri Nov 1 05:16:00 PDT 2019

      uname -a
      Linux 5.4.20-200.fc31.x86_64 #1 SMP Mon Feb 17 19:31:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

      ‘make’ -j12 NV_EXCLUDE_BUILD_MODULES=” KERNEL_UNAME=5.5.6-201.fc31.x86_64 modules………(bad exit status: 2)
      Error! Bad return status for module build on kernel: 5.5.6-201.fc31.x86_64 (x86_64)
      Consult /var/lib/dkms/nvidia/390.132/build/make.log for more information.

      In file included from /var/lib/dkms/nvidia/390.132/build/nvidia-drm/nvidia-drm-drv.c:27:
      /var/lib/dkms/nvidia/390.132/build/nvidia-drm/nvidia-drm-fb.h:30:10: fatal error: drm/drmP.h: No such file or directory
      30 | #include
      | ^~~~~~~~~~~~

      Reply
    11. Tried using these procedures and had several problems. Right now, the worst of them is my machine won’t boot and keeps dropping into a dracut shell. I have tried redirecting grub to the file that was saved during the process (ending in nouveau.img) but the results are the same. I was going to just re-install but wanted to see if anyone else has this issue. I’m using fedora 5.5.5-200.fc31.x86_64 on a Dell XPS machine with an old 304 type Nvidia card. Any help would be appreciated.

      Reply
    12. One other thing – the only thing I can find in the log files is that none of my disks exist. Immediately following that, my system generates an rdsosreport but it takes forever to finish.

      Reply
    13. $ nvidia-installer -v |grep version
      nvidia-installer: version 440.64

      $ uname -a
      Linux host 5.5.7-200.fc31.x86_64 #1 SMP Fri Feb 28 17:18:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

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

      Works like a charm thank you!

      Reply
1 98 99 100 101

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