If Not True Then False

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

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:

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

Stefan Frick

Had to install kernel-devel and dkms first. Apart from that it worked on first try :-) Thumbs up!

nvidia-installer -v |grep version
nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02) Thu May 4 01:29:11 PDT 2017

uname -a
Linux frix-n1.it.liu.se 4.10.17-200.fc25.x86_64 #1 SMP Mon May 22 18:12:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lspci |grep -i VGA
05:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)

reply Reply
Tony Stark

Hello thanks pals. working like a charm


[tonystark@localhost ~]$ nvidia-installer -v | grep version
nvidia-installer: version 375.66 (buildmeister@swio-display-x86-rhel47-06) Mon May 1 15:45:47 PDT 2017
[tonystark@localhost ~]$ uname -a
Linux localhost.localdomain 4.11.3-200.fc25.x86_64 #1 SMP Thu May 25 19:03:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[tonystark@localhost ~]$ lspci | grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
[tonystark@localhost ~]$

reply Reply
Charlie McVeigh

What a great site and what a resource for those of us running Fedora. I upgraded to fedora 25 about 6 weeks ago and I have been running Nvidia 340.102 drivers (patched version from your site) with no issues on 4.10.x kernel versions. I upgraded to kernel version 4.11.3 over the weekend and my graphics are not starting properly. Could this be related to moving from kernel version 4.10.x to 4.11.x?

Happy to troubleshot this but I am not quite sure where to start.

reply Reply
JR

Hi Charlie,

I have been a bit busy now, but just updated this guide and added kernel 4.11 patched nVidia installers (340.102 and 304.135).

reply Reply
Jhonny

Excelent!!! The installation was just like the tutorial!! very thanks

reply Reply
Aaron Swan

Everything went smoothly except that for some reason kernel-devel installed a later version than my kernel. I had to run “dnf distro-sync” prior to the “Run NVIDIA Binary” step to fix the issue.

[aarons@localhost ~]✓ nvidia-installer -v |grep version
nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02)
[aarons@localhost ~]✓ uname -a
Linux localhost.localdomain 4.11.4-200.fc25.x86_64 #1 SMP Wed Jun 7 18:28:00 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[aarons@localhost ~]✓ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)

reply Reply
pamanes7

hello sir, excellent tutorial!

I was successful on Fedora 25 with an HP Elitebook 8770w, here’s the output respectively:

nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02)

Linux elitebook 4.11.4-200.fc25.x86_64 #1 SMP Wed Jun 7 18:28:00 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GK104GLM [Quadro K3000M] (rev a1)

reply Reply
Aniket

nvidia-installer: version 340.102 (buildmeister@swio-display-x64-rhel04-19

Linux mr-tweaker 4.11.4-100.fc24.x86_64 #1 SMP Wed Jun 7 20:06:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1)

reply Reply
Gert

Hi,

I think it was faulty to invoke the NVIDIA-Linux-x86_64-381.22.run via the remote ” ssh – X ..” command. After reboot the monitor is black (HDMI).
The corresponding “monitor section” is empty.

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
HorizSync 28.0 – 33.0
VertRefresh 43.0 – 72.0
Option “DPMS”
EndSection

nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02) Thu May 4 01:29:11 PDT 2017
The NVIDIA Software Installer for Unix/Linux.

How can I re-create /etc/X11/xorg.conf its monitor-section?
Regards
Gert

reply Reply
Tony Stark


[tstark@localhost ~]$ nvidia-installer -v|grep version
nvidia-installer: version 375.66 (buildmeister@swio-display-x86-rhel47-06)
[tstark@localhost ~]$ uname -a
Linux localhost.localdomain 4.11.5-200.fc25.x86_64 #1 SMP Wed Jun 14 17:17:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[tstark@localhost ~]$ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
[tstark@localhost ~]$

reply Reply
Fernando

I already installed the driver in Fedora 25 can I still run the dnf update command as I normally do? To do a complete system update is it necessary to uninstall the driver and after the update reinstall?

reply Reply
Rajsekhar Mohapatra

I am new to linux and fedora. I freshly installed Fedora 25. However, my installation of NVIDIA driver (following the above steps) fails during the installation step ( ./NVIDIA-Linux-*.run). I am posting the error output of my nvidia-installer.log file.
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 375.66 -k 4.2.8-200.fc22.x86_64`: Error! echo
Your kernel headers for kernel 4.2.8-200.fc22.x86_64 cannot be found at
/lib/modules/4.2.8-200.fc22.x86_64/build or /lib/modules/4.2.8-200.fc22.x86_64/source.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.

reply Reply
P

Thanks a lot.

Got a worrying message during the non-GUI nvidia driver installation:
“An incomplete installation of libglvnd was found.Do you want to install a full copy of libglvnd?This will overwrite any existing libglvnd libraries.”

Which i responded with: “yes, overwrite” and it pretty much worked.

Here’s my output:

1: nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02)
2: Linux s 4.11.7-200.fc25.x86_64 #1 SMP Mon Jun 26 15:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
3: 23:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)

I was in the process of updating the system while i stumbled across this great article so for people who are worried they ran “dnf update” before making any changes, there shouldn’t be any.

reply Reply
me

[mef@localhost ~]$ nvidia-installer -v |grep version
nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02)
[mef@localhost ~]$ uname -a
Linux localhost.localdomain 4.11.7-200.fc25.x86_64 #1 SMP Mon Jun 26 15:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[mef@localhost ~]$ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [NVS 4200M] (rev a1)
[mef@localhost ~]$

reply Reply
me

Thanks so much!!!! Second time I’ve used this guide and still sweated through the hole process. Finished without a single glitch

reply Reply