If Not True Then False

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

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 381.xx, 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...
Categories:
Tagged with:

1412 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.

jayg

I previously had my 1050ti working with 375.26 on Fedora 25, but on recent kernel update, it stopped working. If I booted to older kernel, it was fine. Today I thought I would see if I could fix it, and came across your tutorial. However, after following all the steps, trying to boot into kernels 4.9.10, 4.9.12, and 4.9.13, and installing from several version of 375 and 378, the best I can get it an unresponsive login screen. And by unresponsive, I mean absolutely no response to mouse or keyboard. I have tried going to init 3 and doing a setenforce 0, as I read recent selinux policy may be an issue, so I downgraded that to selinux-policy-3.13.1-224.fc25.noarch, but this did not help.

Output requested from your post:
nvidia-installer: version 378.13 (buildmeister@swio-display-x86-rhel47-05) Tue Feb 7 19:37:12 PST 2017

Linux thinkstation 4.9.12-200.fc25.x86_64 #1 SMP Thu Feb 23 19:31:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

Any help or pointers in how to recover would be highly appreciated!

reply Reply
JR

Hi jayg,

I just tested with latest packages and kernel 4.9.13 and it’s working normally for me, see:

Fedora 25, nVidia 378.13, Kernel 4.9.13, Gnome 3.22.2, SELinux 3.13.1-225 enforcing
Fedora 25 nVidia 378.13 Kernel 4.9.13

Fedora 25, nVidia 375.39, Kernel 4.9.13, Gnome 3.22.2, SELinux enforcing

So please try to update all packages to latest versions and reinstall nVidia drivers and then it’s easier to start debugging…

reply Reply
jayg

Ok JR, thanks for the response. I tried again this morning, and was successful. It appears the behavior I was seeing was not related to the nvidia setup, but rather something was not working with the usb hub I was connected to. Poor timing, but apparently unrelated. In any event, your directions were great, and the working combination for me was:
nvidia-installer: version 378.13 (buildmeister@swio-display-x86-rhel47-05) Tue Feb 7 19:37:12 PST 2017

Linux thinkstation 4.9.13-200.fc25.x86_64 #1 SMP Mon Feb 27 16:48:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

selinux-policy-3.13.1-225.11.fc25.noarch (Enforcing). Thanks again,
-j

reply Reply
RSH

Good manual, but it doesn’t work for me, after install on Samsung R580, touchpad doesn’t work and have tearing :(

reply Reply
Tim

Hi JR,

Thanks for your detailled tutorial.
I have a probem installing the 340 driver on fedora 25 kernel 4.9.
I did load the patched version as you wrote.
I also installed all the packages to install the driver.

When the installer then try to install the driver I get the following error:

Can not load the kernel module.

On Fedora 24 with kernel 4.8 everything worked.
Now I have no more 4.8 kernel to choose on grub and so I can’t run my fedora in graphical mode.

Any ideas?

Much regards,

Tim

reply Reply
Jonathan

I got the same today, gave up and installed nouveu, if anyone figures this out let us know. Fedora 25, 340. GTX 260

reply Reply
JR

Hi Tim and Jonathan,

Just tested patched nVidia 340.102 and installs without problems with latest selinux (3.13.1-225.11.fc25) and kernel (4.9.14-200.fc25) packages.

If you get still this “Can not load the kernel module.”, it’s SELinux problem and you can of course set SELinux to permissive or disabled mode to get it working.

Modify /etc/sysconfig/selinux:


SELINUX=enforcing

## change it to ##

SELINUX=permissive
## OR ##
SELINUX=disabled

Then reboot to runlevel 3 and run nVidia installer again.

reply Reply
Tim

Hi again,

I have made an error.
Instead of installing the acpid package I only installed the acpi rpm.
So maybe that was the reason I can’t install the driver.

Later the driver can be installed on 4.9.14.

Now with kernel 4.10 there is a new problem with the 340.102 driver.

Maybe you have to provide a new patched driver?

regards

Tim

reply Reply
Patrick

nvidia-installer -v |grep version:
nvidia-installer: version 375.39 (buildmeister@swio-display-x86-rhel47-09)

uname -a:
Linux localhost.localdomain 4.9.13-201.fc25.x86_64 #1 SMP Tue Mar 7 23:47:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lspci |grep -i VGA:
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

reply Reply
Skymit

nvidia-installer: version 375.39 (buildmeister@swio-display-x86-rhel47-09)

Linux skymit 4.9.13-201.fc25.x86_64 #1 SMP Tue Mar 7 23:47:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

“Fedora 25 (Workstation Edition)”

reply Reply
ivo

Hey, thanks for the guide. However it doesn’t work for me, on GDM (login) doesn’t load – it flickers and says Ops, something went wrong and there’s a logout button, and that’s it. Any suggestions? I’m on Fedora 25, updated, video is GeForce GTX 750 Ti. Thanks.

reply Reply
Henri

Everything seemed to work for me, thank you for the tutorial.

nvidia-installer: version 375.39 (buildmeister@swio-display-x86-rhel47-09)

Linux fed 4.9.13-201.fc25.x86_64 #1 SMP Tue Mar 7 23:47:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

27:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

reply Reply
Murray

Worked very well:

nvidia-installer: version 340.102 (buildmeister@swio-display-x64-rhel04-19) Mon Jan 16 13:23:07 PST 2017

Linux D830fedora64 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation G86M [Quadro NVS 135M] (rev a1)

Thank you, sir

reply Reply
statquant

Hello, on the first page the link List of Supported NVIDIA GPU Products is broken. I have a GTX1050 on my laptop, which driver should I use ?

reply Reply
a

nvidia-installer: version 378.13 (buildmeister@swio-display-x86-rhel47-05) Tue Feb 7 19:37:12 PST 2017

Linux localhost.localdomain 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1)

reply Reply
Michael

One thing you might want to mention is that SELinux blocks the nvidia install script from loading modules if the system is in enforcing mode.

avc: denied { module_load } for pid=9096 comm=”insmod” path=”/tmp/selfgz7126/NVIDIA-Linux-x86_64-304.135/kernel/nvidia.ko”

This causes the installer to exit with an error message.

reply Reply
JR

Hi Michael,

If you see this error, then change SELinux to permissive or disabled or alternatively create own policy for this.

I just tested nVidia 304.135 patched installer (on F25 latest packages installed) with SELINUX=enforcing and got module installed and loaded normally.

reply Reply
Gabriel

I forgot to leave the information.
Here is mine:

[b]version[/b] 340.102 (buildmeister@swio-display-x64-rhel04-19)

Linux ZyXEL8 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 [b]VGA[/b] compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)

reply Reply
Loopkin

Worked like a charm. Thanks!

$ nvidia-installer -v | grep version
nvidia-installer: version 375.26 (buildmeister@swio-display-x86-rhel47-01)
$ uname -a
Linux machine.localdomain 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lspci | grep -i VGA
04:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1)

reply Reply
Phillip

Could you please submit a patch for kernel 4.10.5-200 (which is the current kernel in fedora 25) with the latest nvida drivers?

This is freaking hilarious that nvidia does not fix its f*cking source code…

reply Reply