Nvidia dirvers not loaded in fedora 32

Hi. I tried to install the nvidia drivers in fedora 32 following this guide : https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-fedora-32 but it didn’t work.
After rebooting I opened terminal and wrote :
sudo nvidia-settings getting :
ERROR: NVIDIA driver is not loaded ERROR: Unable to load info from any available system
I report here also the output of lspci -v :

	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00004000-00004fff [size=4K]
	Memory behind bridge: a3000000-a40fffff [size=17M]
	Prefetchable memory behind bridge: 0000000090000000-00000000a1ffffff [size=288M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])
	DeviceName: Second VGA
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0, IRQ 129
	Memory at a2000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: fast devsel, IRQ 16
	Memory at a4398000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: fast devsel, IRQ 255
	Memory at a43b3000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: fast devsel, IRQ 16
	Memory at a43b2000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. Device 201f
	Flags: medium devsel, IRQ 126
	Memory at a4380000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
	Subsystem: Intel Corporation Device 7270
	Flags: fast devsel
	Memory at a43a8000 (64-bit, non-prefetchable) [disabled] [size=8K]
	Memory at a43b1000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
	DeviceName: WLAN
	Subsystem: Intel Corporation Device 0034
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at a43a4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at a43ab000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss

00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at a43ac000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss

00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0, IRQ 130
	Memory at a43ae000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 16
	Memory at a4390000 (32-bit, non-prefetchable) [size=32K]
	Memory at a43ad000 (32-bit, non-prefetchable) [size=256]
	I/O ports at 5090 [size=8]
	I/O ports at 5080 [size=4]
	I/O ports at 5060 [size=32]
	Memory at a4300000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: [disabled]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #15 (rev f0) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00003000-00003fff [size=4K]
	Memory behind bridge: a4200000-a42fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1e40
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at a43af000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss

00:1e.2 Serial bus controller [0c80]: Intel Corporation Device a32a (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1e40
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at a43b0000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss

00:1f.0 ISA bridge: Intel Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, medium devsel, latency 0

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 32, IRQ 146
	Memory at a43a0000 (64-bit, non-prefetchable) [size=16K]
	Memory at a4100000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: medium devsel, IRQ 16
	Memory at a43aa000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
	Subsystem: Intel Corporation Device 7270
	Flags: fast devsel
	Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
	DeviceName: VGA
	Subsystem: ASUSTeK Computer Inc. Device 1fc0
	Flags: bus master, fast devsel, latency 0, IRQ 128
	Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	Memory at a0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 4000 [size=128]
	Expansion ROM at a4000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau, nvidia_drm, nvidia

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	DeviceName: GLAN
	Subsystem: ASUSTeK Computer Inc. Device 200f
	Flags: bus master, fast devsel, latency 0, IRQ 18
	I/O ports at 3000 [size=256]
	Memory at a4204000 (64-bit, non-prefetchable) [size=4K]
	Memory at a4200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

It seems to me that it falls back to nouveau and I have no idea of how to solve this problem .
Please ask for any additional output . I already disabled secure boot . I’m not practical in drivers so any help would be precious.

That list definitely shows the nouveau driver in use. How old is that laptop. The fact that the GPUs show as one “VGA” and the other “3D” indicates it may be optimus and that howto is here. https://rpmfusion.org/Howto/Optimus If it is newer then the other how to would work. https://rpmfusion.org/Howto/NVIDIA

I have had perfect success with using the nvidia drivers from rpmfusion.
While you did not say which source you used to install the drivers I would suggest that you first remove the drivers you installed. A simple sudo dnf erase '*nvidia*' will do that if you installed them using dnf. Also do an install of the necessary kernel packages to support building kernel modules. sudo dnf install kernel-headers kernel-devel
Then I would suggest you reboot and do a reinstall following the appropriate rpm fusion Howto .

The code sudo dnf install akmod-nvidia nvidia* xorg-x11-drv-nvidia* ' will handle installing all the needed packages for nvidia support once the rpmfusion repo is enabled. A reboot now should activate the drivers.

The advantage to this is that those packages are designed to perform all the steps in the guide you followed automatically. On my laptop that install was the only step I needed to fully configure the nvidia drivers.

I also wanted the nvidia card to be the primary display driver (I am not worried about battery life since I am seldom mobile for long periods) so I added the line

 Option "PrimaryGPU" "yes" 

to both stanzas in /etc/X11/xorg.conf.d/nvidia.conf after I had completed the install and verified by doing “lsmod | grep nvidia” that the drivers were indeed active.
A final reboot was the last step and my nvidia GPU is now in use full time for both the laptop screen and the HDMI port.

3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.