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: 120
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...
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?
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:
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.
Hi Frederic,
Try following (as root):
Do you still see error?
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.
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
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
Hello Andy,
Looks like your problem is NVIDIA Optimus device (described on step 1.2 NVIDIA Optimus Technology). Is it possible to disable Intel integrated graphics / NVIDIA Optimus from BIOS/UEFI?
Disabling internal GPU didn’t help. I used a different way described here and finally it works: https://copr.fedorainfracloud.org/coprs/t0xic0der/nvidia-auto-installer-for-fedora/
Thanks, anyway.
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
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).
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)
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?
Hello Martin,
Could you post output of following commands:
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?
Hello Marcel,
Problem is here:
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?
There is no option in UEFI to disable it. What should I do?
Many thanks, fixed my 33-35 upgrade on a Lenovo p50 when all else failed.
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.
So you’ll write username, like “mach” and your password, it’s not working?
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
Excellent! You’re welcome!
Gnome works fine, KDE not!
What error messages you got with KDE? Do you use Xorg or Wayland? What NVIDIA version you use?
Just perfect
Worked a treat mate!
Thanks!
[[email protected] ~]# nvidia-installer -v |grep version
nvidia-installer: version 470.86
[[email protected] ~]# uname -a
Linux fedora 5.15.5-200.fc35.x86_64 #1 SMP Fri Nov 26 00:46:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP104BM [GeForce GTX 1080 Mobile] (rev a1)
02:00.0 3D controller: NVIDIA Corporation GP104BM [GeForce GTX 1080 Mobile] (rev a1)
Thank you so much :). It’s work.
I have Fedora 33 with kernel 5.14.18 and an Nvidia GT 730 (GF108). According to the info you have at the top of this page, and according to Nvidia’s driver downloader page, I should be using the 470.86 installer. But I just tried to use that installer, and it tells me that my GPU is not supported. After some digging, I found that the current driver releases thread in the Nvidia forums:
https://forums.developer.nvidia.com/t/current-graphics-driver-releases/28500
specifically says that GF1xx gpus use the 390.144 driver. The 470.86 driver only supports GKxxx (Kepler) and higher (which I think means GeForce 800 series and higher). I also unpacked the 470.86 installer and there is no mention of Fermi gpus in the README file, whereas the README from the 390.144 installer does mention Fermi support. So Nvidia’s own driver download page seems to be in error, and you might want to change your list of supported GPUs at the top of this page accordingly. If the GeForce 700 series is not supported by the 470.86 driver, then presumably the 600 series isn’t either.
I also want to mention that I used your 390.144 patcher and was able to install the 390.144 driver on my system, and it seems to be working, so thank you very much for that!
Hello Kevin,
Just tested this and looks like some specific models from 600 and 700 series is not supported.
I tested and my GT 630 works with 470.94, like this page says:
https://www.nvidia.com/download/driverResults.aspx/184163/en-us
If you check this list:
https://download.nvidia.com/XFree86/Linux-x86_64/470.86/README/supportedchips.html
And search GT 630 you will see that some is listed working with NVIDIA 470.xx series and others working only with NVIDIA 390.xx series, based on Device PCI ID.