ERROR: Unable to load the 'nvidia-drm' kernel module. Fedora 25 install fail

I’m on Fedora 25 and have done a fresh install dual boot w10 F25 and went to install the latest NVidia drivers and get the error of :

Last few lines out of install.log

→ Driver file installation is complete.
→ Installing DKMS kernel module:
→ done.
ERROR: Unable to load the ‘nvidia-drm’ kernel module.

Got the VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Was installing 375.26 on 4.8.13-300.fc25.x86_64

This is a new twist in a otherwise previously smooth driver install process.
I have the image of the fresh install so after failed NVidia driver install I have re-installed the disk image since I get the “Something went wrong screen @ boot otherwise.”
I am on the Sabetooth FX990 3.0 so looking for Secure boot; I did not see. I read that turning that off might be a fix.
Previous installs of NVidia drivers have always been a breeze.

So any advice or links to?

I need to add the install log

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Sun Dec 18 13:13:37 2016
installer version: 375.26

PATH: /usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
→ Detected 8 CPUs online; setting concurrency level to 8.
→ Tagging shared libraries with chcon -t textrel_shlib_t.
→ License accepted.
→ Installing NVIDIA driver version 375.26.
→ 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.
→ Installing both new and classic TLS 32bit OpenGL libraries.
→ Install NVIDIA’s 32-bit compatibility libraries? (Answer: Yes)
→ Will install GLVND GLX client libraries.
→ Will install GLVND EGL client libraries.
→ Skipping GLX non-GLVND file: “libGL.so.375.26”
→ Skipping GLX non-GLVND file: “libGL.so.1”
→ Skipping GLX non-GLVND file: “libGL.so”
→ Skipping EGL non-GLVND file: “libEGL.so.375.26”
→ Skipping EGL non-GLVND file: “libEGL.so”
→ Skipping EGL non-GLVND file: “libEGL.so.1”
→ Skipping GLX non-GLVND file: “./32/libGL.so.375.26”
→ Skipping GLX non-GLVND file: “libGL.so.1”
→ Skipping GLX non-GLVND file: “libGL.so”
→ Skipping EGL non-GLVND file: “./32/libEGL.so.375.26”
→ Skipping EGL non-GLVND file: “libEGL.so”
→ Skipping EGL non-GLVND file: “libEGL.so.1”
Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
executing: ‘/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh’…
Checking for libglvnd installation.
Checking libGLdispatch…
Can’t load library libGLdispatch.so.0: libGLdispatch.so.0: cannot open shared object file: No such file or directory
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
→ Searching for conflicting files:
→ done.
→ Installing ‘NVIDIA Accelerated Graphics Driver for Linux-x86_64’ (375.26):
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-glcore.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/extensions/libglx.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-tls.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/tls/libnvidia-tls.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLX_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libOpenGL.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv1_CM.so.1’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv2.so.2’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLdispatch.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLX.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGL.so.1.0.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libEGL.so.1’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/drivers/nvidia_drv.so’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/libnvidia-wfb.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-gtk2.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-gtk3.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-cfg.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-ml.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/vdpau/libvdpau_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libcuda.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-opencl.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libOpenCL.so.1.0.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-fatbinaryloader.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-ptxjitcompiler.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvcuvid.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-encode.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-ifr.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-fbc.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-compiler.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-eglcore.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-glsi.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libEGL_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv2_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv1_CM_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-egl-wayland.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libcuda.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-fatbinaryloader.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ptxjitcompiler.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ml.so.375.26’…
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.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-opencl.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libOpenGL.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLdispatch.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv2.so.2’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv1_CM.so.1’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGL.so.1.0.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLX_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLX.so.0’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-glcore.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-tls.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/tls/libnvidia-tls.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/vdpau/libvdpau_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvcuvid.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-encode.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-eglcore.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-glsi.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libEGL.so.1’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libEGL_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv2_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv1_CM_nvidia.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ifr.so.375.26’…
executing: ‘/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-fbc.so.375.26’…
executing: ‘/usr/sbin/ldconfig’…
→ done.
→ Driver file installation is complete.
→ Installing DKMS kernel module:
→ done.
ERROR: Unable to load the ‘nvidia-drm’ 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 www.nvidia.com.

NVIDIA seems to have a problem with Wayland (which is what F25 uses). This may be your issue…

Have you tried switching distros?

For more info, see last post here:
[url]https://devtalk.nvidia.com/default/topic/982666/linux/help-me-install-nvidia-340-101-drivers-on-a-macbook-1342-running-fedora-25-without-blank-screen/post/5040532/?offset=10#5042520[/url]

I have had a good “nvidia install with F25” I’m rebuilding from something that went south under VLC. I was trying to get VLC to play across all three screens and not understanding what I was doing I see.
The display was gone and no getting it back even after reboot. Anyway;

Went back to re-install nvidia driver after restoring disk from backup-image, pre-nvidia driver install, and it fails as I have posted.

I love Fedora and my NVidia graphics card which drives my three monitors.

As for error I get the “Something went wrong” screen on Fedora on boot after I try and install the driver.

Gnome didn’t add nvidia support in time for F25.

https://bugzilla.gnome.org/show_bug.cgi?id=773629

TBH you are better of sticking to Xorg session as Wayland has induced many issues.

Post the debug info requested

And learn to use the forum code block formatting!

The driver works fine here.

System:    Host: localhost.localdomain Kernel: 4.9.0-2.fc25.x86_64 x86_64 (64 bit gcc: 6.2.1)
           Desktop: Cinnamon 3.2.7 (Gtk 3.22.5) dm: lightdm,sddm,sddm
           Distro: Fedora release 25 (Twenty Five)
Machine:   Device: desktop Mobo: Gigabyte model: GA-990XA-UD3 BIOS: Award v: F14e date: 09/09/2014
CPU:       Quad core AMD FX-8350 Eight-Core (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 36243
           clock speeds: min/max: 1400/4500 MHz 1: 1400 MHz 2: 1400 MHz 3: 1400 MHz 4: 3400 MHz
           5: 1400 MHz 6: 1400 MHz 7: 2100 MHz 8: 1400 MHz
Graphics:  Card: NVIDIA GK106 [GeForce GTX 660] bus-ID: 01:00.0 chip-ID: 10de:11c0
           Display Server: Fedora X.org 119 drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 3840x2160@60.00hz
           GLX Renderer: GeForce GTX 660/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 375.26 Direct Rendering: Yes
Audio:     Card-1 NVIDIA GK106 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0e0b
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel bus-ID: 00:14.2 chip-ID: 1002:4383
           Sound: Advanced Linux Sound Architecture v: k4.9.0-2.fc25.x86_64
Network:   Card-1: Intel Wireless 7260 driver: iwlwifi bus-ID: 02:00.0 chip-ID: 8086:08b1
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: be00 bus-ID: 04:00.0 chip-ID: 10ec:8168
           IF: enp4s0 state: down mac: <filter>
Drives:    HDD Total Size: 3628.7GB (14.5% used)
           ID-1: /dev/sda model: SAMSUNG_SSD_830 size: 128.0GB serial: S0Z3NSAC932231
           ID-2: /dev/sdb model: WDC_WD30EZRX size: 3000.6GB serial: WD-WCC4E4EE62LZ
           ID-3: /dev/sdc model: Samsung_SSD_850 size: 500.1GB serial: S2RBNXAH306902T
Partition: ID-1: / size: 20G used: 16G (79%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 55G used: 5.8G (12%) fs: ext4 dev: /dev/sdc2
           ID-3: swap-1 size: 18.52GB used: 0.00GB (0%) fs: swap dev: /dev/sdb4
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 22.5C mobo: N/A gpu: 0.0:47C
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active yum sources in file: /etc/yum.repos.d/_copr_leigh123linux-cinnamon-next.repo
           leigh123linux-cinnamon-next ~ https: //copr-be.cloud.fedoraproject.org/results/leigh123linux/cinnamon-next/fedora-$releasever-$basearch/
Info:      Processes: 230 Uptime: 19:47 Memory: 2493.9/16028.3MB
           Init: systemd v: 231 runlevel: 5 default: graphical.target Gcc sys: 6.2.1
           Client: Unknown python2.7 client inxi: 2.3.5

Block Code Formatting eh? okay will do.
I see some updates. Wayland and Kernal is 4.8 but not 4.9
Will work on this over the weekend.
Thanks for the link to the issue, interesting reading.
What do you use to generate that listing you posted?

I compiled 4.9 myself from F26 kernel git and added some AMD CPU fixes.
375.26 works fine here with 4.8, I use 4.9 to ensure rpmfusion nvidia works with future kernels.
The Wayland update wont make any difference as it doesn’t support nvidia and isn’t used (nvidia+gnome=xorg only).

Just updated and tried again. Same result.
I’m curious if this is an artifact of Clonezilla-ing. Will do a separate install on spare SATA drive and see if that makes a difference.

Is there a more detailed output possible for the NVidia driver install?

Why don’t you start again and use the rpmfusion driver instead

[url]Howto/NVIDIA - RPM Fusion

[url]Howto/NVIDIA - RPM Fusion

For the record I have installed the NVidia driver any times before without problems.
This last effort started with a separate hard drive, just Fedora 25.
First clean install failed as before.
The second clean install I said to not update when kernel is updated then I saw the nvidia installer tell me I needed a new key pair, said secure boot was on and some other things.

This is all new to me.

I will try the rpmfusion

If secureboot is enabled you have to sign the module so it will load.

Did the RPM Fusion and same “Something went wrong” screen on re-boot.

I will update the Bios if it needs it. Other than that I am confused.

Again no problems before this re-build of my system. I wonder about the secure boot and the signed modules.

dmesg can show if it’s a signing issue

dmesg |grep -e signature -e NVIDIA

My system doesn’t use secureboot

$ dmesg |grep -e signature -e NVIDIA 
[    4.483930] nvidia: module license 'NVIDIA' taints kernel.
[    4.494948] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    4.502784] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  375.26  Thu Dec  8 18:36:43 PST 2016
[    4.519978] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.26  Thu Dec  8 18:04:14 PST 2016

This secure boot issue has not presented itself on this hardware before. What has changed?
I like the idea of secure boot and system who doesn’t?
So, I am needing instruction on installing secure boot style now and I assume for good cause seeing as how Russia attacks us.

I fear there is no example to follow with the NVidia installer on Secure Boot install?

As it is for many we don’t invest our time into learning new things about our computers until we have to.
Here is documentation about Secure boot and Fedora I am reading now. Perhaps the information will help others.
UEFI Secure Boot Guide
I like the idea of Secure system so I need to figure out how I am to do this under Secure Boot.

Okay;

This is presenting itself as a key-signing issue now.

Way over my Aim-AN-Click reality :(

So with Fedora 25 of late, I am exploring signed modules of the Admin level in perspective of my point&Click lifestyle.

Eyes open. What is Gold here?