I have spent about 24 hours now trying to figure out how to enable my NVIDIA drivers in Fedora and have failed miserably. The drivers are installed but nvidia-settings command says “ERROR: NVIDIA driver is not loaded”. I have tried all the steps from RPMFusion Nvidia HowTo. I have also looked into Optimus part of the setting to set nvidia as primary GPU on etc/X11/xorg.conf.d/nvidia.conf, but does not work.
That is strange.
What kernels do you have installed? dnf list installed kernel
Looking at the inxi output I do not see the nvidia GPU at all.
Nor does it appear in the output of the lspci command above.
You might try sudo dnf remove kmod-nvidia-open-6.0.10* then reboot and see if there is a change.
The dGPU is usually an added in card that can be removed or replaced so it may be a failure of the card or a bad connection on that card. There may be something logged during boot that is related, so you might consider doing a new boot then immediately do a dmesg and post the relevant portion. Probably within the first 500 lines of the output if it shows anything at all.
That dmesg output shows nothing about loading either the nouveau or the nvidia drivers.
I found this portion of dmesg that might be related:
[ 22.108586] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 22.109348] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 22.110028] nvidia: probe of 0000:01:00.0 failed with error -1
[ 22.110113] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 22.110120] NVRM: None of the NVIDIA devices were initialized.
[ 22.111023] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 22.241054] wlp0s20f3: authenticate with 98:86:5d:4d:00:b9
[ 22.246887] wlp0s20f3: bad VHT capabilities, disabling VHT
[ 22.246895] wlp0s20f3: 80 MHz not supported, disabling VHT
[ 22.249206] wlp0s20f3: send auth to 98:86:5d:4d:00:b9 (try 1/3)
[ 22.349889] wlp0s20f3: authenticated
[ 22.356815] wlp0s20f3: associate with 98:86:5d:4d:00:b9 (try 1/3)
[ 22.361420] wlp0s20f3: RX AssocResp from 98:86:5d:4d:00:b9 (capab=0x411 status=0 aid=4)
[ 22.367727] wlp0s20f3: associated
[ 22.608371] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 29.642619] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 29.645535] nvidia 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[ 29.646066] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 29.646073] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 29.646079] nvidia: probe of 0000:01:00.0 failed with error -1
[ 29.646144] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 29.646148] NVRM: None of the NVIDIA devices were initialized.
[ 29.646832] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 40.757834] Bluetooth: RFCOMM TTY layer initialized
[ 40.757856] Bluetooth: RFCOMM socket layer initialized
[ 40.757883] Bluetooth: RFCOMM ver 1.11
[ 40.858308] rfkill: input handler disabled
[ 79.678474] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
[ 79.800973] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 79.800990] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 79.800998] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 79.801006] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 79.801011] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 79.801016] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 79.801022] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 79.926738] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[ 79.928164] hdaudio hdaudioC0D2: Unable to configure, disabling
[ 79.930191] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[ 79.930901] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 86.638731] rfkill: input handler enabled
[ 95.932139] rfkill: input handler disabled
[ 106.062262] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 106.062302] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 106.066570] nvidia: probe of 0000:01:00.0 failed with error -1
[ 106.066668] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 106.066674] NVRM: None of the NVIDIA devices were initialized.
[ 106.067748] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 543.933342] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 543.933366] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 543.935940] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 543.935945] nvidia: probe of 0000:01:00.0 failed with error -1
[ 543.936004] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 543.936009] NVRM: None of the NVIDIA devices were initialized.
[ 543.937021] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 553.339004] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 553.339071] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 553.342543] nvidia: probe of 0000:01:00.0 failed with error -1
[ 553.342632] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 553.342640] NVRM: None of the NVIDIA devices were initialized.
[ 553.343478] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
Just purged all the drivers. Restarted. And again installed the driver from the guide. Waited for the module to built and restarted again. Nothing seems to change.
But I find this log from dmesg that you might be familiar so can you please tell me what the error is saying?
[ 8.277148] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 8.277344] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 8.277470] nvidia: probe of 0000:01:00.0 failed with error -1
[ 8.277493] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 8.277495] NVRM: None of the NVIDIA devices were initialized.
[ 8.277687] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 8.989839] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 8.990443] nvidia 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[ 8.990618] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 8.990621] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 8.990623] nvidia: probe of 0000:01:00.0 failed with error -1
[ 8.990644] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 8.990645] NVRM: None of the NVIDIA devices were initialized.
[ 8.990851] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 9.820938] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 9.820945] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 9.850980] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.851007] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.851008] NVRM: None of the NVIDIA devices were initialized.
[ 9.851277] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 10.306055] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20220331/nsarguments-61)
[ 10.306097] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20220331/nsarguments-61)
[ 10.306756] pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[ 10.306759] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
[ 10.306760] nouveau: detected PR support, will not use DSM
[ 10.306829] nouveau 0000:01:00.0: unknown chipset (ffffffff)
[ 11.781248] wlp0s20f3: authenticate with 98:86:5d:4d:00:b9
[ 11.790838] wlp0s20f3: bad VHT capabilities, disabling VHT
[ 11.790844] wlp0s20f3: 80 MHz not supported, disabling VHT
[ 11.799635] wlp0s20f3: send auth to 98:86:5d:4d:00:b9 (try 1/3)
[ 11.839293] wlp0s20f3: authenticated
[ 11.846799] wlp0s20f3: associate with 98:86:5d:4d:00:b9 (try 1/3)
[ 11.851222] wlp0s20f3: RX AssocResp from 98:86:5d:4d:00:b9 (capab=0x411 status=0 aid=4)
[ 11.855935] wlp0s20f3: associated
[ 12.040831] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 15.961710] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 15.961716] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 15.997386] nvidia: probe of 0000:01:00.0 failed with error -1
[ 15.997408] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 15.997409] NVRM: None of the NVIDIA devices were initialized.
[ 15.997586] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 17.371639] rfkill: input handler disabled
[ 18.355272] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 18.355280] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 18.355953] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 18.355954] nvidia: probe of 0000:01:00.0 failed with error -1
[ 18.355973] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 18.355974] NVRM: None of the NVIDIA devices were initialized.
[ 18.356126] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 19.126796] Bluetooth: RFCOMM TTY layer initialized
[ 19.126807] Bluetooth: RFCOMM socket layer initialized
[ 19.126822] Bluetooth: RFCOMM ver 1.11
[ 21.675355] rfkill: input handler enabled
[ 23.475215] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 23.475227] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 23.479953] nvidia: probe of 0000:01:00.0 failed with error -1
[ 23.479996] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 23.479999] NVRM: None of the NVIDIA devices were initialized.
[ 23.480389] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 28.526954] rfkill: input handler disabled
[ 30.749215] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 30.749222] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 30.750108] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 30.750110] nvidia: probe of 0000:01:00.0 failed with error -1
[ 30.750133] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 30.750135] NVRM: None of the NVIDIA devices were initialized.
[ 30.752443] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 32.410171] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 32.410178] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:1c8c) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 32.416739] nvidia: probe of 0000:01:00.0 failed with error -1
[ 32.416764] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 32.416765] NVRM: None of the NVIDIA devices were initialized.
[ 32.416936] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
The output from /etc/default/grub also does not show a complete GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet" as it should if the drivers were properly installed from rpmfusion
First I suggest editing /etc/default/grub and add the missing data to the GRUB_CMDLINE_LINUX.
Then I suggest you reinstall the firmware package. dnf install nvidia-gpu-firmware or dnf reinstall linux-firmware
Following those steps run grub2-mkconfig -o /boot/grub2/grub.cfg
When that completes reboot and check with lsmod | grep nvidia to verify the driver has properly loaded.
Let us know the results.
If it is still an issue we can then work on it one step at a time.
So the problem is if I remove rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 statement from GRUB_CMDLINE_LINUX in grub, the Nvidia card is detected otherwise it is not.
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev ff)
lsmod | grep -i nvidia: Nothing
dmesg after fresh reboot:
[ 8.166398] NET: Registered PF_QIPCRTR protocol family
[ 9.055193] nvidia: loading out-of-tree module taints kernel.
[ 9.055205] nvidia: module license 'NVIDIA' taints kernel.
[ 9.055207] Disabling lock debugging due to kernel taint
[ 9.067477] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 9.191783] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 9.192762] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 9.193004] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 9.193007] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.193034] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.193035] NVRM: None of the NVIDIA devices were initialized.
[ 9.193262] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 11.325409] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 11.325415] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 11.329804] nvidia: probe of 0000:01:00.0 failed with error -1
[ 11.329857] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 11.329859] NVRM: None of the NVIDIA devices were initialized.
[ 11.330222] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 12.019625] wlp0s20f3: authenticate with 98:86:5d:4d:00:b9
[ 12.028278] wlp0s20f3: bad VHT capabilities, disabling VHT
[ 12.028280] wlp0s20f3: 80 MHz not supported, disabling VHT
[ 12.029961] wlp0s20f3: send auth to 98:86:5d:4d:00:b9 (try 1/3)
[ 12.162399] wlp0s20f3: authenticated
[ 12.173342] wlp0s20f3: associate with 98:86:5d:4d:00:b9 (try 1/3)
[ 12.177664] wlp0s20f3: RX AssocResp from 98:86:5d:4d:00:b9 (capab=0x411 status=0 aid=3)
[ 12.182271] wlp0s20f3: associated
[ 12.391588] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 14.932693] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 14.932699] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 14.933755] nvidia: probe of 0000:01:00.0 failed with error -1
[ 14.933795] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 14.933796] NVRM: None of the NVIDIA devices were initialized.
[ 14.934133] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 16.167369] rfkill: input handler disabled
[ 17.608924] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 17.608929] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 17.609986] nvidia: probe of 0000:01:00.0 failed with error -1
[ 17.610020] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 17.610021] NVRM: None of the NVIDIA devices were initialized.
[ 17.610298] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 18.121051] Bluetooth: RFCOMM TTY layer initialized
[ 18.121059] Bluetooth: RFCOMM socket layer initialized
[ 18.121064] Bluetooth: RFCOMM ver 1.11
[ 21.489573] rfkill: input handler enabled
[ 24.376628] rfkill: input handler disabled
[ 27.690946] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 27.690956] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 27.692138] nvidia: probe of 0000:01:00.0 failed with error -1
[ 27.692165] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 27.692167] NVRM: None of the NVIDIA devices were initialized.
[ 27.692433] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
How about verifying the status of secure boot? dmesg | grep -iE 'nvidia|secure'
Also the installed nvidia packages dnf list installed *nvidia* again?. Your earlier post showed the nvidia-gpu-firmware package was not installed and I suggested that you reinstall it but you did not mention if you did or did not. Without the firmware the driver cannot load.