Fedora 25 - GeForce 960 GTX - driver failed

Hello,

I’m trying to install the nvidia driver on my Fedora 25 (with Xorg) / graphic card Nvidia GeForce 960 GTX / kernel 4.10.14-200.fc25.x86-64.

I’m following instruction from Carte graphique NVIDIA : installation des pilotes propriétaires — Wiki Fedora-Fr

The installation goes fine (no error) but at reboot the X server crashes down.

==========
What i do

su -
dnf install xorg-x11-drv-nvidia akmod-nvidia “kernel-devel-uname-r == $(uname -r)”
dnf update -y
reboot

==========
Result

The X server crashes down with following error in xorg log file :

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
=>
(EE) Failed to load module “nv” (module does not exist, 0)
(EE) [drm] Failed to open DRM device for pci:0000:01:00:0: -19
(EE) open /dev/dri/card0: No such file or directory

This is very surprising to see it trying to load old module “nv” (replaced by “nouveau” as default free driver) instead of “nvidia” !

==========
My check

  • The driver “nouveau” is blacklisted in grub
  • The driver “nouveau”’ is not loaded (nothing in “lsmod | grep nouveau”)

==========
Xorg conf

  • /etc/X11 : file added nvidia-xorg.conf that contains
    Section “Device”
    Identifier “Videocard0”
    Driver “nvidia”
    EndSection

/etc/X11/xorg.conf.d : file added 99-nvidia.conf that contains
Section “Files”
ModulePath “/usr/lib64/nvidia-340xx/xorg”
ModulePath “/usr/lib64/xorg/modules”
EndSection

/etc/X11/xorg.conf.d : file added 00-avoid-glamor.conf
Section “Module”
Disable “glamoregl”
EndSection

==========
Kernel modules

  • /lib/modules/4.10.14-200.fc25.x86_64/*
    I find no “nvidia.o” or “nv.o” file here

  • /usr/lib64/nvidia
    no file

  • /usr/lib64/nvidia-340xx
    many libGL*, libEGL*, libnvidia* files

  • /usr/lib64/nvidia-340xx/xorg
    files libglx.so,340.102 (and symlinks : libglx.so.1, libglx.so)

  • /usr/lib64/xorg/modules/drivers
    file nvidia_drv.so

  • /usr/lib64/xorg/modules/nvidia-340xx-340.102
    = symlink to /usr/lib64/nvidia-340xx/xorg

So i don’t know what’s wrong in my installation / configuration.

Thanks in advance for your help,

Eric

post

rpm -qa kernel\* *\nvidia\*

I guess you meant

rpm -qa kernel\* \*nvidia\*

Thanks, i’ll launch the command this evening when i’m back at home and i’ll give the result here.

BEFORE THE INSTALLATION

kernel-modules-4.10.14-200.fc25.x86_64
kernel-modules-extra-4.10.14-200.fc25.x86_64
kernel-modules-extra-4.10.13-200.fc25.x86_64
kernel-core-4.10.14-200.fc25.x86_64
kernel-modules-4.8.6-300.fc25.x86_64
kernel-4.8.6-300.fc25.x86_64
kernel-core-4.8.6-300.fc25.x86_64
kernel-headers-4.10.14-200.fc25.x86_64
kernel-modules-4.10.13-200.fc25.x86_64
kernel-4.10.13-200.fc25.x86_64
kernel-4.10.14-200.fc25.x86_64
kernel-core-4.10.13-200.fc25.x86_64
kernel-modules-extra-4.8.6-300.fc25.x86_64

AFTER THE INSTALLATION

kernel-modules-4.10.14-200.fc25.x86_64
kernel-modules-extra-4.10.14-200.fc25.x86_64
kernel-modules-extra-4.10.13-200.fc25.x86_64
kernel-core-4.10.14-200.fc25.x86_64
akmod-nvidia-340xx-340.102-2.fc25.x86_64
kernel-modules-4.8.6-300.fc25.x86_64
kernel-4.8.6-300.fc25.x86_64
xorg-x11-drv-nvidia-340xx-340.102-1.fc25.x86_64
kernel-core-4.8.6-300.fc25.x86_64
kernel-headers-4.10.14-200.fc25.x86_64
xorg-x11-drv-nvidia-340xx-kmodsrc-340.102-1.fc25.x86_64
kernel-modules-4.10.13-200.fc25.x86_64
kernel-4.10.13-200.fc25.x86_64
kernel-4.10.14-200.fc25.x86_64
kernel-core-4.10.13-200.fc25.x86_64
kernel-devel-4.10.14-200.fc25.x86_64
kernel-modules-extra-4.8.6-300.fc25.x86_64
xorg-x11-drv-nvidia-340xx-libs-340.102-1.fc25.x86_64

Anything wrong ?

You have installed the wrong driver, run

su
dnf erase *\nvidia\*
dnf install akmod-nvidia

And post any errors

It works !
After so many time spent to try identifying the root cause, it was only that i was using the wrong driver !!! Thanks man, you saved my day !
In fact i thought it was nvidia-340xx because my card is a 960 GTX and it though it was a Series 9 => 340xx. But Series 9 was probably for older series like 9600.
:-)

Yeah. The “9 series” refers to things like GeForce 9800 GT, not to be confused with GeForce GTX 980. :)

When in doubt, check Appendix A. Supported NVIDIA GPU Products for a list of all supported graphics cards and which driver supports them.

Thanks Aaron

Just in case somehow has the same issue has me and google leads him to here:

I had the same problem as Ghorin and had installed nvidia-340xx instead of akmod-nvidia.
When uninstalling nvidia-340xx and installing akmod-nvidia, the issue was not solved.

This was caused by a bumblebee package (remainder of installation on different hardware). When uninstalling bumblebee, I worked like a charm.

I hope this can be useful to someone.

Hey there stranger - I just found some stray bumblebee libraries on my system thanks to your post. May good fortune find you!

Ciao,
C