If Not True Then False

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

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.

rock

These steps are crazy. Why can’t this be simple like in Windows. Just install and some clicks.

reply Reply
JR

Hi rock,

Linux is not Windows. Just like asking “why I can’t use 64Tb RAM on Windows efficiently?” or “Why I can’t boot Windows without GUI?”.

Maybe you have some reason why you are using Linux, not Windows?

reply Reply
Kangamoo

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

Linux kangamooxx 4.11.10-300.fc26.x86_64 #1 SMP Wed Jul 12 17:05:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

I didn’t get the Cannot create symlink etc.. errors. Perhaps resolved?

Thanks for a very well written and easy to follow guide!

reply Reply
zz

[zz@localhost ~]$ nvidia-installer -v | grep version
nvidia-installer: version 381.22 (buildmeister@swio-display-x86-rhel47-02) Thu May 4 01:29:11 PDT 2017
[zz@localhost ~]$
[zz@localhost ~]$ uname -a
Linux localhost.localdomain 4.11.10-300.fc26.x86_64 #1 SMP Wed Jul 12 17:05:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[zz@localhost ~]$
[zz@localhost ~]$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)

reply Reply
zz

“lspci | grep -i vga” is incomplete. Here is output of “grep -i 3d” as well:
[zz@localhost ~]$ lspci | grep -i 3d
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

reply Reply
strange-corner

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

Linux localhost.localdomain 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)

Thanks

reply Reply
anormal08

Can someone here help me? I’m in fedora 26

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Wed Jul 26 17:27:54 2017
installer version: 304.135

PATH: /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/user/.local/bin:/home/user/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 304.135.
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing ‘NVIDIA Accelerated Graphics Driver for Linux-x86’ (304.135):
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-glcore.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGL.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-tls.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/tls/libnvidia-tls.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/xorg/modules/libnvidia-wfb.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libXvMCNVIDIA.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ml.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-cfg.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libcuda.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-opencl.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libOpenCL.so.1.0.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-compiler.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/vdpau/libvdpau_nvidia.so.304.135’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvcuvid.so.304.135’…
executing: ‘/usr/sbin/ldconfig’…
executing: ‘/usr/sbin/depmod -aq’…
depmod: WARNING: Ignored deprecated option -q
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 304.135 -k 4.11.11-300.fc26.i686+PAE`: Error! echo
Your kernel headers for kernel 4.11.11-300.fc26.i686+PAE cannot be found at
/lib/modules/4.11.11-300.fc26.i686+PAE/build or /lib/modules/4.11.11-300.fc26.i686+PAE/source.
-> error.
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
JR

Hello anormal08,

Unfortunately I don’t have any Fedora 26 i686 PAE system running, so I don’t have i686 kernel patched version. I can check quickly if I found patch, then this guide should work for you too.

reply Reply
Vilius

Great guide

nvidia-installer: version 384.59 (buildmeister@swio-display-x64-rhel04-01)
Linux hostname 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

reply Reply
Nick

This worked perfect for me! Thank you so much!

Output:
nvidia-installer: version 384.47 (buildmeister@swio-display-x86-rhel47-02)
Linux localhost.localdomain 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

reply Reply
Rob

Successful install on Fedora 26!

nvidia-installer: version 384.59 (buildmeister@swio-display-x64-rhel04-01)

Linux localhost.localdomain 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 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)

reply Reply
yonmoon

Restore Plymouth doesn’t wok for me since I upgrade My fedora from fc24 to fc25+(fc26 included),when I set plymouth to hot-dog,Splash screen only displayed when reboot/poweroff,but do not show on startup.Sorry for my pool english.grub2 menu background shows correctly,so I think this is not for framebuffer.below is my /etc/defaul/grub file content:
GRUB_TIMEOUT=12
GRUB_DISTRIBUTOR=”$(sed ‘s, release .*$,,g’ /etc/system-release)”
GRUB_DEFAULT=2
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=”gfxterm”
GRUB_CMDLINE_LINUX=”rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet resume=/dev/dm-1″
GRUB_DISABLE_RECOVERY=”true”
GRUB_GFXPAYLOAD_LINUX=”keep”
GRUB_THEME=”/boot/grub2/themes/Vimix/theme.txt”
GRUB_VIDEO_BACKEND=”vbe”
GRUB_FONT_PATH=”/boot/grub2/fonts/unicode.pf2″
GRUB_GFXMODE=”1280x1024x32″

reply Reply
Rob

The Fedora 21 instructions also work flawlessly for Centos 7; the only change I had to make was replacing ‘fedora’ with ‘centos’ in “2.6.3 Update grub2 conf”

nvidia-installer: version 384.59 (buildmeister@swio-display-x64-rhel04-01) Thu Jul 20 01:03:41

Linux localhost.localdomain 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GP107 (rev a1)

reply Reply
Oleg

I have been successful))
Here is my config:

[merl@localhost Portal_2]$ nvidia-installer -v |grep version
nvidia-installer: version 340.102 (buildmeister@swio-display-x64-rhel04-19) Mon Jan 16 13:23:07 PST 2017

[merl@localhost Portal_2]$ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT200GL [Quadro FX 4800] (rev a1)

[merl@localhost Portal_2]$ uname -a
Linux localhost.localdomain 4.11.12-200.fc25.x86_64 #1 SMP Fri Jul 21 16:41:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

reply Reply
henry

Absolute lifesaver! Thank you so much.

I had a little problem running the executable complaining about kernel headers for fedora25. Needed to do `dnf clean all` then update. Now it works great!

nvidia-installer: version 384.59 (buildmeister@swio-display-x64-rhel04-01)
Linux localhost.localdomain 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1)

reply Reply
kotu

Well once again I used this tutorial to successfully install driver on linux,
my previous comment was at Semptember 2016 (30 page, also tagget with name kotu). Here details:

UEFI BIOS Version N1EET57W/1.30
NVIDIA-Linux-x86_64-384.59.run

In UEFI BIOS I have at tab CONFIG/DISPLAY following options:
Boot Display Device: ThinkPad LCD
Shared Display Priority Display Port
Total Graphic Memory 256 MB
Graphic Device Discrete Graphic
Boot Time Extension Disabled

Linux localhost.localdomain 4.11.11-300.fc26.x86_64
01:00.0 VGA compatible controller:
NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

reply Reply
eguan

eguan@localhost:~$ nvidia-installer -v | grep version
nvidia-installer: version 375.82 (buildmeister@swio-display-x86-rhel47-03) Wed Jul 19 21:43:47 PDT 2017
eguan@localhost:~$ uname -a
Linux localhost.localdomain 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
eguan@localhost:~$ lspci | grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

reply Reply
Bill

Your instructions resolved my post Fedora26 upgrade issues with the Nvidia kernel module failing to load. Thank you for the instructions.

# nvidia-installer -v |grep version
nvidia-installer: version 384.59 (buildmeister@swio-display-x64-rhel04-01) Thu Jul 20 01:03:41 PDT 2017
# uname -a
Linux tv-pc.private 4.11.11-300.fc26.x86_64 #1 SMP Mon Jul 17 16:32:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
07:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
#

reply Reply