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: 104
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...
Anyone with pached 340.108 for 5.6* kernel?
I have successfully patched 340.108 with this patch [a] and running kernel 5.6.6 now. Figured out from this post [c]
Detailed steps:
1. Download original driver 340.108 from NVidia [b]
2. Download patch [a] (I named it nvidia_5.6.patch )
3. Extract driver by ./NVIDIA-Linux-x86_64-340.108.run -x
4. copy nvidia_5.6.patch into NVIDIA-Linux-x86_64-340.108 directory
5. Issue command patch -p1 < nvidia_5.6.patch
6. You will get failure to patch kernel/Makefile I think it is safe to ignore. But I went in to add the extra config by hand.
7. The usual install nvidia driver steps.
[a] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/x11/driver/xf86-video-nvidia-legacy/patches/xf86-video-nvidia-legacy-0001-fix-5.6-rc1.patch
[b] https://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/XFree86/Linux-x86_64/340.108/NVIDIA-Linux-x86_64-340.108.run&lang=us&type=TITAN
[c] https://forums.developer.nvidia.com/t/patches-for-340-108-and-5-6-rc-need-help-with-driver-init/111760/8
Hi
This failed for me for 340.108 on Fedora 32 with 5.6 kernel. My laptop is Macbook Pro Mid 2010.
lspci |grep -E “VGA|3D”
04:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)
1. I tried first with the prepatched driver. Everything goes flawlessly and gets installed but the screen goes blank on boot.
2. I tried patching with the patch in the article, which returned error.
3. I tried it with the method given in this comment
I tried this method, the patching was successful but the installer failed. Its been 2 days and 5 times installing fedora from scratch. Please help.
Thanks!
The log files and the patch used can be found here.
https://github.com/whoisem/nvidia-fedora-5.6-driver-340.108
Do you also have a black screen after upgrading the kernel to 5.6?
Nope. Works without a hitch.
Thanks GohKT.
I had patched it as in the steps and it works.
Hello Stan,
Just patched 390xx and 340xx, download patched nvidia installer
Hello JR,
Thanks I just finished upgrade to Fedora 32 and used your patched 340 driver. No issues.
nvidia-installer -v |grep version
nvidia-installer: version 340.108 ([email protected]) Wed Dec 11 15:13:39 PST 2019
uname -a
5.6.7-300.fc32.x86_64 #1 SMP Thu Apr 23 14:13:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
Hi JR
I have successfully install NVIDIA drivers after running your patched 340.108 driver…
nvidia-installer -v |grep version
nvidia-installer: version 340.108 ([email protected]) Wed Dec 11 15:13:39 PST 2019
uname -a
Linux tplpt-mycosmos 5.6.14-300.fc32.x86_64 #1 SMP Wed May 20 20:47:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)
Thank you very much…
Theodore
Here is the Nvidia driver 390.132 patched for Fedora 32 (kernel 5.6.6):
https://github.com/Bobses/patching-the-nvidia-driver-390.132
Install it whithout dkms.
Hello all!
I just updated this guide and tested all drivers with Fedora 32.
New patched drivers are available too, should work normally with kernel 5.6+, dkms and Gnome 3.36.1.
Please let me know if you still have problems?
Patched 390.132 on Fedora 31 with Kernel 5.6 works! Thanks so much!
how can i patch my 440.59 nvidia for work on kernel 5.6?
How can i patch my 440.59 nvidia driver for work on kernel 5.6?
Hi Maksym,
Any reason why you want patch 440.59 nvidia driver for 5.6 kernel? You can use 440.82 and it works out of the box.
Successfully installed and working great, thanks!
Hard: Thinkpad T410 with NVIDIA 218M
OS: Fedora 32 Workstation x86_64 (upgraded today from F31)
Kernel: 5.6.7-300
Driver: Nvidia-340.108
But Plymouth doesn’t work after page 2 tutorial. It seems dracut don’t find nvidia_modeset:
#dracut -f
dracut-install: Failed to find module ‘nvidia_modeset’
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.yLU746/initramfs –kerneldir /lib/modules/5.6.7-300.fc32.x86_64/ -m nvidia nvidia_modeset nvidia_uvm nvidia_drm
Hi Tiago,
Thanks. This might be nvidia 340.108 problem, but I check this soon.
Hi,
IMHO, you must correct all the NVIDIA-Linux-x86-304.135, with NVIDIA-Linux-x86_64-340.108
This because we dowload the 340.108 and not 304.135 …
Hi FS,
Actually this is just old example howto patch drivers. I could be updated to nvidia 340.xx or 390.xx too. I have patched nvidia 340xx and 390xx and should work currently with 5.6 kernels.
TYVM
=================================================================================
4.1 Create /etc/modprobe.d/nvidia.conf file
Create /etc/modprobe.d/nvidia.conf with content “options nvidia_drm modeset=1”
echo “options nvidia_drm modeset=1″ >> /etc/modprobe.d/nvidia.conf
4.2 Create /etc/dracut.conf.d/nvidia.conf file
Create /etc/dracut.conf.d/nvidia.conf file with following content:
add_drivers+=”nvidia nvidia_modeset nvidia_uvm nvidia_drm”
install_items+=”/etc/modprobe.d/nvidia.conf”
==================================================================================
Works in Fedora with rpmfusion nvidiadrivers too (F29/30/21/32)
Excellent! Nice to hear. I haven’t used rpmfusion nvidia drivers since Fedora 20, but they do nice work too.
It seems that after a recent dracut update there must now be whitespace before and after each item, thus:
add_drivers+=” nvidia nvidia_modeset nvidia_uvm nvidia_drm ”
and
install_items+=” /etc/modprobe.d/nvidia.conf ”
1-nvidia-installer: version 440.82
2-Linux omen 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 19:01:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
3-Linux omen 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 19:01:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Working perfectly thank you
$ nvidia-installer -v |grep version
nvidia-installer: version 390.132 ([email protected]) Fri Nov 1 05:16:00 PDT 2019
$ uname -a
Linux localhost.localdomain 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 19:01:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
Any guess to why do I get “An error ocurred while performing the step: “building kernel modules”..”?
I’m trying to install 440.64 on a recently upgraded F32 from F31 with kernel 5.6.8-300
I have a GT710 and had installed the driver on a previous kernel
Hi Fabro,
Try latest nVidia 440.82 instead, should work with latest 5.6.8 kernel.
Thank you very much! That did solve the problem I was having!
Have a nice one
It worked great for me. Running Fedora 32, Intel Core i7-6700K and two GeForce GTX 980 in sli. Thank you so much for posting this guide, I am so grateful.
Hi Freddy!
Excellent nice to hear that you got everything working!
Hello,
First, thank you for your work. I have relied on this website to navigate NVIDIA driver installs on a fedora box. All other times I have muddled my way. This time is different.
nvidia-installer -v | grep version
nvidia-installer: version 440.82
name -a
Linux mac 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 …
lspci | grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
I recently upgraded from fedora 30 to 32. I have successfully installed the NVIDIA-Linux-x86_64-440.82.run file and successfully followed all of the steps in your manual. But when I reboot, the machine diverts output to a terminal login. The
dkms status
nvidia, 440.82, 5.6.8-300.fc32.x86_64: installed
appears to recognize there is a graphics target. I have re-installed the NVIDIA driver with nvidia-installer –uninstall and successfully compiled the drivers three times.
I appreciate any help or advice you might have
I figured it out! The gnome environment was disabled. I enabled it with
systemctl enable gdm.service
systemctl start gdm.service
Excellent guide, tested by installing NVIDIA driver x86-64 440.82 on Fedora 32 using GTX650Ti video adapter.
Next, what you asked for in case of success:
Listo!
[[email protected] ~]$ nvidia-installer -v |grep version
nvidia-installer: version 440.82
[[email protected] ~]$ uname -a
Linux localhost.localdomain 5.6.10-300.fc32.x86_64 #1 SMP Mon May 4 14:29:45
UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650
Ti] (rev a1)
[[email protected] ~]$
Many thanks!