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: 121
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...
Success:
Thank you for the detailed write up. I am not sure if the package from rpmfusion is wrong or broken (495.44 vs 495.46), but before finding this guide – I ran into issues where I would just get a black screen right before login on a fresh install of Fedora 35.
nvidia-installer:
version 495.46
uname:
Linux fedora 5.15.6-200.fc35.x86_64 #1 SMP Wed Dec 1 13:41:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”:
03:00.0 VGA compatible controller: NVIDIA Corporation GM204GL [Quadro M4000] (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation GM204GL [Quadro M4000] (rev a1)
82:00.0 VGA compatible controller: NVIDIA Corporation GM204GL [Quadro M4000] (rev a1)
390.147 is available from NV and I verified it doesn’t need a patch with 5.15 kernels
390.147 on kernel 5.15.10 gnome doesn’t start
This of course depends on your system. Could you post output of following command:
Hello ! Thanks, nice tutorial !
A question, maybe you know.. :
How to get free from the ‘llvmpipe’ screwing Nvidia driver rendering ?
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: Mesa/X.org
GL_RENDERER: llvmpipe (LLVM 13.0.0, 128 bits)
Thank you :)
Do you have NVIDIA drivers installed succesfully?
Could you also post output of following command:
Hey I can’t seem to fix my GTX 1060 issues. I seem to have two VGA’s showing up.
lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
Not sure how to force it to only read the GTX to continue. Can anyone help me?
Hi John,
Problem here is NVIDIA Optimus, could you disable it from BIOS/UEFI?
after step 2.7 \ reboot my system goes into a fast-blinking curser and my HD are blinking without any perceivable cause. I can reboot with control-alt-delete and likely back out but I would like to move forward
[[email protected] ~]$ nvidia-installer -v | grep version
nvidia-installer: version 340.108 ([email protected])
[[email protected] ~]$ uname -a
Linux fedora 5.15.12-200.fc35.x86_64 #1 SMP Wed Dec 29 15:03:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci | grep -E “VGA|3D”
03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 8400 GS Rev. 3] (rev a2)
08:01.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)
[[email protected] ~]$
Hi JR. I upgraded to 390.147 a few days ago, which worked for kernel-5.15.12 on Fedora 34. But after upgrading to kernel-5.15.13 this morning the reboot failed. (5.15.12 is still OK.) My VGA is GF116 [GeForce GTX 550 Ti] (rev a1). Should I wait to see if yet a more recent driver (> 390.147) appears? I always rely on your marvelous assistance! Thanks so much.
When i perform the steps in 4.2 and then run 4.3 i get the following errors
libkmod: kmod_config_parse: /etc/modprobe.d/nvidia.conf line 1: ignoring bad line starting with ‘add_drivers+=”‘
libkmod: kmod_config_parse: /etc/modprobe.d/nvidia.conf line 2: ignoring bad line starting with ‘install_items+=”‘
what do I need to do to fix this.?
Hi Steve,
Looks like that you have add_drivers and install_items lines in /etc/modprobe.d/nvidia.conf ? Both should be in /etc/dracut.conf.d/nvidia.conf file.
OH. I tried again with 390.147 with (in run level 3) kernel-5.15.13, and this time it all worked fine. I have no idea what the problem was on January 11. Oh well.
Hi Peter,
This is weird. It sounds that dkms has failed to compile the driver for some reason. dkms build log might help to debug problem. Currently it’s clean, but if this happens again. Great to hear that everything works now.
Excellent guide, works like a charm.
One suggestion for improvement – you forgot to mention adding “nvidia-drm.modeset=1” to GRUB_CMDLINE_LINUX in the grub file for users that want Wayland available after installing the driver.
Hello Assaf,
Thanks! For XWaylaynd setup check:
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/6/
For step 2.1, you forgot to put 5.15 for 340.108, although it appears in the link. For the patch.
Thanks Lyes, I added missing kernel 5.15.
This post helped me:
[[email protected] ~]$ nvidia-installer -v | grep version
nvidia-installer: version 470.94
[[email protected] ~]$ uname -a
Linux fedora 5.15.16-200.fc35.x86_64 #1 SMP Thu Jan 20 15:38:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Worked great for with GTX 1070 on Fedora 35
nvidia-installer: version 510.47.03
Linux calydon 5.16.5-200.fc35.x86_64 #1 SMP PREEMPT Tue Feb 1 21:37:11 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
You don’t know?? What caused the inability to simultaneously use 2 different parity (integrated and PCI) drivers of NVIDIA GeForce 1660 GTX and AMD Radeon Vega 8 graphics cards on Fedora 32???
P S After installing NVIDIA drivers and switching to the BIOS on the integrated GPU AMD Fedora does not boot from the integrated GPU ???🤔🤔🤔 When booting from NVIDIA, everything is fine and working.
I have installed the latest nvidia on a fedora 35 machine with this features:
nvidia-installer: version 510.47.03
Linux 5.16.7-200.fc35.x86_64 #1 SMP PREEMPT Sun Feb 6 19:53:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
02:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
There is one thing that puzzles me. When I run nvidia-settings I cannot see the following sections in the main menu:
X Sever information
X Server display configuration
XScreen 0
I can only see: System Information, GPU 0 Information, Application Profiles, nvidia-settings configurations. Is it normal?
This is the output of nvidia-smi:
+—————————————————————————–+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|——————————-+———————-+———————-+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:02:00.0 Off | N/A |
| N/A 38C P8 2W / N/A | 5MiB / 4096MiB | 0% Default |
| | | N/A |
+——————————-+———————-+———————-+
+—————————————————————————–+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2563 G /usr/libexec/Xorg 4MiB |
+—————————————————————————–+
The only way I have to use nvidia card is to set these variables:
setenv __NV_PRIME_RENDER_OFFLOAD 1
setenv __GLX_VENDOR_LIBRARY_NAME nvidia
But it apparently screws something up
Any suggestions?
Thank you
Hi again,
I’m still having to execute
NVIDIA-Linux-x86_64-390.147.run
every time there’s a kernel update. During the dnf upgrade, it says there’s an error:
“could not find dkms.conf file”. Maybe my
“NVIDIA-Linux-x86_64-390.147.run” is in the wrong place (it’s in my home directory at
/home/drip/src/nvidia/) and/or my dkms.conf file is in the wrong place (it’s in
/usr/src/nvidia-390.147/dkms.conf).
Any thoughts about what I should do?
Otherwise, all is fine. uname -a shows
Linux anna 5.16.10-200.fc35.x86_64 #1 SMP PREEMPT Wed Feb 16 13:28:00 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
and lspci | grep VGA shows
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] (rev a1)
Many thanks for all your clear and impeccable instructions.