Lenovo i9 wont use nVidia GTX 1650ti GPU

I recently switched to Fedora from Zorin (debian) / Windows 11. I have a Lenovo Yoga i9 Laptop with an nVidia 1650ti GPU. As it is a laptop with both Intel + nVidia. After install, no games will utilize the GPU, only the Intel. I know this is a good working system as it has had both Windows 11 and Zorin OS within the past 6 months. I am comparing my expectation of performance against that which was seen with Zorin OS installed.

So far I went through the process of updating the drivers following the Howto RPM fusion org guide Howto/NVIDIA - RPM Fusion and can verify that the nvidia drivers are in fact working. Couple quick version / info:

#/sbin/lspci | grep -e VGA returns VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)

#/sbin/lspci | grep -e 3D returns 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)

#modinfo -F version nvidia returns 530.41.03

This tells me that I in fact do need to configure for Optimus Howto/Optimus - RPM Fusion. It also confirms that all hardware is seen and accessible, and my drivers are updated fully.

I have followed the instructions for NVIDIA PRIME Support, and verified the modprobe.d/nvidia file does exist and is setup as recommended. I also am launching applications with the environment variable:

__NV_PRIME_RENDER_OFFLOAD = 1

I also attempted to manually launch the applications:

flatpak run --device=dri --env=__NV_PRIME_RENDER_OFFLOAD=1 --env=__VK_LAYER_NV_optimus=NVIDIA_only --env=__GLX_VENDOR_LIBRARY_NAME=nvidia

Unfortunately, games (World of Warcraft installed via Lutris, and Snowrunner installed via Steam) both use my intel only card. Additionally, NVIDIA X Server Settings (NVIDIA Settings window) does not show any information at all relating to the existence of my GPU, only the two options (Application Profiles and nvidia-settings configuration).

Also note, i recognize I am a Linux Novice. I am not afraid of command line, learning, and trying anything - just while i have used it for 10+ years for work, it’s been VERY limited in how much I needed to interact with it and have very little actual knowledge on usage as a full-time pc.

Thank you in advance.

If you wish and are willing to use xorg instead of wayland you could follow the instructions here and have everything using the nvidia GPU. This is what I do with my laptop.

One also can usually right click on the icon to launch an app and select to run that app using the dedicated GPU.

Thank you - 100% willing to switch to Xorg. I personally see no reason to stick with one over the other (i mean, Wayland is newer ETC) at this time if it works better.

I will give it a try and report back soon.

thank you! After several days of working on this, and trying it repeated times, it worked. That finally got my nvidia 1650ti showing up and getting used!

1 Like

Hi .
Can you please describe what you did to make it work? Basically I have the same situation.

I used to use Ubuntu and everything worked out of the box.
But on fidora I for some reason does not want to run games on my 1650ti although in the system it sees it.

See post 2 above, then after completing those steps simply log in using xorg. The nvidia gpu will be used exclusively and games mostly work. I am assuming as well that you may be using steam which does not work well on the wayland DE.

Yes, I tried that, but at system startup I am informed that the NVIDIA kernel module is not loaded and the transition to nouveau is complete.

Do you have secure boot enabled or disabled?
mokutil --sb-state should show that.
If secureboot is enabled then the nvidia modules must be signed and the signing key imported into bios by following the instructions in the file /usr/share/doc/akmods/README.secureboot.

If the modules still do not load it may also be necessary to reconstruct the modules with the signing key attached using these steps.

  1. sudo dnf remove kmod-nvidia-$(uname -r)
    followed by
  2. sudo akmods --force
    then
  3. reboot

Unfortunately, it still can’t find the NVIDIA module before starting the system.

Please post the output of dnf list installed \*nvidia\*, sudo dmesg | grep -iE "secure|nvidia|nouveau", and lsmod | grep -E "nvidia|nouveau" as well as inxi -Fzxx

dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64             3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.8.6-200.fc39.x86_64.x86_64
                                3:550.67-1.fc39 @@commandline                   
nvidia-gpu-firmware.noarch      20240410-1.fc39 @updates                        
nvidia-modprobe.x86_64          3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64          3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64      3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64
                                3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64
                                3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686   3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64 3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64
                                3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver

sudo dmesg | grep -iE "secure|nvidia|nouveau"
[sudo] password for oleksii: 
[    0.000000] Command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.8.6-200.fc39.x86_64 root=UUID=35d77407-2618-4131-abb4-1685e12ca85b ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[    0.000000] secureboot: Secure boot enabled
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[    0.010255] secureboot: Secure boot enabled
[    0.044671] Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.8.6-200.fc39.x86_64 root=UUID=35d77407-2618-4131-abb4-1685e12ca85b ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[    6.792966] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[    6.793045] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[    6.793095] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
[    6.793144] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
[    9.587903] nouveau: detected PR support, will not use DSM
[    9.587923] nouveau 0000:01:00.0: enabling device (0006 -> 0007)
[    9.588541] nouveau 0000:01:00.0: NVIDIA TU117 (167000a1)
[   10.071118] nouveau 0000:01:00.0: bios: version 90.17.72.00.54
[   11.415532] nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
[   11.415533] nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
[   11.453241] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[   11.482818] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[   11.485084] [drm] Initialized nouveau 1.4.0 20120801 for 0000:01:00.0 on minor 0
[   11.487664] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[   11.493214] nouveau 0000:01:00.0: DRM: Disabling PCI power management to avoid bug
[   11.497214] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[   11.497764] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[   11.498761] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[   11.499701] nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
[   30.023149] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.023855] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.024573] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.025293] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.026014] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.026735] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.027455] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.028176] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.028851] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.029569] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.030289] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.031008] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.031726] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.032446] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.033166] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.033849] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.034567] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.035291] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.036009] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.036730] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.037452] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.038173] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.038850] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.039570] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.040291] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.041008] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.041726] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.042444] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.043163] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.043851] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.044571] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   30.045291] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.049964] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.050701] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.051420] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.052139] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.052861] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.053582] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.054300] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.055019] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.055728] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.056448] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.057170] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.057892] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.058611] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.059331] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.060050] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.060741] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.061459] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.062179] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.062898] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.063630] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.064350] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.065068] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.065725] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.066444] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.067166] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.067892] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.068613] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.069334] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.070055] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.070728] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.071452] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
[   35.072177] nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff

lsmod | grep -E "nvidia|nouveau"
nouveau              3641344  2
mxm_wmi                12288  1 nouveau
drm_gpuvm              45056  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
gpu_sched              69632  1 nouveau
drm_ttm_helper         12288  1 nouveau
i2c_algo_bit           20480  2 i915,nouveau
ttm                   110592  3 drm_ttm_helper,i915,nouveau
drm_display_helper    237568  2 i915,nouveau
video                  77824  3 ideapad_laptop,i915,nouveau
wmi                    36864  6 video,intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop,mxm_wmi,nouveau

inxi -Fzxx
System:
  Kernel: 6.8.6-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.5 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 82B3 v: Lenovo Legion 5 17IMH05
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion 5 17IMH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    part-nu: LENOVO_MT_82B3_BU_idea_FM_Legion 5 17IMH05 UEFI: LENOVO v: EFCN52WW
    date: 07/27/2021
Battery:
  ID-1: BAT0 charge: 69.7 Wh (100.0%) condition: 69.7/80.0 Wh (87.1%)
    volts: 17.1 min: 15.4 model: SMP L19M4PC2 serial: <filter> status: full
CPU:
  Info: quad core model: Intel Core i5-10300H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 39999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:9bc4
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo
    driver: nouveau v: kernel arch: Turing pcie: speed: 8 GT/s lanes: 16 ports:
    active: none empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f95
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: AU Optronics 0x449d res: 1920x1080 dpi: 128
    diag: 438mm (17.3")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
    device-ID: 8086:9bc4
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  API: ALSA v: k6.8.6-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168
  IF: enp7s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:4 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
Drives:
  Local Storage: total: 715.41 GiB used: 8.21 GiB (1.1%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GD9TNI-L2A0B
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 37.9 C
  ID-2: /dev/sda vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 42 C
Partition:
  ID-1: / size: 475.35 GiB used: 7.91 GiB (1.7%) fs: btrfs dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 286.7 MiB (29.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 7.91 GiB (1.7%) 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: 42.0 C pch: 45.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.48 GiB used: 2.81 GiB (18.1%)
  Processes: 651 Power: uptime: 5m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 6 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.33

I see one thing missing from the kernel command line shown in the dmesg output that may be the factor, as well as needing more info.

  1. Additional info needed:
    A. Please show us the output of mokutil --list-enrolled | grep -E Issuer
    Secure boot is enabled but if the key is not properly imported into the bios then the driver cannot be loaded. However no reference is made to that problem in the dmesg output so I am not sure yet of the cause.
    B. Please also show the output of ls /etc/X11/xorg.conf.d/
    If the file nvidia.conf appears there then show
    cat /etc/X11/xorg.conf.d/nvidia.conf

  2. The kernel options seem to be missing one item on the kernel command line.
    On my laptop I have nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau and you seem to be missing the “nvidia-drm.modeset=1” part of that.
    You can add that in by editing the file /et/default/grub and insert that option into the line that begins with GRUB_CMDLINE_LINUX then update grub with sudo grub2-mkconfig -o /boot/grub2/grub.cfg so it is inserted for the next and all subsequent boots.

  3. Finally, it is possible the nvidia modules are corrupt and can easily be replaced
    sudo dnf remove kmod-nvidia-* will remove the driver modules.
    sudo akmods --force will replace them.
    Then reboot to see what else is happening.

Oh I really appreciate your help :pray:.

mokutil --list-enrolled | grep -E Issuer
        Issuer: C=US, ST=Massachusetts, L=Cambridge, O=Red Hat, Inc., OU=Fedora Secure Boot CA 20200709, CN=fedoraca
                CA Issuers - URI:https://fedoraproject.org/wiki/Features/SecureBoot


ls /etc/X11/xorg.conf.d/
00-keyboard.conf  nvidia.conf

cat /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

I also added nvidia-drm.modeset=1 to my file.

And deleted and rebuilt the module.
But that didn’t do anything.

This tells us the locally built key is not enrolled into bios so the nvidia modules cannot be loaded because of secure boot.
The above referenced file (/usr/share/doc/akmods/README.secureboot) gives explicit instructions on how to enroll that key into the bios. The commands must be done using sudo and the reboot must be done to properly complete the import into the bios.
Additional info (duplicate) is at rpmfusion

Verify the import is successful with the steps at the end of that file before moving on. Rinse and repeat if the key is not properly enrolled when you next check.

О. Thank you. I’m such a dumbass).

Now everything is displaying as it should.

2 Likes

Sometimes we all overlook the small details. It happens.
Please mark the proper post as the solution if you are happy with the results.

1 Like