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: 75
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...
nvidia-installer: version 396.54 ([email protected]) Wed Aug 15 00:22:39 PDT 2018
Linux localhost.localdomain 4.18.9-200.fc28.x86_64 #1 SMP Thu Sep 20 02:43:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
is the patch file the same for the kernel 4.18?
Hi leo,
Latest drivers doesn’t need any patches to work with Kernel 4.18, if you are installing 340.xx version, then you need patched installer.
Thank you very much, this guide has been of such a great help!.
nvidia-installer -v |grep version
nvidia-installer: version 390.87 ([email protected]) Tue Aug 21 17:33:51 PDT 2018
uname -a
Linux hoop.localhost 4.18.9-200.fc28.x86_64 #1 SMP Thu Sep 20 02:43:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)
nvidia-installer: version 390.87 ([email protected])
Linux 4.18.10-200.fc28.x86_64 #1 SMP Wed Sep 26 09:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
ONLY… THANKS VERY MUCH
Hi
Thanks for the excellent guide – particularly keeping it up to date!
I’m having issues though, if I add 3 to the grub options I can boot to a console and verify that the driver is installed. the nvidia-smi command works. But if I try to boot to GNOME it fails with a black screen at the end of the boot sequence
nvidia-installer: version 396.54
4.18.10-100.fc27
lspci |grep -E “VGA|3D”
02:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080Ti] (rev a1)
03:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080Ti] (rev a1)
I’ll give it one more go with a fresh Fedora 27 install without updating the kernel and see if that works, but if you have any ideas what’s going wrong I’d appreciate it
Dave
Hi David,
I answered this on here.
I am searching the way how to install nVidia proprietary drivers on Fedora and I got whole of the process for installing and it’s really very useful for me
Hi JR!
Thank you SO much for such a clear and thorough guide! And thank you as well for encouraging people to submit problems they are having.
Unfortunately, I am having a similar issue to David, but I am running Fedora 28 on very new hardware with GDM / Gnome 3.
The driver installation SEEMED to have gone completely smoothly — I received no errors whatsoever. But, when it came time to boot back into runlevel 5, I was also greeted with a totally black screen.
Output:
nvidia-installer: version 390.87 ([email protected]play-x64-rhel04-14) Tue Aug 21 17:33:51 PDT 2018
Linux localhost.localdomain 4.18.10-200.fc28.x86_64 #1 SMP Wed Sep 26 09:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep -E “VGA|3D”:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
Any possible insight you have would be greatly appreciated, though I can imagine the answer being similar to the one you gave David (needing to use KDM or something other than GDM), but thought it worthwhile to mention that this issue is occurring with Fedora 28 as well.
Again, thanks for a great guide!
Hi Em,
Your real problem is here:
Your drivers install is successful and “unfortunately” your drivers is working as expected. You have nVidia Optimus device and with Linux nVidia drivers you can’t run any graphical environment, only CUDA apps and do offscreen rendering. This is not GDM or any other display manager problem. Only thing what you can try is disable nVidia Optimus/Intel Integrated graphics, but normally this is not possible, so only option is try something like Bumblebee Project.
Thank you! Both the driver install, and the plymouth configuration, worked (non UEFI).
Excellent and well detailed instructions. Worked flawlessly. Thank you so much!
The backlight controller is not working for me, I can see the animation with the brightness going up and down but nothig really happens. When I switch to use the Intel video card it works though.. Any idea?
nvidia-installer: version 410.57
Linux localhost.localdomain 4.18.10-200.fc28.x86_64 #1 SMP Wed Sep 26 09:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)
Hi hesparza,
Try following to get your backlight working with your NVIDIA Quadro M1000M.
Create file /etc/X11/xorg.conf.d/10-nvidia-brightness.conf with following content:
And reboot your system.
Jr,
Thanks for your reply. I did this and it did not worked.
In BIOS I have to select to use “Discrete” graphics so that the systems runs by using only the nvidia card. If I choose “UMA”, it runs by using the integrated video card and that one allows me to use the brightness control. Also, if I choose either “hybrid” or “automatic”, it gets stuck while booting and I have to restart and change the video card options in the bios to either “UMA” or “Discrete”.
Hopefully this helps by any.. If you can provide any source of documentation to understand how to do the little tricks for configuration and tweaking, that would be great.
Thanks again
Hi Hesparza,
Yes, hybrid and automatic are not working with Linux+nVidia propietary drivers, because it enables nVidia Optimus technology.
Is it possible to adjust brightness anyway? Example using
nvidia-settings
,xbacklight
orxrandr
?JR,
I’m sorry it took me so long to reply back.
I tried nvidia-settigns, it only calibrates the color, but not the real brightness.
I don’t have xbacklight.
Xrandr is working though, looks like I can use that one, I just need to attach the command to the key stroke.
Would you say that’s the way to go about it?
I correct myselft, after installing xbacklight, it in fact does work. I believe this one is better than xrandr as the latest does the brightness adjustment by software whereas xbacklight does it by hardware..
So I guess the only think left is to link the keys in the keyboard with the command?
Thanks for the tutorial. It didn’t work out of the box however. I had a time consuming issue here. I couldn’t get X server to recognize the screen when NOT using one of the card’s output ports (i.e using the VGA port on the mo-bo).
I had to tweak /etc/X11/xorg.conf and add some stuff at the top
######################
Section “Module”
Load “modesetting”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
BusID “”
Option “AllowEmptyInitialConfiguration”
EndSection
#####################
Also, had to comment the other “Device0” in the file.
After that all is awesome :)
nvidia-installer: version 390.87 ([email protected])
Linux localhost.localdomain 4.18.11-200.fc28.x86_64 #1 SMP Sun Sep 30 15:31:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
Hi jpa1337,
Nice to hear that you got it working and thanks for sharing your config!
Thanks so much for this comprehensive guide!!
I was able to go smoothly with all the steps with my GTX 1060 on Fedora27 KDE, but got stuck when coming back to runlevel 5. I got a black screen and a mouse that could move. No login screen was shown. And besides, the ctrl+alt+F* could also work.
After browsing several previous posts, I found it might be related to Display Manager. I checked the sddm status, and found some error like “pam unable to dlopen pam_elogind.so”. Then I changed my default display manager from sddm to kdm. It finally works!! So excited about it.
dnf install -y kdm
systemstl disable sddm
systemstl enable kdm
reboot
Here is the output information after success:
nvidia-installer: version 390.87 ([email protected])
Linux * 4.18.10-100.fc27.x86_64 #1 SMP
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
Very good detail instruction. But where do I post the results?
Very good detail instruction.
Operating System: Fedora 28 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:28
Kernel: Linux 4.18.12-200.fc28.x86_64
Architecture: x86-64
nvidia-installer: version 396.54 ([email protected])
Linux Win10 4.18.12-200.fc28.x86_64 #1 SMP Thu Oct 4 15:46:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
06:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
410.66 works fine on Fedora 28 with kernel 4.18.13
396.54 fails to build kernel modules for 4.18.13 (Fedora 28)
I found that UEFI CSM mode can cause some issues when enabled including GDM crashes on login.
nvidia-installer: version 410.66
Linux 4.18.13-200.fc28.x86_64 #1 SMP Wed Oct 10 17:29:59 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
0b:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1)
What’s your secret? Tried multiple times with fedora 4.18.14 and 4.18.12 with no success, installs fine but fails to load past login screen, whether I use BIOS or uefi
Hi steve,
Do you probably have nVidia Optimus device?
Could you post output of following command:
Hi JR, I have a MSI GAMING X GTX 1060 6GB
$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
Uncommented [WaylandEnable=false] in /etc/gdm/custom.conf but that had no effect either. Tried Ubuntu and it worked without issue (kernel 4.15) but won’t take with Fedora.
MSI B150M PRO-VDH with Win 7 and 8/10 compatibility disabled, tried disabling CSM (Legacy+UEFI on this board) but made no difference.
One thing I haven’t tried is enabling auto-login which has worked in the past because I want to keep the profile password-protected.
E: Forgot to add, I was trying 410.66
E2: Got it working by doing two things:
1) Commented [WaylandEnable=false] like it was originally.
2) Used [no-cc-version-check] from #comment-318167 and #comment-318167 after running into the same issue with gcc version mismatch between driver and kernel.
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/comment-page-59/#
nvidia-installer: version 410.66
Linux localhost.localdomain 4.18.14-200.fc28.x86_64 #1 SMP Mon Oct 15 13:16:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
https://imgur.com/a/owybGAn
Hi steve,
Thanks, and yes you are right 4.18.14 is built with older gcc than you have installed on fully updated system. It’s always temporary and normally it’s fixed on next kernel build. Kernel 4.18.15/4.18.16 on Fedora 29 works without problems for me.
Have to say that I had seen lately strange problems with Gnome and nVidia, but normally Gnome should fallback to X version, but now example Fedora 29 GNOME fails totally with nVidia drivers and example LXDE/LXDM works without problems.
Really? I had tried F29 GNOME as well but not sure if I kept Wayland enabled. I wonder if it’s related to the drm.nomodeset setting that used to be recommended in the past, but whatever the case hope the issue is resolved in the next few weeks.
System updated to kernel 4.18.16 without issue.
Linux localhost.localdomain 4.18.16-200.fc28.x86_64 #1 SMP Sat Oct 20 23:53:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Nice to hear that it’s working normally now!
Steve,
Nothing special, just followed guide steps.
I had the “black screen” issue after login (GDM) screen and able to fix it by disabling Compatibility Support Module (CSM) in UEFI.