If Not True Then False

Fedora 27/26/25 nVidia Drivers Install Guide - Comment Page: 55

This is guide, howto install nVidia proprietary drivers on Fedora 27/26/25/24/23/22/21 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700/800/900/10 series cards. GeForce 400/500/600/700/800/900/10 series cards works with 384.xx and 387.xx nVidia drivers GeForce 8/9/200/300 series cards works with 340.xx nVidia drivers GeForce 6/7 series cards works with...
Categories:
Tagged with:

1449 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

Grant Rostig

[grostig@localhost ~]$ nvidia-installer -v |grep version
nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02) Thu Oct 26 15:56:19 PDT 2017
[grostig@localhost ~]$
[grostig@localhost ~]$ 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
[grostig@localhost ~]$
[grostig@localhost ~]$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

reply Reply
dephekt

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.

reply Reply
dephekt

# nvidia-installer -v |grep version
nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15)

# 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)

reply Reply
JR

Hi dephekt,

/etc/sysconfig/grub is a same file, symlink to /etc/default/grub (on clean installed Fedora 27):


ls /etc/sysconfig/grub -la
lrwxrwxrwx. 1 root root 15 Oct 24 13:01 /etc/sysconfig/grub -> ../default/grub

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 and ls -la /etc/default on Debian/Ubuntu.

reply Reply
Alex

Thank you so much, you have no idea how easy you have made Linux for me!

reply Reply
Russell Reiter

Success. Thanks for making it easier. i7-8700 on an Asus z370-A

# nvidia-installer -v |grep version
nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15)

# 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)

reply Reply
Rb

Success

version 387.34 (buildmeister@swio-display-x64-rhel04-15)

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)

reply Reply
ValentineN

Success! Thank you very much!

nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15) 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)

reply Reply
Berenguer

[berenguer@localhost ~]$ nvidia-installer -v | grep version
nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02)
[berenguer@localhost ~]$ 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
[berenguer@localhost ~]$ lspci | grep -E "VGA|3D"
01:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX 780 Ti] (rev a1)
[berenguer@localhost ~]$

reply Reply
Bernd Putsche

Patched 340.xxx installer does not work with new 4.14 kernel on fedora 27

dkms stops with errors and throws kernel configuration invalid.

reply Reply
bill

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.

reply Reply
sg

$ nvidia-installer -v |grep version
nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15)

$ 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

reply Reply
Artem

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.

reply Reply
JR

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.

reply Reply
bytaj

[root@localhost ~]# nvidia-installer -v |grep version
nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15)
[root@localhost ~]# 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
[root@localhost ~]# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)

reply Reply
jan Peters

[root@theLocalGroup ~]# nvidia-installer -v | grep version
nvidia-installer: version 387.34 (buildmeister@swio-display-x64-rhel04-15) Tue Nov 21
[root@theLocalGroup ~]# 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
[root@theLocalGroup ~]# lspci | grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
[root@theLocalGroup ~]#

reply Reply
Rodrigo Janz

It worked!
Using Nvidia gtx 1070ti from gigabyte

nvidia-installer: version 387.22 (buildmeister@swio-display-x86-rhel47-04)

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)

reply Reply