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: 85
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...
First of all,thank you for your guide.It is successful on my 1060 laptop.However,when I try to use it on my lab computer with 2080ti.It failed.The error says Unable to load the ‘nvidia-drm’ kernel module.
# lspci |grep -E “VGA|3D”
10:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] (rev a1)
# sestatus
SELinux status: disabled
# nvidia-installer -v |grep version
nvidia-installer: version 418.43
# lsmod | grep -i nvidia
i2c_nvidia_gpu 16384 0
# uname -a
Linux localhost.localdomain 4.20.16-200.fc29.x86_64 #1 SMP Thu Mar 14 15:10:22 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# ls /sys/firmware/
acpi dmi memmap
And my boot option is “Legacy”,secure boot is closed.
I have done every thing I’ve found on the internet so far,do you have any idea?
Thanks again!!
Updating to a new kernel causes the bootloader to hang at “Starting Manage, Install and Generate Color Profiles…”
Originally I tried using Secure boot, but due to the problems I’m having with it and the low amount of benefit from it I have disabled Secure boot.
The original kernel in grub still works fine though.
I think below is required for kernel 5.0
https://devtalk.nvidia.com/default/topic/1047179/linux/nvidia-340-107-linux-5-0-rc5-failed-to-build-kernel-module/
Hi JR,
My problem with the Plymouth splash screen has returned.
After new kernel update and recompiling nvidia drivers via dkms, the splash screen disappeared.
Applying your restoration method does not help. I have tried all vbe modes and nothing.
I have read a lot of plymouth threads on different forums and I have not found out any working method to force Plymouth to do their job.
I am convinced that, for some reason, plymouth ignores my vbe mode settings for my GPU.
Could You give me a suggestion, where I should looking for a solution?
nvidia-installer: version 418.43
linux kernel: 4.20.16-100.fc28.x86_64
GPU: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
Since updating to 5.0.3-200.fc29, my laptop won’t boot (well, it tries, but the screen flashes).
I have to select a previous version in order for the laptop to be usable. So searching online it seems my Nvidia may need to be updated.
Following these steps here, immediately upon running the executable .run file, I get the error: Unable to find the kernel source for the currently running kernel…”
I have looked online for help, but nothing has moved this process forward.
Specifically, trying to install headers using sudo dnf install kernel-headers-$(uname -r)
( or linux-headers-… )
But a) it is trying to load the stuff for the OLD 4.20 kernel (the one which I am running ATM b/c the new kernel does NOT work)… and…
b) it fails anyway – No match for argument: linux-headers…
What step can I take now?
Interesting… decided to let it boot into 5 and my external monitors work fine. Ran the install kernel-devel and kernel-headers stuff and got the Nvidia stuff to run. However, this has not fixed my laptop. Screen still flashes running the new Fedora update.
It worked!!!
$ nvidia-installer -v |grep version
nvidia-installer: version 418.56
$ uname -a
Linux localhost.localdomain 5.0.3-200.fc29.x86_64 #1 SMP Tue Mar 19 15:07:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
Hi,
Thanks for the article, it’s really detailed and the patch for the legacy devices is a fantastic effort!
I tried going through your install process for a new GT 710 I just bought (which I now realise they have dropped linux support on because it’s old, but I haven’t found any other 1x cards on the market, and my old server only has a 1x slot) on f29 with 5.0.3 and I hit loads of issues. I tried without the patch, then your patched version and tried patching the latest nvidia driver, all attempts failed.
The make from the patched version errors with this:
make[3]: *** [scripts/Makefile.build:277: /var/lib/dkms/nvidia/304.137/build/nv.o] Error 1
make[3]: *** Waiting for unfinished jobs….
./tools/objtool/objtool orc generate –module –no-fp –retpoline /var/lib/dkms/nvidia/304.137/build/nv-acpi.o
make[2]: *** [Makefile:1557: _module_/var/lib/dkms/nvidia/304.137/build] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:261: module] Error 1
make: *** [makefile:59: module] Error 2
Can you confirm whether you have been able to install that version on the newer kernels? Or whether you think it should work?
Great guide! Thanks for sharing.
> nvidia-installer -v |grep version
nvidia-installer: version 418.56
> uname -a
Linux devws 5.0.3-200.fc29.x86_64 #1 SMP Tue Mar 19 15:07:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
Fedora 29 kernel 5.0.3 Quadro 2000
Using the 390.116 legacy driver
Experienced the dreaded ‘black screen’ when starting X
Had to switch to sddm instead of gdm
All is well
Thanks so much for your concise guide! :)
Spoke too soon….nvidia-settings seems to be writing a junk xorg.conf file
When I enable my other 2 monitors and save settings, I don’t see another Quadro GPU defined, nor other monitors.
Upon reboot, sddm & kernel crashes
Reboot to runlevel 3, replace xorg.conf with a known good basic version…reboot…we’re back up in X with only 1 monitor
Very odd….never had problems with nvidia-settings before
Today I got the 5.0.3 kernel and dkms failed recompiling my 415.27 driver with
/var/lib/dkms/nvidia/415.27/build/nvidia/os-interface.c:432:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration]
do_gettimeofday(&tm);
Does anyone have a driver version working with a 5.x kernel?
I’m on kernel version 5.0.4 with driver version 418.56 without any problem. Maybe try the new driver version.
Thanks! 418.56 worked like a charm (in the meantime, with kernel 5.0.5)
Download the latest driver from nvidia, this error is specifically mentioned as being fixed
nvidia driver version 418.43
There are comments scattered about the web referencing patches for NVIDIA drivers for other flavors of Linux to get them to work with kernel 5.x. I’ve searched the Fedora and NVIDIA sites without finding a solution. I’ve reverted to kernel 4.20 in the meantime.
Got it! NVIDIA Linux drivers version 418.56, kernel 5.0.3. https://imgur.com/vsDkDYD
But ***MAKE SURE YOU HAVE DRACUT 049-26 INSTALLED**
There was a bug in 049-25 with the newest kernel (5.0.3) where you won’t be able to create a new initramfs image and your system will break!
Not sure if this will help anybody else but, we have a bunch of field service laptops with GT216GLM [Quadro FX 880M] hardware.
Some of our techs needed the 5.0.4-200.fc29.x86_64 kernel for an ongoing project. So, I unpacked the 340.107 drivers, patached them and repackaged them. Be warned, my patch does NOT support DKMS (not yet, anyway).
If it helps, you can access my 340 stuff here:
http://owncloud.voipster.org/s/OWWej0uFT8tPKhh
Hope it helps someone.