Fedora 35/34/33 NVIDIA [495.44 / 470.86 / 390.144 / 340.108] Drivers Install Guide - Comment Page: 120

This is guide, howto install NVIDIA proprietary drivers (manually using .run files) on Fedora 35/34/33/32/31 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30 series cards. GeForce RTX 30 series cards works with 495.xx, 470.xx, 465.xx and 460.xx NVIDIA drivers, (RTX 3090, RTX 3080 and RTX 3070, RTX 3060, RTX 3060 Ti) 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 2070, RTX 2060) GeForce GT/GTX 600/700/800/900/10 series cards works with 495.xx, 470.xx, 465.xx, 460.xx, 450.xx and 390.xx NVIDIA drivers (GTX 1080 Ti, GTX 1080, GTX 1070, GTX...

3,084 comments on “Fedora 35/34/33 NVIDIA [495.44 / 470.86 / 390.144 / 340.108] Drivers Install Guide - Comment Page: 120

1 118 119 120
    1. Hi! Once again this step-by-step process saved my life. Thank you so much.
      My current knowledge of Fedora is not enough for understanding what is exactly behind every step. So I have question: when I update my Linux kernel to a next minor version, I have to re-do the whole process to make my display work. I actually get a black screen. If I type alt-F3 I get a prompt so it is a display issue. Any clue?

      Reply
      • Hello Frederic,

        Nice to hear that this worked for you. This is not normal behaviour. This is maybe dkms problem or alternatively your system won’t/can’t run dracut command correctly after kernel update. Do you see any error message when you update your kernel?

        Could you also post output of following commands:

        dkms status
        
        nvidia-installer -v |grep version
        
        uname -a
        
        lspci |grep -E "VGA|3D"
        Reply
        • Hi JR,
          Thanks for your reply. Owing to the first output of the commands you suggested me to run there is obviously an issue.

          $ dkms status
          Error! Could not locate dkms.conf file.
          File: /var/lib/dkms/nvidia/470.57.02/source/dkms.conf does not exist.
          $ nvidia-installer -v |grep version
          nvidia-installer: version 470.74
          $ uname -a
          Linux localhost.localdomain 5.14.11-200.fc34.x86_64 #1 SMP Sun Oct 10 14:39:31 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
          $ lspci |grep -E “VGA|3D”
          01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

          I run these commands from a session with kernel 5.14.11 as you can see and I got the issue with the next kernel patch upgrade.

          I will be cautious on my next kernel upgrade if I notice some error message.

          Reply
          • Hi Frederic,

            Try following (as root):

            rm -rf /var/lib/dkms/nvidia/470.57.02
            
            dkms status

            Do you still see error?

            Reply
        • Hi JR,

          When adding a new kernel I actually had error message “Error! Could not locate dkms.conf file.” same message I had in the output of `dkms status`.
          The issue seemed to be caused by a corrupted nvidia config in `/var/lib/dkms/nvidia/` where the folder `470.54/` was almost empty and missing file `dkms.conf`.
          I removed this directory and an old kernel link pointing to it. I restarted my machine and everything was OK. Besides the missing link to the last version of the driver (470.70) had been created for the kernel I had just installed.
          I have no clue about what caused this mess in the first place. I hope everything’s going to be OK right now.

          Reply
    2. Hello everyone!

      Thanks for sharing this guide, but I wasn’t successful :(.

      I have a Fedora (5.14.12-200.fc34.x86_64) with secure-boot enabled. I used 390.144 nvidia patched version. Installation was successful, but login into X11 session is to possible. I put there a pass, but nothing happened. So I switched back to wayland, which is hopefully still working.

      lspci |grep -E “VGA|3D”
      00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
      01:00.0 VGA compatible controller: NVIDIA Corporation TU117GLM [Quadro T2000 Mob

      Reply
    3. Hello everyone,

      I wasn’t successful with installation Fedora 34 with secureboot enabled, nvidia 390.144.

      “`
      uname -r
      5.14.12-200.fc34.x86_64

      lspci |grep -E “VGA|3D”
      00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
      01:00.0 VGA compatible controller: NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1)
      “`

      After system booted up, I’m unable to login into Gnome Xorg session.

      “`
      [ 308.490] (==) Using config file: “/etc/X11/xorg.conf”
      [ 308.490] (==) Using config directory: “/etc/X11/xorg.conf.d”
      [ 308.491] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
      [ 308.491] (==) ServerLayout “Layout0”
      [ 308.491] (**) |–>Screen “Screen0” (0)
      [ 308.491] (**) | |–>Monitor “Monitor0”
      [ 308.491] (**) | |–>Device “Device0”
      [ 308.491] (**) |–>Input Device “Keyboard0”
      [ 308.491] (**) |–>Input Device “Mouse0”
      [ 308.491] (==) Automatically adding devices
      [ 308.491] (==) Automatically enabling devices
      [ 308.491] (==) Automatically adding GPU devices
      [ 308.491] (==) Automatically binding GPU devices
      [ 308.491] (==) Max clients allowed: 256, resource mask: 0x1fffff
      [ 308.491] (==) FontPath set to:
      catalogue:/etc/X11/fontpath.d,
      built-ins
      [ 308.491] (==) ModulePath set to “/usr/lib64/xorg/modules”
      [ 308.491] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
      [ 308.491] (WW) Disabling Keyboard0
      [ 308.491] (WW) Disabling Mouse0
      [ 308.491] (II) Loader magic: 0x55d04be4ca40
      [ 308.491] (II) Module ABI versions:
      [ 308.491] X.Org ANSI C Emulation: 0.4
      [ 308.491] X.Org Video Driver: 24.1
      [ 308.491] X.Org XInput driver : 24.1
      [ 308.491] X.Org Server Extension : 10.0
      [ 308.492] (++) using VT number 2

      [ 308.493] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
      [ 308.496] (–) PCI:*([email protected]:0:0) 10de:1fb8:103c:8785 rev 161, Mem @ 0xe3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
      [ 308.496] (II) LoadModule: “glx”
      [ 308.496] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
      [ 308.498] (II) Module glx: vendor=”NVIDIA Corporation”
      [ 308.498] compiled for 4.0.2, module version = 1.0.0
      [ 308.498] Module class: X.Org Server Extension
      [ 308.498] (II) NVIDIA GLX Module 390.144 Wed Jun 2 23:02:00 UTC 2021
      [ 308.498] (II) LoadModule: “nvidia”
      [ 308.498] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
      [ 308.499] (II) Module nvidia: vendor=”NVIDIA Corporation”
      [ 308.499] compiled for 4.0.2, module version = 1.0.0
      [ 308.499] Module class: X.Org Video Driver
      [ 308.499] (II) NVIDIA dlloader X Driver 390.144 Wed Jun 2 23:05:01 UTC 2021
      [ 308.499] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
      [ 308.499] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
      [ 308.499] (II) Loading sub module “fb”
      [ 308.499] (II) LoadModule: “fb”
      [ 308.499] (II) Loading /usr/lib64/xorg/modules/libfb.so
      [ 308.499] (II) Module fb: vendor=”X.Org Foundation”
      [ 308.499] compiled for 1.20.11, module version = 1.0.0
      [ 308.499] ABI class: X.Org ANSI C Emulation, version 0.4
      [ 308.499] (II) Loading sub module “wfb”
      [ 308.499] (II) LoadModule: “wfb”
      [ 308.499] (II) Loading /usr/lib64/xorg/modules/libwfb.so
      [ 308.499] (II) Module wfb: vendor=”X.Org Foundation”
      [ 308.499] compiled for 1.20.11, module version = 1.0.0
      [ 308.499] ABI class: X.Org ANSI C Emulation, version 0.4
      [ 308.499] (II) Loading sub module “ramdac”
      [ 308.499] (II) LoadModule: “ramdac”
      [ 308.499] (II) Module “ramdac” already built-in
      [ 308.728] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
      [ 308.728] (EE) NVIDIA: system’s kernel log for additional error messages and
      [ 308.728] (EE) NVIDIA: consult the NVIDIA README for details.
      [ 308.728] (EE) No devices detected.
      [ 308.728] (EE)
      Fatal server error:
      [ 308.728] (EE) no screens found(EE)
      [ 308.728] (EE)
      Please consult the The X.Org Foundation support at http://wiki.x.org
      “`

      How to solve it?

      Thanks,
      Andy

      Reply
    4. I’ve been having trouble with the resolution after installing the 470.74 driver on a new laptop. It’s a Lenovo P15 with a T1000 GPU.
      After installing, everything on the desktop appeared “zoomed in”, like the resolution was set too low, even though it was actually set at 1920×1080. (It also does not list any other resolutions for some reason).

      The result was the same with Fedora 33 and 34. With 34 I was able to fix this in the monitor preferences with a new option but I was having other, possibly related, issues with mate-panel crashing.
      After trying several different things I started to get on the right track poking at font sizes. Reducing the font sizes in the appearance settings helped with the panel and desktop but things in other applications like icons and browser pages were still too large.
      I finally stumbled on the same problem described on fedoraforum: “Nvidia driver scaling issue” and found how to completely fix the issue.

      It was the DPI in the Font rendering details; I needed to disable automatic detection and reduce the number manually. It was around 142 and I reduced it to 100.
      Now everything is appearing properly.

      Linux eambar 5.14.13-100.fc33.x86_64 #1 SMP Mon Oct 18 12:36:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation TU117GLM [Quadro T1000 Mobile] (rev a1)
      nvidia-installer: version 470.74

      Reply
      • Hi t0am,

        Thanks for sharing this. This is probably mainly Xorg problem, but unfortunately Wayland support is still partial (or some apps won’t work at all).

        Reply
    5. Thanks!

      nvidia-installer: version 390.144 ([email protected]) Wed Jun 2 22:57:03 UTC 2021
      Linux localhost.localdomain 5.14.13-100.fc33.x86_64 #1 SMP Mon Oct 18 12:36:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [NVS 4200M] (rev a1)

      (Optimus: disabled)

      Reply
    6. Hello
      After using your guide for a longer time now I would like to thank you for your work. It did help me a lot of times!
      So for protocol, here is my success data (current state):
      $ nvidia-installer -v |grep version
      nvidia-installer: version 470.74
      $ uname -a
      Linux deepthought 5.14.13-100.fc33.x86_64 #1 SMP Mon Oct 18 12:36:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci |grep -E “VGA|3D”
      05:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
      0a:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)

      I however have a strange problem with the computer of my son. I used your guide with his machine as well and so far it also worked but since the kernel update to 5.14.13 everything broke

      His data:

      $ uname -a
      Linux MikasFestung 5.14.13-100.fc33.x86_64 #1 SMP Mon Oct 18 12:36:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

      The NVidia installation process breaks at “Reboot” after the removal of all nouveau (your guide “2.7 Reboot to runlevel 3”). As long as the nouveau is blacklisted, the boot to any runlevel ends up quickly in a black screen. When I remove the rd.driver.blacklist=nouveau from the grub startline any runlevel loads completely.

      I also checked with journalctl and found something strange:

      > Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.13-100.fc33.x86_64 root=UUID=40a6be1b-3175-4066-bc67-1da41b67f1f8 ro resume=UUID=980406fb-b0f6-4f03-8685-1e905727a8d9 rd.driver.blacklist=nouveau 3
      > Unknown command line parameters: 3 BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.13-100.fc33.x86_64

      Could it be that the system still try to load to Graphical because it can’t identify the 3 as a parameter? When rd.driver… is gone the 3 is not incorrect….

      Any idea what is happening?

      Reply
      • Hello Martin,

        Could you post output of following commands:

        la -la /boot/grub2/grub.cfg
        
        ls -la /boot/efi/EFI/fedora/grub.cfg
        Reply
    7. Hi, I have installed Nvidia drivers, but after booting in runlevel 5, I get black screen.
      I am now in the recovery mode and there is the output of the commands:

      dkms status
      nvidia/495.44, 5.14.15-300.fc35.x86_64, x86_64: installed

      nvidia-installer: version 495.44

      Linux fedora 5.11.12-300.fc34.x86_64 #1 SMP Wed Apr 7 16:31:13 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 TI Mobile] (rev a1)
      05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)

      Can you please help me?

      Reply
      • Hello Marcel,

        Problem is here:

        05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)

        This is NVIDIA Optimus device (described on step 1.2 NVIDIA Optimus Technology) with integrated AMD/ATI graphics. So next step is check from BIOS/UEFI, is it possible to disable NVIDIA Optimus / AMD/ATI Integrated graphics?

        Reply
        • There is no option in UEFI to disable it. What should I do?

          Reply
    8. Many thanks, fixed my 33-35 upgrade on a Lenovo p50 when all else failed.

      Reply
    9. Step 2.8.1 doesn’t leave the user without a way to get in at TTY prompt. The user password won’t work and neither will the default.

      Reply
      • So you’ll write username, like “mach” and your password, it’s not working?

        Reply
    10. succeed :
      nvidia-installer: version 470.86
      Linux yann 5.14.17-301.fc35.x86_64 #1 SMP Mon Nov 8 13:57:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)
      Thank you

      Reply
      • Excellent! You’re welcome!

        Reply
    11. Gnome works fine, KDE not!

      Reply
      • What error messages you got with KDE? Do you use Xorg or Wayland? What NVIDIA version you use?

        Reply
1 118 119 120

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