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: 65
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...
Works as adverised:
nvidia-installer: version 384.130 ([email protected])
4.15.17-300.fc27.x86_64 #1 SMP Thu Apr 12 18:19:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
Thanks!
nvidia-installer: version 340.106 ([email protected])
uname -a: Linux localhost.localdomain 4.16.3-200.fc27.x86_64 #1 SMP Thu Apr 19 19:33:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”: 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce G210] (rev a2)
For the libglvnd error, libgl-devel is not a package. The correct package is libGL-devel. Small but necessary.
Thanks for the guide though, big help!
Hi Mike,
Thanks, actually package name was wrong libgl-devel should be libglvnd-devel, but not libGL-devel, because Fedora doesn’t have libGL-devel or libgl-devel packages, check:
Fedora 27 + Kernel 4.16 working only with patched 390.48 (https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/4/#download-nvidia-patched-installer)
nvidia-installer: version 390.48 ([email protected]) Thu Mar 22 01:07:44 PDT 2018
Linux papirus 4.16.3-200.fc27.x86_64 #1 SMP Thu Apr 19 19:33:38 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)
Some errors reports during 4.16.4 kernel boot:
Bad or missing usercopy whitelist? Kernel memory exposure attempt detected from SLUB object ‘nvidia_stack_cache’ (offset 11440, size 3)!
WARNING: CPU: 13 PID: 1404 at mm/usercopy.c:81 usercopy_warn+0x7e/0xa0
Hi Kirill,
That’s true and corrected on guide.
So following packages should work normally with Fedora 28/27/26 and kernel 4.16:
nVidia 396.18 BETA
nVidia 390.48 patched
nVidia 340.106 patched
thanks a lot for the guides, would probably have given up on Linux by now if it weren’t for you ;)
been having issues with the drivers on F27 since 4.15.16 kernel update. 390.48 wouldn’t load Xorg, so I installed the 396.18 beta on 4.15.17. I then updated the kernel to 4.16.3, and again I couldn’t boot into Xorg. I reinstalled 396.18 again, and it’s fine for now.
I understand the 390.48 needed a kernel patch, but the 396.18 only worked with 4.16.3 after I reinstalled the driver. Any idea what the issue might be? is it DKMS related? I would hate to reinstall the Nvidia driver with every kernel update…
my system is F27 x64 BIOS
thanks in advance!
Hi siaul,
This problems sounds like dkms related, could you post output of following command:
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/nvidia/390.25/source/dkms.conf does not exist.
You’re right. Looks like it’s pointing to the old directory instead of the current 396.18, which exists.
I’m having some trouble with even the latest beta driver on the latest kernel. The error regards the inability to load the nvidia-drm module. Here are my details:
Machine: Dell XPS 15 9560
Firmware: 1.7.1
Secure Boot: disabled in BIOS
Boot method: UEFI
OS: Fedora 27
Nvidia Driver version: 396.18 Beta
Kernel version: 4.16.3-200.fc27.x86_64
nvidia-installer.log
https://pastebin.com/DjxcFCFC
I did try to install the 390.48 and ran into the same issue (cannot load nvidia-drm module), uninstalled it, and reversed the post changes. This log is for the second attempt to install 396.18 (that’s why it complains about the driver already being installed). I’ve since uninstalled it and reversed the post changes, so in theory I should have a fresh start to try again.
Would appreciate any guidance for further steps to try. Thanks!
Hi Jared,
Could you post output of following command:
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Unfortunately you have nVidia Optimus device, nVidia support for Optimus devices on Linux is limited and you can only do offscreen rendering and run CUDA apps, but can’t drive a display. More info from http://download.nvidia.com/XFree86/Linux-x86_64/390.48/README/optimus.html
Patched 390 for the 4.16 kernel worked great on Fedora 27 KDE! Thanks for this great guide!
[[email protected] ~]$ nvidia-installer -v |grep version
nvidia-installer: version 390.48 ([email protected]) Thu Mar 22 01:07:44 PDT 2018
[[email protected] ~]$
[[email protected] ~]$ uname -a
Linux rog.localdomain 4.16.4-200.fc27.x86_64 #1 SMP Tue Apr 24 23:19:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$
[[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 GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
[[email protected] ~]$
Hi JR,
I had an issue while installing the drivers I got the error:
Unable to load the ‘nvidia-drm’ kernel module
could it be because my system uses Nvidia Optimus?
system specs:
-Dell Inspiron 15 7000
-model 7577
-graphics: GTX1060
Hi mo,
Could you post output of following command:
It should tell us, do you have nVidia Optimus card.
Thank You!
nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
Linux phoenix 4.16.5-300.fc28.x86_64 #1 SMP Fri Apr 27 17:38:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
0a:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
kernel 4.16
installer 396
vga: 1060 6G
i followed this steap, no error found during the installing, but after reboot, ther bootloader stop at black sreeb
i checked journalctl -xe and received error “system encountered a non fatal error in _nv001065rm()”
sorry i using my phone to comment, so i can not write longer
Hi maithanhan,
This might be hardware error, is this card working normally with earlier kernels or other operating systems?
Could you first post your xorg log and output of following command:
Thanks for your precise&usefull guide.
[email protected]:~$ nvidia-installer -v |grep version
nvidia-installer: version 340.106 ([email protected]) Tue Jan 9 15:06:34 PST 2018
[email protected]:~$ uname -a
Linux w510x 4.16.5-300.fc28.x86_64 #1 SMP Fri Apr 27 17:38:36 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 GT216GLM [Quadro FX 880M] (rev a2)
I got a problem with GPL license when run the installer. Could you help me?
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 396.24 -k 4.16.6-302.fc28.x86_64+debug`:
Kernel preparation unnecessary for this kernel. Skipping…
/var/lib/dkms/nvidia/396.24/build/make.log:
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘mutex_destroy’
—————————————————-
nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
Linux localhost.localdomain 4.16.6-302.fc28.x86_64+debug #1 SMP Tue May 1 23:10:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
Hi andys0975,
First problem is that you are using debug kernel?
Check your uname -a output:
Then next problem is nVidia Optimus device? Or is it possible to disable Intel Graphics from BIOS/UEFI?
ya I use debug version kernel
Is that an important problem?
Mine is Nvidia Optimus, however I can install properly on previous kernels version, so I don’t think it’s an important problem?
OMG You’re damn right
The debug kernel can’t install
but normal kernel can do even need not to close X window
Thank you for pointing the blind spot !
Note that I use rc kernel 4.17.0.rc3 and it works
——————-
nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
Linux localhost.localdomain 4.17.0-0.rc3.git2.2.fc29.x86_64 #1 SMP Wed May 2 19:24:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
BTW
Can you explain why debug kernels can’t work?
Ok, nice to hear that solved your problem.
You can read more about this from here: https://devtalk.nvidia.com/default/topic/989778/nvidia-drivers-378-09-fails-to-build-fatal-modpost-gpl-incompatible-module-nvidia-drm-ko-uses-gpl-only-symbol-mutex_destroy-/ normally debug kernels have more things enabled so I if you are not debugging, then it’s better run normal kernel.
BTW. is your nVidia Optimus device working with Xorg or do you just run some offscreen stuff?
I encounter Xorg crash at the first reboot
However I remove the xorg.conf, then reboot
Everything’s runing fine.
BTW, I add nomodeset in grub
which avoids blackscreen when I banned the nouveau service
Nvidia drivers before 396.18 (currently beta) are incompatible with fedora and kernel 4.16
Hi tyruchi,
Yes, but I have nvidia 390.48 and 340.106 patched for kernel 4.16 here. And yes nVidia 396.16 Beta is first version which works with kernel 4.16 without patches and now also nVidia 396.24 STABLE is available.
Wow this is so amazing. Followed the instructions to the ‘T’. All is well. Thank you so much
Fedora 28 is out.But nvidia-340.106 patched driver worked at a low level.For example,in Kde Plasma desktop,The driver installation may broken libOpenCl.so.1 file,this make play of videos failed.Besides this,desktop effects don’t work(Alt+TAB,ctrl+F11) except desktop transparent.