Fedora 37/36/35 NVIDIA Drivers Install Guide [525.85.05 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 55
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 525.xx, 520.xx NVIDIA drivers, (RTX 4090)
GeForce RTX 30 series cards works with 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 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 cards works with 510.xx,...
[[email protected] ~]$ nvidia-installer -v |grep version
nvidia-installer: version 384.98 ([email protected]) Thu Oct 26 15:56:19 PDT 2017
[[email protected] ~]$
[[email protected] ~]$ uname -a
Linux localhost.localdomain 4.13.16-300.fc27.x86_64 #1 SMP Mon Nov 27 18:19:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$
[[email protected] ~]$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
2.6.2 Edit /etc/sysconfig/grub
This should be /etc/default/grub at least for Fedora 27. Things in /etc/sysconfig/grub have no effect on the grub config being built by grub2-mkconfig. The rd.driver.blacklist=nouveau needs to be appended to /etc/default/grub, followed by the rest of your instructions.
I verified this by adding a grub config line to /etc/sysconfig/grub, built a new grub config with grub2-mkconfig and viewed the contents of /boot/grub2/grub.cfg confirming the rd.driver.blacklist=nouveau was *not* included. After rebooting into multi-user.target, nouveau was still loaded.
When I moved the blacklist line to /etc/default/grub, rebuilt the grub config and ran dracut again, and rebooted, only then was nouveau not loaded and I could proceed with the nvidia install.
# nvidia-installer -v |grep version
nvidia-installer: version 387.34 ([email protected])
# uname -a
Linux me 4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# lspci |grep -E “VGA|3D”
02:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)
Hi dephekt,
/etc/sysconfig/grub is a same file, symlink to /etc/default/grub (on clean installed Fedora 27):
So you can use both.
Btw. this /etc/default is more Debian/Ubuntu style configuration directory and /etc/sysconfig is more Fedora/RHEL style configuration directory.
Check
ls -la /etc/sysconfig
on Fedora/RHEL andls -la /etc/default
on Debian/Ubuntu.You’re right. I’m not sure why grub2-mkconfig didn’t build grub.cfg properly when I tested that before posting my comment. Perhaps I forgot a step or something.
/etc/sysconfig/grub certainly is a link to /etc/default/grub in F27 on a fresh install.
Thank you so much, you have no idea how easy you have made Linux for me!
Success. Thanks for making it easier. i7-8700 on an Asus z370-A
# nvidia-installer -v |grep version
nvidia-installer: version 387.34 ([email protected])
# uname -a
Linux thoth 4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# lspci |grep -E “VGA|3D”
02:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
06:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
07:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Success
version 387.34 (buildmeist[email protected])
uname -a
Linux localhost.localdomain 4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
Success! Thank you very much!
nvidia-installer: version 387.34 ([email protected]) Tue Nov 21 03:31:57 PST 2017
Linux XXXXX 4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
[[email protected] ~]$ nvidia-installer -v | grep version
nvidia-installer: version 384.98 ([email protected])
[[email protected] ~]$ uname -a
Linux localhost.localdomain 4.14.3-300.fc27.x86_64 #1 SMP Mon Dec 4 17:18:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci | grep -E "VGA|3D"
01:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX 780 Ti] (rev a1)
[[email protected] ~]$
Patched 340.xxx installer does not work with new 4.14 kernel on fedora 27
dkms stops with errors and throws kernel configuration invalid.
Hi Bernd,
Patched nVidia 304.104 version for kernel 4.14.
Anybody tried the upgrade from Fedora 26 to 27?
I’d like to, but I’m not sure if it can be done smoothly… Can I just do a regular upgrade from 26 to 27 (usually I do by command line) and it should be ok?
Any hint would be really appreciated, thanks.
If anybody care… Just a regular upgrade to F27 does the trick perfectly.
I didn’t have to do anything else, just upgrade with the command line tools and everything was working perfectly again.
I guess the trick is in dkms, which correctly takes care of recoumpiling the modules on the updated kernel.
Will you have a 4.14 kernel patch and a 340.104 driver?
Hi Igor,
Patched nVidia 304.104 version for kernel 4.14.
$ nvidia-installer -v |grep version
nvidia-installer: version 387.34 ([email protected])
$ uname -a
Linux kepler-fed 4.14.5-300.fc27.x86_64 #1 SMP Mon Dec 11 16:00:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
thanks :) easy to follow guide
Hi! Is it possible to have a small CHANGELOG of this article? Just to see what has been added or edited since previous version. Thank You in advance.
Hi Artem,
Yes it’s possible, normally I just update nVidia drivers version numbers, patched drivers to work with latest kernels and some screenshot. Idea and procedure how to install nVidia drivers is same.
[[email protected] ~]# nvidia-installer -v |grep version
nvidia-installer: version 387.34 ([email protected])
[[email protected] ~]# uname -a
Linux localhost.localdomain 4.14.5-300.fc27.x86_64 #1 SMP Mon Dec 11 16:00:36 UTC 2017 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 660] (rev a1)
[[email protected] ~]# nvidia-installer -v | grep version
nvidia-installer: version 387.34 ([email protected]) Tue Nov 21
[[email protected] ~]# uname -a
Linux theLocalGroup 4.14.5-300.fc27.x86_64 #1 SMP Mon Dec 11 16:00:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# lspci | grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
[[email protected] ~]#
It worked!
Using Nvidia gtx 1070ti from gigabyte
nvidia-installer: version 387.22 ([email protected])
Linux4.13.16-100.fc25.x86_64 #1 SMP Mon Nov 27 19:52:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
VGA compatible controller: NVIDIA Corporation GP104 (rev a1)