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: 60
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...
succeed .. thank you
[[email protected] ~]# nvidia-installer -v |grep version
nvidia-installer: version 390.25 ([email protected])
[[email protected] ~]# uname -r
4.14.16-300.fc27.x86_64
[[email protected] ~]# lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2)
Abdulaziz, did you have any problems after installation? My screen just blinking with underscore and nothing hapens
lspci |grep -E “VGA”
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
uname -r
4.14.16-300.fc27.x86_64
Hi Artem,
Looks like you have NVIDIA Optimus device (check step 1.2 Nvidia Optimus). Could you disable it from UEFI?
Hi, can you post the guide of installing Nvidia driver on Scientific Linux 7.4 please. Thank you!
Hi Ikeuchi,
This same guide should work with Scientific Linux 7.4, use Fedora 21 commands. Method is exactly same and I have tested this guide with CentOS 7. Please let me know if it work or you have any problems.
What’s the advantage of this methods instead of adding rpmfusion and calling ‘sudo dnf install xorg-x11-drv-nvidia akmod-nvidia’? Thanks!
Hi Jens,
Advantage is that you can install any driver versions. From older to newest, when nVidia releases new versions. Main reason why I wrote (and keep up-to-date) this guide is that, I had problems with RPMFusion packages. And yes, it’s much cleaner way to do it, but actually this method is very simple when you setup it once, then you can handle kernel updates with dkms, just like akmod and update drivers with just running installer on runlevel 3.
Thank you for such a top-notch guide.
[[email protected] ~]$ nvidia-installer -v |grep version && uname -a && lspci |grep -E "VGA|3D"
nvidia-installer: version 390.25 ([email protected]) Wed Jan 24 20:46:20 PST 2018
Linux localhost.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)
[[email protected] tmp]# patch NVIDIA-Linux-x86-340.106/kernel/nv-linux.h < nvidia_mtrr_k4_3.patch
patching file NVIDIA-Linux-x86-340.106/kernel/nv-linux.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED — saving rejects to file NVIDIA-Linux-x86-340.106/kernel/nv-linux.h.rej
I am using 4.14 kernel and F27.
Is there exist patch for the 4.14 kernel and x86-340.106 driver?
Many thanks.
Hello Vladimir,
You can download patched version from here.
Thank you,
there are drivers for Linux-x86-64 system only. But I need driver for Linux 32-bit operating system.
[[email protected] ~]# uname -a && lspci |grep -E “VGA|3D”
Linux localhost.localdomain 4.14.18-300.fc27.i686 #1 SMP Thu Feb 8 02:20:52 UTC 2018 i686 i686 i386 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GT200 [GeForce GTX 260] (rev a1)
Sorry, you are totally right. I don’t have any 32-bit system anymore, so can’t test 32-bit versions, but I tried to patch this for you. Try this:
Please let me know is it working?
Fedora 27 LXQT on Vostro 1500 Nvidia 8400M GS.
I missed the part where it say to download the 340.106 patched driver and faced installation problems with the 340.106 driver from NVIDIA webpage. Repeated the driver installation with the correct 340.106 patched driver and everything went smooth (and I’m new to Linux and to Fedora).
[[email protected] ~]$ nvidia-installer -v |grep version
nvidia-installer: version 340.106 ([email protected])
[[email protected] ~]$ uname -a
Linux localhost.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1)
Muchas gracias!
Eduardo
nvidia-installer: version 390.25 ([email protected]) Wed Jan 24 20:46:20 PST 2018
4.15.3-300.fc27.x86_64
Total success! Not an error or anything, went really smooth. It had been a few years since I last had to do this (I don’t update often enough).
I’m running KDE though, and I don’t know how to get these screenshots like you do in Gnome. I’d appreciate if I could have any mean of seeing a hint to prove I’m currently working on the proprietary driver (though I know I am, I’ve removed nouveau at some point).
Now let’s install CUDA… Let’s see how it goes….
I have patched and packaged 340.104 to run with the 4.15 kernel. Download from: https://owncloud.voipster.org/s/1mWnW1qvjDlqBVr
[[email protected]]# nvidia-installer -v |grep version
nvidia-installer: version 390.25 ([email protected])
————————————————————————————————
[[email protected]]# uname -a
Linux localhost.localdomain 4.15.3-300.fc27.x86_64 #1 SMP Tue Feb 13 17:02:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
————————————————————————————————
[[email protected]]# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
02:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
————————————————————————————————
Great work on a through guide for manual installation of Nvidia drivers for Fedora. Helped out and worked flawlessly!
Hi, I have kernel 4.15 (fedora 27), which driver should I use? Would the patched 4.14 be fine? Furthermore, I followed the instructions and every time I get a new kernel I get a gnome-session crash and I need to run ./NVIDIA-Linux-x86_64-340.106-patched.run to have it fixed. Is it normal? Shouldn’t dkms take care of rebuild the module and make anything go fine without my intervention?
$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8500 GT] (rev a1)
$ uname -a
Linux 4.15.3-300.fc27.x86_64 #1 SMP Tue Feb 13 17:02:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ dkms status
nvidia, 340.106, 4.14.18-300.fc27.x86_64, x86_64: installed
nvidia, 340.106, 4.15.3-300.fc27.x86_64, x86_64: installed
Thank you very much,
Andrea
Excellent guide! Thank you so much for putting this together. I have had some issues lately however. I’m running Fedora 26 with an NVIDIA Quadro 4000. I first set up the machine and installed the NVIDIA driver with this guide – it worked perfectly, and subsequent system kernel updates continued to include the use of the nvidia driver. But – somewhere after kernel update 4.14.8-200.fc26.x86_64 – the machine would no longer boot to a usable state: I’d just get a black screen with a blinking underscore cursor.
Since Fedora continued to release kernel updates, I finally broke down and installed a newer driver, 387.34, into kernel 4.14.18-200.fc26.x86_64. That was a couple days ago. Then yesterday, there was a new kernel update, 4.15.3-200.fc26.x86_64, which I installed. Now I have the black screen when I boot that system.
My system used to update new kernels with the installed nvidia driver and all was well. But that doesn’t appear to be the case any more. So, getting to my actual questions:
1) Is this a driver compatibility issue with the new kernels?
2) Is there something wrong with my system setup so the kernel mod isn’t happening correctly? I don’t really understand akmod, kmod or how they work or are set up.
3) Should I instead try to set things up to use xorg-x11-drv-nvidia? And if so, how do I do that?
4) Should I not update my system kernels and just stick with one that works? And if so, how do I do that?
Thanks so very much!
mitch
Great, thanks! That worked like a charm!
JR, before upgrading to Fedora kernel 4.15 we will need the patched version Nvidia 340.106 driver, right?
In the past I have been able to find the patch to apply to the un-patched driver but I don’t see it on the Nvida developer site. Any thoughts or ideas?
Charlie
340.106 will not support the 4.15 kernel yet. There is a leak in nv-drm.c from what I know right now.
The problem doesn’t seem to exist in 340.104. That’s why I’ve patched 340.104 for 4.15 and posted it here:
https://owncloud.voipster.org/s/1mWnW1qvjDlqBVr
…for now anyway.
Hi Andrew and Charlie,
Just tested my own 340.106 patched for kernel 4.14/4.15 and it’s working normally, did you tested it?
JR, are you saying download the same bits for the patched 340.106 for
4.14 Kernel and try it with the 4.15 kernel? If that worked for you than I will certainly test and report back. Please advise.
Andrew, thanks for the reply. You mind rechecking you link, it didn’t work for me?
version 390.25 ([email protected]) Wed Jan 24
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 965M] (rev a1)
uname -a
Excellent Tutorial! Thank you very much! =D
I have successfully installed the nVidia drivers. But when I try to start blender (the reason I installed NVIDIA in my fedora), it shows errors like:
[[email protected] ~]$ blender
Read prefs: /home/paresh/.config/blender/2.79/config/userpref.blend
/root/rpmbuild/BUILD/blender-2.79/intern/ghost/intern/GHOST_WindowX11.cpp:198: X11 glXQueryVersion() failed, verify working openGL system!
initial window could not find the GLX extension
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)
I don’t know the reason, it was working fine before. I think there is some issue in loading RGBglx.
Can you help?