If Not True Then False

Fedora 26/25/24 nVidia Drivers Install Guide - Comment Page: 37

This is guide, howto install nVidia proprietary drivers on Fedora 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 375.xx, 381.xx and 384.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:

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

srihas

I have a nvidia GTX 980 with optimus technology and i am really finding it difficult to install drivers on fedora 23. I have seen the bumblebee project but should i first install the nvidia drivers? Anyone did this before?

reply Reply
JR

Could you post more info about your hardware and software what are you using?

reply Reply
mohamed

ok cool
iam using
AMD Phenom(tm) II X6 1055T Processor
8G Memory
GTX 670
i tried to disable the nouveau and tried to make nVidia installer executable .. i did all the steps but still nothing
when i rebooting to runlevel 3 i tried to open the nvidia .run but it always say it can not open the file no such file name or directory … so i tried sh nvidia.run
and it is opend and i start the installing by accepting the nvidia bla bla bla ..
but then error come out and it is say that nouveau driver is in use !!!!!!
i even installed anew fresh installation because when i login back to kde kernel it was not showing the colors right and icant even read .. iam doing this and keeping on reading all over the internet for more than 4 days now ..
i really starting to hate this …

reply Reply
JR

Thanks!

Okay, first problem is that the nouveau module is still loaded. You can verify it, when you boot to runlevel 3 and run following command:


lsmod |grep nouveau

If you see any output, then it’s loaded.

Then you can post output of following commands here:


uname -a

lspci |grep -E "VGA|3D"

cat /etc/modprobe.d/blacklist.conf

grep GRUB_CMDLINE_LINUX /etc/sysconfig/grub

rpm -qa xorg-x11-drv-nouveau
reply Reply
mohamed

it is a fresh installation of fedora 25 kde here is what i got from the konsole as root user –
[root@192 mohamed]# uname -a
Linux 192.168.1.2 4.8.16-300.fc25.x86_64 #1 SMP Fri Jan 6 18:11:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@192 mohamed]# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 670] (rev a1)
[root@192 mohamed]# cat /etc/modprobe.d/blacklist.conf
cat: /etc/modprobe.d/blacklist.conf: No such file or directory
[root@192 mohamed]# grep GRUB_CMDLINE_LINUX /etc/sysconfig/grub
GRUB_CMDLINE_LINUX=”rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet”
[root@192 mohamed]# rpm -qa xorg-x11-drv-nouveau
xorg-x11-drv-nouveau-1.0.13-1.fc25.x86_64
[root@192 mohamed]#

——————————————————————————-
i will post the runlevel 3 command ..

reply Reply
mohamed

Good news
[root@192 mohamed]# nvidia-installer -v |grep version
nvidia-installer: version 375.26 (buildmeister@swio-display-x86-rhel47-01) Thu Dec 8 19:07:58 PST 2016
[root@192 mohamed]# uname -a
Linux 192.168.1.2 4.8.16-300.fc25.x86_64 #1 SMP Fri Jan 6 18:11:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@192 mohamed]# lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 670] (rev a1)
[root@192 mohamed]#

thanks sooo much man for your support :)

reply Reply
Alex Romanov

Thanks!

nvidia-installer: version 375.26 (buildmeister@swio-display-x86-rhel47-01)
Linux localhost 4.8.16-300.fc25.x86_64 #1 SMP Fri Jan 6 18:11:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460 SE] (rev a1)

reply Reply
Eric

Hello, I have done every step as your post.But the Resolution is one single “640 X 480”,here is my machine info:
nvidia-installer -v |grep version
nvidia-installer: version 375.26
————
uname -a
Linux fedora25 4.8.16-300.fc25.x86_64 #1 SMP Fri Jan 6 18:11:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
————
lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

Could U help me? I am waiting…Ths

reply Reply
Ericode

My email address:Ericode@foxmail.com

Follow your posts step by step, then successfully. But still a problem:My display resolution is only 640×480,this is not what i want.

Here is info:
nvidia-installer -v |grep version: nvidia_installer: Version 375.26
uname-a: Linux fedora 4.8.16-300.fc25.x86_64 #1 SMP Fri Jan6 18:11:49 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -i VGA: 01:00.0 VGA compatible controller : NVIDIA Corporation GM206 [Geforce GTX 960](rev a1)

reply Reply
JR

Hi Ericode,

What cable you are using between graphics card and monitor? And what monitor you use?

reply Reply
Michael

Hello.
I updated only the kernel packeges, rebooted and got the same error:
loading process stop after gnome display manager loaded and screen starts to flicker. So i reinstalled drivers again.
dkms status:
nvidia, 375.26, 4.8.16-300.fc25.x86_64, x86_64: installed
dkms –version:
dkms: 2.3.0.0
Can you advise something?

reply Reply
JR

Hello Michael,

Could you post output of following commands:


uname -a

rpm -qa kernel\* |sort -V

lspci |grep -E "VGA|3D"
reply Reply
Michael

uname -a:
Linux fanenand 4.9.4-201.fc25.x86_64 #1 SMP Tue Jan 17 18:58:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa kernel\* |sort -V:
kernel-4.8.15-300.fc25.x86_64
kernel-4.8.16-300.fc25.x86_64
kernel-4.9.4-201.fc25.x86_64
kernel-core-4.8.15-300.fc25.x86_64
kernel-core-4.8.16-300.fc25.x86_64
kernel-core-4.9.4-201.fc25.x86_64
kernel-devel-4.8.15-300.fc25.x86_64
kernel-devel-4.8.16-300.fc25.x86_64
kernel-devel-4.9.4-201.fc25.x86_64
kernel-headers-4.9.4-201.fc25.x86_64
kernel-modules-4.8.15-300.fc25.x86_64
kernel-modules-4.8.16-300.fc25.x86_64
kernel-modules-4.9.4-201.fc25.x86_64
kernel-modules-extra-4.8.15-300.fc25.x86_64
kernel-modules-extra-4.8.16-300.fc25.x86_64
kernel-modules-extra-4.9.4-201.fc25.x86_64
kernel-tools-4.9.4-201.fc25.x86_64
kernel-tools-libs-4.9.4-201.fc25.x86_64

lspci |grep -E “VGA|3D”:
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650 OEM] (rev a1)

reply Reply
JR

Hi Michael,

Some reason looks like you have nVidia drivers installed for 4.8.16 kernel and you are running, 4.9.4 kernel.

Could you try to update latest kernel (4.9.5-200.fc25.x86_64) and then boot to runlevel 3 using it and then reinstall nVidia drivers?

reply Reply
Yanni

Hello

I have GeForce 710B. The list of supported cards include the 710A and 710M.

Does that mean my card is not supported?

Thank you

reply Reply
JR

Hi Yanni,

Could you post output of following command:


lspci |grep -E "VGA|3D"
reply Reply
Lujzi

Unfortunately the v340.101 driver does not install/compile on kernel 4.9.3-200.fc25.x86_64.
ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. (They actually are not missing…)
An analogue error was reported with earlier versions on 1st July 2016 by Daniel. A patched installer helped that time…
Thanks in advance.

reply Reply
Lujzi

The patched driver works well for me with 4.9.4 kernel. Thanks a lot.

reply Reply
Andre

No Problems here

nvidia-installer: version 340.101 (buildmeister@swio-display-x64-rhel04-15) Thu Dec 1 16:02:05 PST 2016

Linux aptor.fedora 4.5.7-200.fc23.x86_64 #1 SMP Wed Jun 8 17:41:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 240] (rev a2)

reply Reply
Jose Luis Mantilla

My recommendation is don’t uninstall the “nouveau” package after you reboot because I did the guide step by step and didn’t work for me!

I needed to start in mode multiuser from grub kernel and undo all the steps because my machine didn’t boot with the driver.

My log
#tail /var/log/nvidia/install.log
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/vdpau/libvdpau_nvidia.so.304.134’…
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:
-> done.
ERROR: Unable to load the kernel module.
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.

So I needed to restore all the steps,

reply Reply
faizal

I`ve done all the steps but after reboot, gnome said something goes wrong and required to log out. I reinstall Fedora 25 3 times and still got the same result. I m using ASUS ROG VL552V with NVidia GeForce GTX 950M.

nvidia-installer -v |grep version
nvidia-installer: version 375.26 (buildmeister@swio-display-x86-rhel47-01)
[root@localhost ~]# lspci |grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
[root@localhost ~]# lspci | grep 3D
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
[root@localhost ~]#

reply Reply
Greg Peterson

On Fedora 24 I upgraded from 340.98 to 340.101 with Kernel 4.9+ patch:

$ nvidia-installer –version
nvidia-installer: version 340.101 (buildmeister@swio-display-x64-rhel04-15) Thu Dec 1 16:02:05 PST 2016

$ lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GT200GL [Quadro FX 4800] (rev a1)

$ uname -r
4.9.4-100.fc24.x86_64

Since this was an upgrade, I just ran the installer, answered the questions, and rebooted. It seems fine now.

By the way, I noticed that the rpmfusion package for akmods is still “nvidia-340xx-kmod-340.98-1.fc24.src.rpm”.

reply Reply
Romain

This page about nvidia & fedora is great.
I use GT240 on fedora kernel4.9+ with 340-patched driver and I really don’t know how to do without your help ;)

Thank !

reply Reply
BillR_FCUser

I tried installing the true-blue nvidia driver using these excellent instructions, but I keep getting the following error:

ERROR : Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that… etc.

I was running FC23 on this box and had the card working fine, but don’t recall how I did it.

The box: a Dell PowerEdge T310 with 32GB DRAM and Intel X3470 quad processor. I don’t plan on gaming or doing any video editing on this machine… basic X functionality is all I need.

I greatly appreciate any help you can provide.

reply Reply
BillR_FCUser

Forgot to include requested utility output:

lspci | grep VGA:
04:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400 GS] (rev a1)

uname -a:
Linux flash 4.8.13-100.fc23.x86_64 #1 SMP Fri Dec 9 14:51:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

nvidia-installer -v:
nvidia-installer: version 340.101 (buildmeister@swio-display-x64-rhel04-15)

Thu Dec 1 16:02:05 PST 2016

The NVIDIA Software Installer for Unix/Linux.

This program is used to install, upgrade and uninstall The NVIDIA Accelerated

Graphics Driver Set for Linux-x86_64.

Copyright (C) 2003 – 2010 NVIDIA Corporation.

reply Reply