F31 Fresh Install, NVIDIA RPMFusion won't load

After all attempts and reading all posts on this forum and elsewhere about RPMfusion NVIDIA drivers, my system will not load installed drivers.

[XXXXXX@localhost ~]$ lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

With NVIDIA Linux Graphics Driver 3:440.44-2.fc31 installed my system keeps defaulting to Nouveau at boot “NVIDIA kernel module missing, defaulting to nouveau”, secure boot is OFF in BIOS

I attempted modset changes in grub, and every other recommendation posted thus far. Is there hope yet to get this driver up and running, or should I uninstall and clean up the NVIDIA drivers and just accept the Nouveau?

Kind Regards,

Hi @buzzbuilder welcome to the ask fedora.

Can you provide the output of commands below to provide extra information so that others can help you in a better way. (thanks) Please don’t forget to use the option preformatted text when you paste the output with this option </> in the menu

echo $WAYLAND_DISPLAY
loginctl show-session 2 -p Type

lsmod | grep -i nvidia

lsmod | grep -i nouveau

lspci -vnn | grep -i 'VGA compatible controller' -A 12

cat /proc/cmdline

ls /etc/modprobe.d/

glxinfo | grep -i OpenGL

glxinfo -B

This will provide good info to try help you in one better way. Also if you did try install the driver out of rpmfusion guide indicate it and how.

Regards.

Thank You @xtym, here we go… bare with me if formatting is off a bit…

<pre>[buzzzbuilder@localhost ~]$ loginctl show-session 2 -p Type

Type=x11

buzzzbuilder@localhost ~]$ lsmod | grep -i nvidia

[buzzzbuilder@localhost ~]$ (no result here)

[buzzzbuilder@localhost ~]$ lsmod | grep -i nouveau

nouveau 2273280 18
mxm_wmi 16384 1 nouveau
wmi 36864 2 mxm_wmi,nouveau
i2c_algo_bit 16384 1 nouveau
ttm 122880 1 nouveau
drm_kms_helper 212992 1 nouveau
drm 512000 8 drm_kms_helper,ttm,nouveau
video 49152 1 nouveau

[buzzzbuilder@localhost ~]$ lspci -vnn | grep -i 'VGA compatible controller' -A 12

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation Device [10de:0921]
Flags: bus master, fast devsel, latency 0, IRQ 38
Memory at f4000000 (32-bit, non-prefetchable) [size=32M]
Memory at e8000000 (64-bit, prefetchable) [size=128M]
Memory at f0000000 (64-bit, prefetchable) [size=64M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities:
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device [0403]: NVIDIA Corporation GF106 High Definition Audio Controller [10de:0be9] (rev a1)

[buzzzbuilder@localhost ~]$ cat /proc/cmdline

BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost–live-root ro resume=/dev/mapper/fedora_localhost–live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1

[buzzzbuilder@localhost ~]$ ls /etc/modprobe.d/

firewalld-sysctls.conf kvm.conf lockd.conf mlx4.conf nvdimm-security.conf truescale.conf

[buzzzbuilder@localhost ~]$ glxinfo | grep -i OpenGL

OpenGL vendor string: nouveau
OpenGL renderer string: NVC3
OpenGL core profile version string: 4.3 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.3 (Compatibility Profile) Mesa 19.2.8
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

[buzzzbuilder@localhost ~]$ glxinfo -B

name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NVC3 (0x1c82)
Version: 19.2.8
Accelerated: yes
Video memory: 4071MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
Max compat profile version: 4.3
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: nouveau
OpenGL renderer string: NVC3
OpenGL core profile version string: 4.3 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.3 (Compatibility Profile) Mesa 19.2.8
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

As per installation methods for RPM Fusion, I have used both “Software” (gui) and DNF (as per RPM Fusion site) with the same results. Currently driver is installed by DNF yet defaulting to Nouveau, again.

Just a side note, I have been a Redhat user on desktops since 1998 (with variations i.e. Mandrake then Mandriva) and will stay with Fedora, all my Ubuntu buddies detest my loyalty, LOL

Looking forward to this trouble shooting, its been my favourite part of Linux. You just don’t get this kind of community support from other “MainStream OS’es”

Regards,

1 Like

The steps you did is right the modules of nvidia is installed but it is not loaded at all. you can try load manually the module in mode debug to see that it says:

sudo modprobe -vn nvidia

sudo modprobe --show-depends nvidia

I imagine it can be a bug related so lets see that can say the maintainers from rpmfusion sure they know the way to solve it.

https://rpmfusion.org/Howto/NVIDIA#Bug_Report

Bug Report

If you still cannot make the driver to work, you can either report a problem to NVIDIA or to RPM Fusion packager team. Please read: If you have a problem, PLEASE read this first

Basically, you need to generate an archive and attach it to bugzilla or any paste service.

sudo nvidia-bug-report.sh
zcat nvidia-bug-report.log.gz | fpaste

And load the file here https://bugzilla.rpmfusion.org/

Also post the output of commands above and the info from the nvidia-bug-report tool in pastebin or fedora pastebin, so that everyone in the community can check it too and look for the issue.

Regards.

Sorry, but: did your installed the akmod-nvidia, correct?

https://rpmfusion.org/Howto/NVIDIA

PS: On my older desktop i had to install the Nvidia’s driver. The nouveau created the troubles. On newer laptop i do the reverse with the same reasons.

1 Like

Could you also do the following?

$ uname -r

And

$ rpm -qa | grep nvidia | sort

Thanks,
Richard

Thank you @xtym here is the follwing request you made

[buzzzbuilder@localhost ~]$ sudo modprobe -vn nvidia

[sudo] password for buzzzbuilder:
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia.ko
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia.ko
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia-uvm.ko

[buzzzbuilder@localhost ~]$ sudo modprobe --show-depends nvidia

insmod /lib/modules/5.3.16-300.fc31.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko.xz
insmod /lib/modules/5.3.16-300.fc31.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko.xz
insmod /lib/modules/5.3.16-300.fc31.x86_64/kernel/drivers/char/ipmi/ipmi_devintf.ko.xz
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia.ko
insmod /lib/modules/5.3.16-300.fc31.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko.xz
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia.ko
insmod /lib/modules/5.3.16-300.fc31.x86_64/extra/nvidia/nvidia-uvm.ko

[buzzzbuilder@localhost ~]$ zcat nvidia-bug-report.log.gz | fpaste

WARNING: your paste size (1122.0KiB) is very large and may be rejected by the server. A pastebin is NOT a file hosting service!
Uploading (1122.0KiB)…

For some reason the paste to pastebin brings my browser to a snails crawl, and shows that it has generated over 9000 lines in the report… yikes is that normal? LOL I made LibreOffice text document of the output and it is 315 pages long with 105,208 words or 925,309 characters… I downloaded the pastebin file if needed as well, here is the pastebin link…

https://paste.centos.org/view/35e602b3

I filed the bug report with RPMFusion and its number is 5504

Lets see where this takes us, thank you

1 Like

@hobbes1069 here is the output fromm your request,

 [buzzzbuilder@localhost ~]$ uname -r

5.3.16-300.fc31.x86_64

and also the following…

[buzzzbuilder@localhost ~]$ uname -r

5.3.16-300.fc31.x86_64
[buzzzbuilder@localhost ~]$ rpm -qa | grep nvidia | sort
akmod-nvidia-440.44-1.fc31.x86_64
kmod-nvidia-440.44-1.fc31.x86_64
kmod-nvidia-5.3.16-300.fc31.x86_64-440.44-1.fc31.x86_64
nvidia-settings-440.44-1.fc31.x86_64
xorg-x11-drv-nvidia-440.44-2.fc31.x86_64
xorg-x11-drv-nvidia-cuda-libs-440.44-2.fc31.x86_64
xorg-x11-drv-nvidia-kmodsrc-440.44-2.fc31.x86_64
xorg-x11-drv-nvidia-libs-440.44-2.fc31.x86_64

Regards,

Hi @buzzbuilder

Looking in the pastebin in the part of dmesg or journalctl we can read it

Scanning kernel log files for NVIDIA kernel messages:

  journalctl -b -0:
Jan 03 10:38:43 .localdomain kernel: Command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap =fedora_localhost-live/root =fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Jan 03 10:38:43 .localdomain kernel: Kernel command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap =fedora_localhost-live/root =fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Jan 03 10:38:43 .localdomain dracut-cmdline[302]: Using kernel command line parameters: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap =fedora_localhost-live/root =fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Jan 03 10:39:01 .localdomain kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
Jan 03 10:39:01 .localdomain kernel: NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c82)
                                              NVRM: installed in this system is not supported by the
                                              NVRM: NVIDIA 440.44 driver release.
                                              NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
                                              NVRM: in this release's README, available on the operating system
                                              NVRM: specific graphics driver download page at .
Jan 03 10:39:01 .localdomain kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jan 03 10:39:01 .localdomain kernel: NVRM: None of the NVIDIA devices were initialized.
Jan 03 10:39:01 .localdomain kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
Jan 03 10:39:01 .localdomain kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
Jan 03 10:39:01 .localdomain kernel: NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c82)
                                              NVRM: installed in this system is not supported by the
                                              NVRM: NVIDIA 440.44 driver release.
                                              NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
                                              NVRM: in this release's README, available on the operating system
                                              NVRM: specific graphics driver download page at .
Jan 03 10:39:01 .localdomain kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jan 03 10:39:01 .localdomain kernel: NVRM: None of the NVIDIA devices were initialized.
Jan 03 10:39:01 .localdomain kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
Jan 03 10:39:17 .localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-fallback comm=&amp;quot;systemd&amp;quot; exe=&amp;quot;/usr/lib/systemd/systemd&amp;quot; hostname=? addr=? terminal=? res=success'
Jan 03 10:39:21 .localdomain /usr/libexec/gdm-x-session[1107]: Kernel command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap =fedora_localhost-live/root =fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Jan 03 10:39:57 .localdomain /usr/libexec/gdm-x-session[1647]: Kernel command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-5.3.16-300.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap =fedora_localhost-live/root =fedora_localhost-live/swap rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Jan 03 10:40:06 .localdomain kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
Jan 03 10:40:06 .localdomain kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Jan 03 10:40:06 .localdomain kernel: NVRM: This can occur when a driver such as: 
                                              NVRM: nouveau, rivafb, nvidiafb or rivatv 
                                              NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Jan 03 10:40:06 .localdomain kernel: NVRM: Try unloading the conflicting kernel module (and/or
                                              NVRM: reconfigure your kernel without the conflicting
                                              NVRM: driver(s)), then try loading the NVIDIA kernel module
                                              NVRM: again.
Jan 03 10:40:06 .localdomain kernel: NVRM: No NVIDIA devices probed.
Jan 03 10:40:06 .localdomain kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
Jan 03 10:40:06 .localdomain kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
Jan 03 10:40:06 .localdomain kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Jan 03 10:40:06 .localdomain kernel: NVRM: This can occur when a driver such as: 
                                              NVRM: nouveau, rivafb, nvidiafb or rivatv 
                                              NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Jan 03 10:40:06 .localdomain kernel: NVRM: Try unloading the conflicting kernel module (and/or
                                              NVRM: reconfigure your kernel without the conflicting
                                              NVRM: driver(s)), then try loading the NVIDIA kernel module
                                              NVRM: again.
Jan 03 10:40:06 .localdomain kernel: NVRM: No NVIDIA devices probed.
Jan 03 10:40:06 .localdomain kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
Jan 03 10:40:06 .localdomain nvidia-settings-user.desktop[1956]: ERROR: NVIDIA driver is not loaded
Jan 03 10:40:06 .localdomain nvidia-settings-user.desktop[1956]: ERROR: Unable to load info from any available system
Jan 03 10:40:06 .localdomain systemd[1618]: gnome-launched-nvidia-settings-user.desktop-1956.scope: Succeeded.
Jan 03 10:43:04 .localdomain sudo[2881]: buzzzbuilder : TTY=pts/0 ; PWD=/home/buzzzbuilder ; USER=root ; COMMAND=/usr/bin/
Jan 03 10:43:04 .localdomain audit[2881]: USER_CMD pid=2881 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd=&amp;quot;/home/buzzzbuilder&amp;quot; cmd=&amp;quot;&amp;quot; exe=&amp;quot;/usr/bin/sudo&amp;quot; terminal=pts/0 res=success

It is saying there the nvidia driver installed version 440.44 is not supporting your GTX 1050 Ti what don’t should be so because like you can see into the Nvidia web site this version is supporting your Card ID 10de:1c82 -->(GTX 1050 Ti). Doing a problem with the kernel maybe failing with the signing and creating a tainted kernel.

nvidia: module verification failed: signature and/or required key missing - tainting kernel

There is a problem with signing the kernel but you do have secure boot disable like it does show your dmesg too:

[    0.000000] efi: EFI v2.31 by American Megatrends
[    0.000000] efi:  ACPI=0xddd20000  ACPI 2.0=0xddd20000  SMBIOS=0xf04c0  MPS=0xfd490 
[    0.000000] secureboot: Secure boot disabled

So Now we know that there is a problem signing the kernel with this driver for some reason that they sure will leave know or they will change it to solve the bug.

Let’s wait for them a time if no always it the way of install the .run from nvidia and register el kernel module with dkms in other way or also is the option of try install these packages (below) and do a reinstall of akmod to see if it can do the trick.

sudo dnf install kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig

And after reinstall

sudo dnf reinstall akmod-nvidia

But the best option is wait to see that they say about it. Just lets wait a time before we try other things.

Regards.

Looks like the magic middle finger of the Great Swearing Dragon stopped working for a time being. Evil green Eye start to get loose inside of machines… Such a times!

Hi @xtym,

I think I will proceed to install the kernel-devel etc. for now and reinstall akmod. If this is a work-around that is successful, I am sure I can follow up with the bug process, or updated drivers when available. I don’t think your suggestion to install devel options will break anything or hinder the bug resolution as it merely provides more tools, correct?

I didn’t attempt trying the drivers signing solution mentioned elsewhere, as I was lead to believe that if Secure Boot was disabled that manual driver signing shouldn’t be necessary.

I won’t resort to install NVIDIA’s .run file until last resort, as I would like to stick with RPMFusions build, which is the purpose of maintaining Fedora’s packages in my opinion.

Regards,

yeah it don’t should break anything first check what of them are not installed to after if you wish, delete them. you know that you can check what of them is actually installed it with dnf --installed <package1 package 2 ... > to see that you will install and what you will go to delete in case after.

yeah it is right, so lets see that happen in the feedback from rpmfusion.

I am with you. Let’s wait it should be last of the last recurse.

Regards.

Hi @xtym,

if you look at the bug report,

https://bugzilla.rpmfusion.org/show_bug.cgi?id=5504

people are already responding

Regards,

Yes, lets see because some thing is wrong there the poster has a similar GPU and is working and this card is into Appendix A. Supported NVIDIA GPU Products like nvidia web site also do. After i did found a similar report from other user in the NVidia forum but his card was not supported for the driver and the fail did show similar.

Maybe also you can check to test with the others 2 kernels that are presents in the hide grub menu of fedora ( I have these 3)

[jorge@f31 ~]$ rpm -qa kernel
kernel-5.3.14-300.fc31.x86_64
kernel-5.3.16-300.fc31.x86_64
kernel-5.3.15-300.fc31.x86_64

[jorge@f31 ~]$ uname -r
5.3.16-300.fc31.x86_64

You can unhide the Grub menu with F8 under the boot process and see what is going on with the others kernels (if you already didn’t). if the others do work just reinstall the kernel that is failing if not just we need wait for a solution from their side.

Regards.

Hi @xtym and others,

here is the NVIDIA bug report ID

https://developer.nvidia.com/nvidia_bug/2802355

Regards,

1 Like

One last thing to think to cover every option… Can be your GPU false ? look here similar card and similar report with driver 430.34

Regards

1 Like

@xtym

Ahhh… this could be, my son bought me the GPU card, not sure where he got it, i think on ebay or amazon

crappy copycat, most likely LOL

Yeah unfortunately it is some times.

Regards.

as per this article… I have found a fake, LOL the tell tale VGA port exists on GPU I am trying to resolve…

https://devtalk.nvidia.com/default/topic/989778/linux/nvidia-drivers-378-09-fails-to-build-fatal-modpost-gpl-incompatible-module-nvidia-drm-ko-uses-gpl-only-symbol-mutex_destroy-/post/5277784/#5277784

I sure do appreciate the help from everyone, buyer beware, LOL

I believe I will try the following method to get an older driver working on it:

first I will sudo dnf remove xorg-x11-drv-nvidia*

and then try the next step:

Workaround for keeping 340xx driver on newer f31+.

sudo dnf copr enable kwizart/kernel-longterm-4.19
sudo dnf install akmods gcc kernel-longterm kernel-longterm-devel
sudo dnf install xorg-x11-drv-nvidia-340xx akmod-nvidia-340xx --releasever=30

If that doesn’t work I will stick to Nouveau and find a more current and valid card at a later date.

OR? would it be best to stay on Kernel 5.3.16 with Nouveau as I may never see any performance imporvements going with the above route? @xtym ? your thoughts?

Regards,