NVIDIA drivers not loaded in Optimus Laptop(Lenovo Legion Y730)

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.

Fedora version: 36
Kernel: 6.0.10-200.fc36.x86_64
Device: Lenovo Legion y730
Nvidia: GTX 1080Ti

modinfo -F version nvidia: 520.56.06

Grub Settings:
I wanted to completely disable nouveau and enable discrete graphics only.

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet nouveau.modeset=0 i915.modeset=0 rd.driver.blacklist=nouveau rd.driver.blacklist=i915 modprobe.blacklist=nouveau modprobe.blacklist=i915 nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

/etc/X11/xorg.conf.d/nvidia.conf

#This file is provided by xorg-x11-drv-nvidia
#Do not edit

Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "SLI" "Auto"
	Option "BaseMosaic" "on"
	Option "PrimaryGPU" "yes"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Option "AllowNVIDIAGPUScreens"
EndSection

nvidia-settings: Nothing is loaded

Please help me resolve this. I can’t run any software that requires a discrete GPU. Thanks a lot

Can you post:
dnf list installed *nvidia*
inxi -Fzxx
lspci -nnk | grep -i vga -A3
echo $XDG_SESSION_TYPE

Thanks

Also please post the output of dmesg | grep -iE 'nvidia|nouveau|secure' and lsmod | grep nvidia. The dmesg output is best just after a new boot.

Hey there.

  • dnf list installed *nvidia*
Installed Packages
akmod-nvidia.x86_64                            3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.0.10-200.fc36.x86_64.x86_64      3:520.56.06-1.fc36 @@commandline 
kmod-nvidia-open-6.0.10-200.fc36.x86_64.x86_64 3:520.56.06-2.fc36 @@commandline 
nvidia-gpu-firmware.noarch                     20221109-144.fc36  @updates      
nvidia-modprobe.x86_64                         3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                     3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                         3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
nvidia-xconfig.x86_64                          3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                     3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64           3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64             3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64               3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
  • inxi -Fzxx
System:
  Kernel: 6.0.10-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-37.fc36 Desktop: GNOME v: 42.6 tk: GTK v: 3.24.35 wm: gnome-shell
    dm: GDM Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: LENOVO product: 81HD v: Lenovo Legion Y730-15ICH
    serial: <filter> Chassis: type: 10 v: Lenovo Legion Y730-15ICH
    serial: <filter>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter>
    UEFI: LENOVO v: 8XCN34WW(V2.03) date: 11/19/2019
Battery:
  ID-1: BAT1 charge: 36.3 Wh (100.0%) condition: 36.3/57.4 Wh (63.4%)
    volts: 12.7 min: 11.6 model: Celxpert L17C3PG2 serial: <filter> status: full
CPU:
  Info: quad core model: Intel Core i5-8300H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 904 high: 931 min/max: 800/4000 cores: 1: 900 2: 900
    3: 900 4: 900 5: 900 6: 931 7: 900 8: 901 bogomips: 36799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
    driver: N/A arch: Gen-9.5 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo bus-ID: 1-7:4 chip-ID: 04f2:b604
  Display: server: X.Org v: 1.20.14 with: Xwayland v: 22.1.5
    compositor: gnome-shell driver: X: loaded: vesa unloaded: fbdev,modesetting
    dri: swrast gpu: N/A display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: default res: 1920x1080 size: N/A
  API: OpenGL v: 4.5 Mesa 22.1.7 renderer: llvmpipe (LLVM 14.0.0 256 bits)
    direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a348
  Sound API: ALSA v: k6.0.10-200.fc36.x86_64 running: yes
  Sound Server-1: PulseAudio v: 15.0 running: no
  Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0aaa
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.14 TiB used: 162.6 GiB (13.9%)
  ID-1: /dev/nvme0n1 vendor: KingMAX model: PCIe SSD 256GB size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 28.9 C
  ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 29 C
Partition:
  ID-1: / size: 236.97 GiB used: 162.32 GiB (68.5%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 273.4 MiB (28.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 21.6 MiB (4.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 236.97 GiB used: 162.32 GiB (68.5%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 33.0 C pch: 50.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 324 Uptime: 2m Memory: 15.37 GiB used: 4.41 GiB (28.7%)
  Init: systemd v: 250 target: graphical (5) default: graphical Compilers:
  gcc: 12.2.1 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 45
  Shell: Bash v: 5.2.9 running-in: gnome-terminal inxi: 3.3.23
  • lspci -nnk | grep -i vga -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
	Subsystem: Lenovo Device [17aa:39fc]
	Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 07)

  • echo $XDG_SESSION_TYPE
x11

Thanks!

Hey there!

  • dmesg | grep -iE 'nvidia|nouveau|secure'
[    0.000000] Command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.0.10-200.fc36.x86_64 root=UUID=2bb48b34-457e-4705-901b-d9d87c29268f ro rootflags=subvol=root rhgb quiet nouveau.modeset=0 i915.modeset=0 rd.driver.blacklist=nouveau rd.driver.blacklist=i915 modprobe.blacklist=nouveau modprobe.blacklist=i915 nvidia-drm.modeset=1
[    0.000000] secureboot: Secure boot disabled
[    0.012204] secureboot: Secure boot disabled
[    0.072100] Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.0.10-200.fc36.x86_64 root=UUID=2bb48b34-457e-4705-901b-d9d87c29268f ro rootflags=subvol=root rhgb quiet nouveau.modeset=0 i915.modeset=0 rd.driver.blacklist=nouveau rd.driver.blacklist=i915 modprobe.blacklist=nouveau modprobe.blacklist=i915 nvidia-drm.modeset=1

  • lsmod | grep nvidia

It’s empty. Shows nothing.

Thanks

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.

Yeah, something strange is going on. Now the inxi shows the NVIDIA GPU:

inxi -Fzxx

System:
  Kernel: 6.0.10-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-37.fc36 Desktop: GNOME v: 42.6 tk: GTK v: 3.24.35 wm: gnome-shell
    dm: GDM Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: LENOVO product: 81HD v: Lenovo Legion Y730-15ICH
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion Y730-15ICH
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN
    serial: <superuser required> UEFI: LENOVO v: 8XCN34WW(V2.03)
    date: 11/19/2019
Battery:
  ID-1: BAT1 charge: 29.6 Wh (81.3%) condition: 36.4/57.4 Wh (63.5%)
    volts: 10.1 min: 11.6 model: Celxpert L17C3PG2 serial: <filter>
    status: discharging
CPU:
  Info: quad core model: Intel Core i5-8300H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 1362 high: 2300 min/max: 800/4000 cores: 1: 800 2: 2300
    3: 800 4: 2300 5: 800 6: 2300 7: 800 8: 800 bogomips: 36799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
    driver: N/A arch: Gen-9.5 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Lenovo
    driver: N/A arch: Pascal pcie: speed: Unknown lanes: 63 bus-ID: 01:00.0
    chip-ID: 10de:1c8c
  Device-3: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo bus-ID: 1-7:4 chip-ID: 04f2:b604
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.5
    compositor: gnome-shell driver: X: loaded: vesa unloaded: fbdev,modesetting
    dri: swrast gpu: N/A display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: default res: 1920x1080 size: N/A
  API: OpenGL v: 4.5 Mesa 22.1.7 renderer: llvmpipe (LLVM 14.0.0 256 bits)
    direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a348
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 10de:0fb9
  Sound API: ALSA v: k6.0.10-200.fc36.x86_64 running: yes
  Sound Server-1: PulseAudio v: 15.0 running: no
  Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0aaa
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.14 TiB used: 162.6 GiB (13.9%)
  ID-1: /dev/nvme0n1 vendor: KingMAX model: PCIe SSD 256GB size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 26.9 C
  ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 236.97 GiB used: 162.31 GiB (68.5%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 273.4 MiB (28.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 21.6 MiB (4.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 236.97 GiB used: 162.31 GiB (68.5%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 36.0 C pch: 46.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 297 Uptime: 9m Memory: 15.37 GiB used: 4.26 GiB (27.7%)
  Init: systemd v: 250 target: graphical (5) default: graphical Compilers:
  gcc: 12.2.1 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 45
  Shell: Bash v: 5.2.9 running-in: gnome-terminal inxi: 3.3.23

lspci | grep -i "nvidia"

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)

List of kernels
dnf list installed kernel

Installed Packages
kernel.x86_64                                                                                                    5.19.15-201.fc36                                                                                                     @updates
kernel.x86_64                                                                                                    5.19.16-200.fc36                                                                                                     @updates
kernel.x86_64                                                                                                    6.0.10-200.fc36                                                                                                      @updates

I will post the dmesg logs in the next comment.

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

This is the latest logs from dmesg after fresh boot that might be related to NVIDIA not loading:

[    6.664197] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[    6.664318] Bluetooth: hci0: Boot Address: 0x40800
[    6.664320] Bluetooth: hci0: Firmware Version: 214-6.22
[    6.664323] Bluetooth: hci0: Firmware already loaded
[    6.759792] Adding 8388604k swap on /dev/zram0.  Priority:100 extents:1 across:8388604k SSDscFS
[    6.768193] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    6.908349] snd_hda_intel 0000:01:00.1: Unable to change power state from D3cold to D0, device inaccessible
[    6.908565] snd_hda_intel 0000:01:00.1: Disabling MSI
[    6.908580] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    6.946650] iTCO_vendor_support: vendor-support=0
[    7.002992] wl: loading out-of-tree module taints kernel.
[    7.002999] wl: module license 'MIXED/Proprietary' taints kernel.
[    7.003001] Disabling lock debugging due to kernel taint
[    7.003110] intel_rapl_common: Found RAPL domain package
[    7.003114] intel_rapl_common: Found RAPL domain core
[    7.003116] intel_rapl_common: Found RAPL domain uncore
[    7.003118] intel_rapl_common: Found RAPL domain dram
[    7.003120] intel_rapl_common: Found RAPL domain psys
[    7.009703] wl: module verification failed: signature and/or required key missing - tainting kernel
[    7.012888] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x312
[    7.013421] thermal thermal_zone8: failed to read out thermal zone (-61)
[    7.026889] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[    7.033339] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    7.064557] iwlwifi 0000:00:14.3: base HW address: 18:1d:ea:74:f2:1b, OTP minor version: 0x4
[    7.069983] ee1004 2-0050: 512 byte EE1004-compliant SPD EEPROM, read-only
[    7.080218] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    7.097559] intel_tcc_cooling: Programmable TCC Offset detected
[    7.133843] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    7.143039] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[    7.787380] RPC: Registered named UNIX socket transport module.
[    7.787384] RPC: Registered udp transport module.
[    7.787386] RPC: Registered tcp transport module.
[    7.787387] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.051929] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.051934] Bluetooth: BNEP filters: protocol multicast
[    8.051941] Bluetooth: BNEP socket layer initialized
[    8.056691] Bluetooth: MGMT ver 1.22
[    8.339372] NET: Registered PF_QIPCRTR protocol family
[    9.019628] nvidia-nvlink: Nvlink Core is being initialized, major device number 509

[    9.023974] nvidia 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[    9.024245] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[    9.024252] nvidia: probe of 0000:01:00.0 failed with error -1
[    9.024281] NVRM: The NVIDIA probe routine failed for 1 device(s).
[    9.024283] NVRM: None of the NVIDIA devices were initialized.
[    9.024756] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[   11.166168] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[   11.166176] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[   11.167248] nvidia: probe of 0000:01:00.0 failed with error -1
[   11.167280] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   11.167282] NVRM: None of the NVIDIA devices were initialized.
[   11.167584] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[   12.849530] wlp0s20f3: authenticate with 98:86:5d:4d:00:b9
[   12.857605] wlp0s20f3: bad VHT capabilities, disabling VHT
[   12.857611] wlp0s20f3: 80 MHz not supported, disabling VHT
[   12.860084] wlp0s20f3: send auth to 98:86:5d:4d:00:b9 (try 1/3)
[   13.014164] wlp0s20f3: authenticated
[   13.025538] wlp0s20f3: associate with 98:86:5d:4d:00:b9 (try 1/3)
[   13.033521] wlp0s20f3: RX AssocResp from 98:86:5d:4d:00:b9 (capab=0x411 status=0 aid=4)
[   13.052604] wlp0s20f3: associated
[   13.222521] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[   29.868752] Bluetooth: RFCOMM TTY layer initialized
[   29.868763] Bluetooth: RFCOMM socket layer initialized
[   29.868776] Bluetooth: RFCOMM ver 1.11
[   29.896481] rfkill: input handler disabled
[   37.673287] rfkill: input handler enabled
[   42.775356] rfkill: input handler disabled
[   45.905324] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[   45.905332] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[   45.910670] nvidia: probe of 0000:01:00.0 failed with error -1
[   45.910753] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   45.910756] NVRM: None of the NVIDIA devices were initialized.
[   45.911064] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[   48.317130] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[   48.317140] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[   48.318244] nvidia: probe of 0000:01:00.0 failed with error -1
[   48.318275] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   48.318277] NVRM: None of the NVIDIA devices were initialized.
[   48.318543] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[   71.088846] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
[   71.187297] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   71.187310] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   71.187317] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   71.187323] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   71.187327] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   71.187330] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   71.187335] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[   71.281409] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[   71.282093] hdaudio hdaudioC0D2: Unable to configure, disabling
[   71.282901] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[   71.283373] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18

Does it load consistently if you remove the blacklist for the intel driver?

So my rgub looks like this now:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

The GPU loads.

inxi -G

 Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
  Device-3: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.5 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.1.7 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)

Can you remove the nvidia drivers and re-install them?
Thanks

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

Shows this message on splash for every boot as well.

dnf list installed *nvidia*

Here it is:

akmod-nvidia.x86_64                       3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.0.10-200.fc36.x86_64.x86_64 3:520.56.06-1.fc36 @@commandline      
nvidia-persistenced.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                    3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver

Hi @computersavvy can you please reply on this as well please, I can only figure out if you guys can help. Thanks!

The posted output does not show the nvidia-gpu-firmware package.

akmod-nvidia.x86_64                       3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.0.10-200.fc36.x86_64.x86_64 3:520.56.06-1.fc36 @@commandline      
nvidia-persistenced.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                    3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:520.56.06-1.fc36 @rpmfusion-nonfree-nvidia-driver

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.

Hey sorry for late reply.

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.

This is my grub right now:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

And inxi -G:

Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
  Device-3: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo
  Display: server: X.Org v: 1.20.14 with: Xwayland v: 22.1.5 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.1.7 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)

lspci | grep -i nvidia:

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.

On my system I see

# dnf list installed nvidia*
Installed Packages
nvidia-gpu-firmware.noarch                                     20221109-144.fc37                                       @updates          
nvidia-modprobe.x86_64                                         3:520.56.06-1.fc37                                      @rpmfusion-nonfree
nvidia-persistenced.x86_64                                     3:520.56.06-1.fc37                                      @rpmfusion-nonfree
nvidia-settings.x86_64                                         3:520.56.06-1.fc37                                      @rpmfusion-nonfree

Not all are 100% required, but the firmware is mandatory.