Fedora 39 Gnome - system hangs after install proprietary NVIDIA driver on external GPU NVIDIA

Hi folks!
I have a several problems using my setup under Fedora.

Hardware setup:
Laptop Lenovo V15 i5-1135G7 with intel Iris Xe + external GPU nVidia GTX 1660 Super using EXP GDC 8.5c adapter (M.2 NGFF) + external monitor connected to GTX 1660 Super via HDMI.
On Windows 11 all work fine.
Fresh Fedora 39 installed on external SSD, secureboot disabled.

Problem with official nvidia drivers:

  • install all updates and lastest kernel 6.7.4, reboot
  • follows guide Howto/NVIDIA - RPM Fusion, installed all necessarily packages including firmware
  • “modinfo -F version nvidia” shows last driver version, seems all fine, reboot
  • after reboot, after grub, external monitor didnt shows anything, laptop screen shows fedora booting logo for 2-3 sec and then logo dissapears and system hangs
  • after power off/on i am able to boot only to previous kernel (6.5.6) with nouveau driver

Is it possible to get why this happens? On eGPU forum users told me that it is not first time when problems occur with external GPU and official nVidia drivers.
So i decide to try nouveau driver after another fresh reinstall Fedora 39.

Quirks with nouveau driver:

  • First of all, am i correct that NVK is a part of nouveau MESA driver?
  • Can i use NVK on Fedora 39?
  • Does MESA 23.3.5 support it?
  • How to check does system use NVK, or this is like with AMD opensource driver(if you use MESA - you use AMD opensource driver)?

With nouveau driver desktop on external monitor seems like lagging, when i move cursors its like low fps. On internal laptop screen all fine.
I have wierd feeling that my external GTX 1660 Super working in some sort of “bypass” mode, because when i launch games on external monitor - mangohud shows that i`m using Intel Xe.

If problem with official nvidia drivers cant be solved, i willing to stay with nouveau driver for testing NVK purpose and heed help how to use NVK.

We need a little more info about the system.
Please post as preformatted text (using the </> button) the output of inxi -Fzxx and dnf list installed \*nvidia\*

I personally have never had an issue with nvidia drivers and may be considered a die-hard nvidia afficionado by some.

We need a bit of information about how the nvidia drivers were installed.
You are using windows 11, so I know that by default the laptop had secure boot enabled. Is secure boot still enabled or not.?

If secure boot is enabled and you did not follow the steps in the file /usr/share/doc/akmods/README.secureboot to enable and sign the nvidia modules then the system will not be able to use those drivers. Instructions are also on the rpmfusion site

If the modules were not signed and you wish to sign them follow the instructions above to enroll the signing key into bios, then reinstall the drivers with

  1. sudo dnf remove kmod-nvidia-6.7* to remove the unsigned modules
    then
  2. sudo akmods --force to recreate the signed modules and install them.

If you do not wish to sign the nvidia modules to enable use of secure boot then enter the bios setup menu and disable secure boot.

Maybe i should clarify a little bit: i have connect desktop GPU GTX 1660 Super to laptop via docking station. Issues about i`m talking appears on system like mine (laptop + desktop GPU NVIDIA + proprietary driver).

I was slightly mistaken, not Windows 11 but Windows 10, but this does not greatly affect the situation. Before installing Fedora I disabled secure boot.

I’ll give the answer a little later. But I assure you, the system sees all the necessary packages after correct installation of the proprietary drivers, I read several topics with your tips and instructions, in my case they unfortunately did not help me and I decided to create this topic.

System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 82KB v: Lenovo V15 G2 ITL
    serial: <superuser required> Chassis: type: 10 v: Lenovo V15 G2 ITL
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82KB_BU_idea_FM_V15 G2 ITL
    UEFI: LENOVO v: GGCN55WW date: 06/12/2023
Battery:
  ID-1: BAT0 charge: 37.7 Wh (97.4%) condition: 38.7/38.0 Wh (101.9%)
    volts: 8.1 min: 7.7 model: LGC L20L2PF0 serial: <filter>
    status: not charging
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 777 high: 1166 min/max: 400/4200 cores: 1: 1048 2: 1166
    3: 400 4: 400 5: 1155 6: 1138 7: 400 8: 513 bogomips: 38707
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: HDMI-A-2
    bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
  Device-2: NVIDIA TU116 [GeForce GTX 1660 SUPER] driver: nouveau v: kernel
    arch: Turing ports: active: HDMI-A-1 empty: DP-1,DVI-D-1
    bus-ID: 0000:01:00.0 chip-ID: 10de:21c4
  Device-3: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-5:3 chip-ID: 174f:118c
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: i915,nouveau display-ID: 0
  Monitor-1: HDMI-A-1 model: BenQ LCD res: 2560x1440 dpi: 123
    diag: 604mm (23.8")
  Monitor-2: eDP-1 model: BOE Display 0x08d5 res: 1920x1080 dpi: 142
    diag: 395mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.5 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
    device-ID: 8086:9a49 display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: mesa intel device-ID: 8086:9a49 device: 1
    type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8
  Device-2: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:1aeb
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 0000:02:00.0
    chip-ID: 10ec:8168
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b
Drives:
  Local Storage: total: 942.71 GiB used: 14.81 GiB (1.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ256HBJD-00BL2
    size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
  ID-2: /dev/sda vendor: JMicron Tech model: PCIe size: 238.47 GiB type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 236.89 GiB used: 14.51 GiB (6.1%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 288 MiB (29.6%) fs: ext4 dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 236.89 GiB used: 14.51 GiB (6.1%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A gpu: nouveau temp: 32.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 499
Info:
  Memory: total: 24 GiB note: est. available: 23.25 GiB used: 2.92 GiB (12.5%)
  Processes: 329 Power: uptime: 1m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 13 Compilers: N/A Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.32

dnf list installed \*nvidia\*
Installed Packages
nvidia-gpu-firmware.noarch                                                20240115-2.fc39                                                 @updates

So, even a [quote=“Jeff V, post:2, topic:105972, username:computersavvy”]
die-hard nvidia afficionado
[/quote]
has been silent for the last few days.

I did some research on the eGPU forum and found that almost everyone is having problems with the NVIDIA graphics card and proprietary drivers.

In one of the many threads I came across a link to the post:

where it says that the problem was solved by installing nvidia-driver-525-open

As I understand it, Howto/NVIDIA - RPM Fusion describes something that can solve my problem:

sudo dnf install rpmfusion-nonfree-release-tainted
sudo dnf swap akmod-nvidia akmod-nvidia-open

I’ll let you know about the results soon.

Updated the system to 6.7.5-200

sudo dnf install rpmfusion-nonfree-release-tainted
sudo dnf swap akmod-nvidia akmod-nvidia-open

did not have a positive effect, the system still freezes after reboot

it feels like kmod can`t get built

So, I decided to see if I could configure the card to work in Ubuntu.

  • installed Ubuntu 22.04.04, did NOT include the proprietary repository during installation
  • after installing the system, I installed nvidia-driver-545-open, I did not edit the boot parameters
  • rebooted the laptop
  • everything worked

The system interface on the monitor connected to the video card was still a little laggy. I changed the PRIME setting in the nvidia panel and everything began to work perfectly (in X11 sessions, Wayland is very slow and lags). Apparently the integrated card was still involved in rendering the interface and because of this, there were slowdowns before.

If anyone has any suggestions on how to run an analogue of nvidia-driver-545-open in Fedora 39, I’m ready to experiment.

has been silent for the last few days.
[/quote]

Sometimes life occurs.
I have been away from a computer for several days.
Oh! the withdrawal pains!! :rofl:

Your inxi output shows no nvidia drivers installed and the 1660 GPU is using nouveau.

We have to know exactly what the starting conditions are and cannot assist if you bounce back and forth between distros as you seem to be doing. We also cannot assist very easily if you make random changes of your own choosing that may not be helpful with our understanding of current conditions.

When you are ready to stay with fedora and work thru the steps we can assist.

So, I booted with the 6.7.5 kernel and installed the required packages:

sudo dnf update -y
sudo dnf install akmod-nvidia

After 10-15 minutes the system completely froze and stopped responding to my actions.
When I try to boot with kernel 6.7.5, the system freezes at the logo.

Booted into the previous kernel 6.7.4:

dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                      3:545.29.06-3.fc39 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.7.5-200.fc39.x86_64.x86_64 3:545.29.06-3.fc39 @@commandline       
nvidia-gpu-firmware.noarch               20240220-1.fc39    @updates            
nvidia-modprobe.x86_64                   3:545.29.06-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                   3:545.29.06-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64               3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64     3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64       3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686            3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64          3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64         3:545.29.06-2.fc39 @rpmfusion-nonfree-nvidia-driver
inxi -Fzxx
System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 82KB v: Lenovo V15 G2 ITL
    serial: <superuser required> Chassis: type: 10 v: Lenovo V15 G2 ITL
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82KB_BU_idea_FM_V15 G2 ITL
    UEFI: LENOVO v: GGCN55WW date: 06/12/2023
Battery:
  ID-1: BAT0 charge: 37.0 Wh (95.6%) condition: 38.7/38.0 Wh (101.9%)
    volts: 8.1 min: 7.7 model: LGC L20L2PF0 serial: <filter>
    status: not charging
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 563 high: 1126 min/max: 400/4200 cores: 1: 1126 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 979 8: 400 bogomips: 38707
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
  Device-2: NVIDIA TU116 [GeForce GTX 1660 SUPER] driver: nouveau v: kernel
    arch: Turing ports: active: HDMI-A-2 empty: DP-1,DVI-D-1
    bus-ID: 0000:01:00.0 chip-ID: 10de:21c4
  Device-3: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-5:3 chip-ID: 174f:118c
  Display: wayland 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,nouveau display-ID: 0
  Monitor-1: HDMI-A-2 model: BenQ LCD res: 2560x1440 dpi: 123
    diag: 604mm (23.8")
  Monitor-2: eDP-1 model: BOE Display 0x08d5 res: 1920x1080 dpi: 142
    diag: 395mm (15.5")
  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 Xe Graphics (TGL GT2)
    device-ID: 8086:9a49 display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: mesa intel device-ID: 8086:9a49 device: 1
    type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8
  Device-2: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:1aeb
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 0000:02:00.0
    chip-ID: 10ec:8168
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b
Drives:
  Local Storage: total: 942.71 GiB used: 16.67 GiB (1.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ256HBJD-00BL2
    size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 37.9 C
  ID-2: /dev/sda vendor: JMicron Tech model: PCIe size: 238.47 GiB type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 236.89 GiB used: 16.31 GiB (6.9%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 349 MiB (35.9%) fs: ext4 dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 236.89 GiB used: 16.31 GiB (6.9%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: nouveau temp: 31.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 419
Info:
  Memory: total: 24 GiB note: est. available: 23.25 GiB used: 2.03 GiB (8.7%)
  Processes: 312 Power: uptime: 1m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 13 Compilers: gcc: 13.2.1 Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.33

What are my next steps?

I see that the nouveau driver is still in use. It is possible that secure boot is blocking the load of the nvidia drivers.

What is the output of mokutil --sb-state

Yep, when i booted to previous kernel (6.7.4), “NVIDIA kernel module missing. Falling back to nouveau” appears on the loading screen

mokutil --sb-state
SecureBoot disabled

That would happen since the nvidia driver does not show as installed for the 6.7.4 kernel. Check the listing for the kmod-nvidia package to see that.

It is possible that you rebooted too soon after the driver was installed and the system did not have time to properly complete the install for the 6.7.5 kernel.

When booted with the 6.7.4 kernel, perform these steps and then reboot to see the results.

  1. sudo dnf remove kmod-nvidia\* to remove the driver that does not function.
  2. sudo akmods --force to build the driver new. This should work to build the drivers for both the 6.7.4 and the 6.7.5 kernels.
  3. sudo dnf list installed kmod-nvidia\* to verify which kernels now have supporting drivers.
  4. reboot to activate the newly installed drivers.

Is 15 minutes enough to wait for installation?

sudo dnf remove kmod-nvidia\*
[sudo] password for dmytro: 
Dependencies resolved.
================================================================================
 Package                          Arch   Version            Repository     Size
================================================================================
Removing:
 kmod-nvidia-6.7.5-200.fc39.x86_64
                                  x86_64 3:545.29.06-3.fc39 @@commandline  43 M

Transaction Summary
================================================================================
Remove  1 Package

Freed space: 43 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Erasing          : kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39   1/1 
  Running scriptlet: kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39   1/1 
  Verifying        : kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39   1/1 

Removed:
  kmod-nvidia-6.7.5-200.fc39.x86_64-3:545.29.06-3.fc39.x86_64                   

Complete!
sudo akmods --force
Checking kmods exist for 6.7.4-200.fc39.x86_64             [  OK  ]
Files needed for building modules against kernel
6.7.4-200.fc39.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/6.7.4-200.fc39.x86_64/
/lib/modules/6.7.4-200.fc39.x86_64/build/Is the correct ker[FAILED]l package installed?
Checking kmods exist for 6.7.5-200.fc39.x86_64             [  OK  ]
Building and installing nvidia-kmod                        [  OK  ]
sudo dnf list installed kmod-nvidia\*
Installed Packages
kmod-nvidia-6.7.5-200.fc39.x86_64.x86_64                 3:545.29.06-3.fc39                  @@commandline

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

I can’t boot from 6.7.5 kernel, the system freezes at the boot logo, I waited 5 minutes

Apparently you did not install the nvidia drivers until after installing the 6.7.5 kernel so the kernel-devel package did not get installed for the 6.7.4 kernel.

There is a new kernel in the testing repo and if you would like to test it you could install that newer one with sudo dnf upgrade kernel\* --enablerepo updates-testing. It is possible that a bug in the 6.7.5 kernel is causing the problem so this is certainly worth a try. Installing the new kernel should automatically build the nvidia driver for that kernel. Wait for at least 5 minutes after installation completes before rebooting to test the new kernel.

sudo dnf upgrade kernel\* --enablerepo updates-testing
[sudo] password for dmytro: 
Fedora 39 - x86_64 - Updates                     34 kB/s |  20 kB     00:00    
Fedora 39 - x86_64 - Updates                    2.0 MB/s | 2.4 MB     00:01    
Fedora 39 - x86_64 - Test Updates               788 kB/s | 5.6 MB     00:07    
Last metadata expiration check: 0:00:05 ago on Tue 27 Feb 2024 07:16:14 PM EET.
Dependencies resolved.
================================================================================
 Package                 Arch      Version             Repository          Size
================================================================================
Installing:
 kernel                  x86_64    6.7.6-200.fc39      updates-testing    161 k
 kernel-modules          x86_64    6.7.6-200.fc39      updates-testing     59 M
 kernel-modules-extra    x86_64    6.7.6-200.fc39      updates-testing    2.6 M
Upgrading:
 kernel-devel-matched    x86_64    6.7.6-200.fc39      updates-testing    161 k
Installing dependencies:
 kernel-core             x86_64    6.7.6-200.fc39      updates-testing     16 M
 kernel-devel            x86_64    6.7.6-200.fc39      updates-testing     20 M
 kernel-modules-core     x86_64    6.7.6-200.fc39      updates-testing     33 M
Removing:
 kernel                  x86_64    6.5.6-300.fc39      @anaconda            0  
 kernel-core             x86_64    6.5.6-300.fc39      @anaconda           65 M
 kernel-modules          x86_64    6.5.6-300.fc39      @anaconda           56 M
 kernel-modules-core     x86_64    6.5.6-300.fc39      @anaconda           30 M
 kernel-modules-extra    x86_64    6.5.6-300.fc39      @anaconda          2.4 M

Transaction Summary
================================================================================
Install  6 Packages
Upgrade  1 Package
Remove   5 Packages

Total download size: 131 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): kernel-devel-matched-6.7.6-200.fc39.x86_ 691 kB/s | 161 kB     00:00    
(2/7): kernel-6.7.6-200.fc39.x86_64.rpm         158 kB/s | 161 kB     00:01    
(3/7): kernel-modules-extra-6.7.6-200.fc39.x86_64.rpm                                                             260 kB/s | 2.6 MB     00:10    
(4/7): kernel-devel-6.7.6-200.fc39.x86_64.rpm                                                                     645 kB/s |  20 MB     00:31    
(5/7): kernel-core-6.7.6-200.fc39.x86_64.rpm                                                                      213 kB/s |  16 MB     01:17    
(6/7): kernel-modules-6.7.6-200.fc39.x86_64.rpm                                                                   731 kB/s |  59 MB     01:22    
(7/7): kernel-modules-core-6.7.6-200.fc39.x86_64.rpm                                                              289 kB/s |  33 MB     01:57    
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             1.1 MB/s | 131 MB     01:58     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1 
  Installing       : kernel-modules-core-6.7.6-200.fc39.x86_64                                                                               1/13 
  Installing       : kernel-core-6.7.6-200.fc39.x86_64                                                                                       2/13 
  Running scriptlet: kernel-core-6.7.6-200.fc39.x86_64                                                                                       2/13 
  Installing       : kernel-modules-6.7.6-200.fc39.x86_64                                                                                    3/13 
  Running scriptlet: kernel-modules-6.7.6-200.fc39.x86_64                                                                                    3/13 
  Installing       : kernel-devel-6.7.6-200.fc39.x86_64                                                                                      4/13 
  Running scriptlet: kernel-devel-6.7.6-200.fc39.x86_64                                                                                      4/13 
  Upgrading        : kernel-devel-matched-6.7.6-200.fc39.x86_64                                                                              5/13 
  Installing       : kernel-6.7.6-200.fc39.x86_64                                                                                            6/13 
  Installing       : kernel-modules-extra-6.7.6-200.fc39.x86_64                                                                              7/13 
  Running scriptlet: kernel-modules-extra-6.7.6-200.fc39.x86_64                                                                              7/13 
  Erasing          : kernel-modules-extra-6.5.6-300.fc39.x86_64                                                                              8/13 
  Running scriptlet: kernel-modules-extra-6.5.6-300.fc39.x86_64                                                                              8/13 
  Erasing          : kernel-6.5.6-300.fc39.x86_64                                                                                            9/13 
  Running scriptlet: kernel-6.5.6-300.fc39.x86_64                                                                                            9/13 
  Erasing          : kernel-modules-6.5.6-300.fc39.x86_64                                                                                   10/13 
  Running scriptlet: kernel-modules-6.5.6-300.fc39.x86_64                                                                                   10/13 
  Erasing          : kernel-modules-core-6.5.6-300.fc39.x86_64                                                                              11/13 
  Running scriptlet: kernel-core-6.5.6-300.fc39.x86_64                                                                                      12/13 
  Erasing          : kernel-core-6.5.6-300.fc39.x86_64                                                                                      12/13 
  Cleanup          : kernel-devel-matched-6.7.5-200.fc39.x86_64                                                                             13/13 
  Running scriptlet: kernel-modules-core-6.7.6-200.fc39.x86_64                                                                              13/13 
  Running scriptlet: kernel-core-6.7.6-200.fc39.x86_64                                                                                      13/13 
Generating grub configuration file ...
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

  Running scriptlet: kernel-modules-6.7.6-200.fc39.x86_64                                                                                   13/13 
  Running scriptlet: kernel-devel-matched-6.7.5-200.fc39.x86_64                                                                             13/13 
  Verifying        : kernel-6.7.6-200.fc39.x86_64                                                                                            1/13 
  Verifying        : kernel-core-6.7.6-200.fc39.x86_64                                                                                       2/13 
  Verifying        : kernel-devel-6.7.6-200.fc39.x86_64                                                                                      3/13 
  Verifying        : kernel-modules-6.7.6-200.fc39.x86_64                                                                                    4/13 
  Verifying        : kernel-modules-core-6.7.6-200.fc39.x86_64                                                                               5/13 
  Verifying        : kernel-modules-extra-6.7.6-200.fc39.x86_64                                                                              6/13 
  Verifying        : kernel-devel-matched-6.7.6-200.fc39.x86_64                                                                              7/13 
  Verifying        : kernel-devel-matched-6.7.5-200.fc39.x86_64                                                                              8/13 
  Verifying        : kernel-6.5.6-300.fc39.x86_64                                                                                            9/13 
  Verifying        : kernel-core-6.5.6-300.fc39.x86_64                                                                                      10/13 
  Verifying        : kernel-modules-6.5.6-300.fc39.x86_64                                                                                   11/13 
  Verifying        : kernel-modules-core-6.5.6-300.fc39.x86_64                                                                              12/13 
  Verifying        : kernel-modules-extra-6.5.6-300.fc39.x86_64                                                                             13/13 

Upgraded:
  kernel-devel-matched-6.7.6-200.fc39.x86_64                                                                                                      
Installed:
  kernel-6.7.6-200.fc39.x86_64                kernel-core-6.7.6-200.fc39.x86_64                kernel-devel-6.7.6-200.fc39.x86_64               
  kernel-modules-6.7.6-200.fc39.x86_64        kernel-modules-core-6.7.6-200.fc39.x86_64        kernel-modules-extra-6.7.6-200.fc39.x86_64       
Removed:
  kernel-6.5.6-300.fc39.x86_64                     kernel-core-6.5.6-300.fc39.x86_64                 kernel-modules-6.5.6-300.fc39.x86_64       
  kernel-modules-core-6.5.6-300.fc39.x86_64        kernel-modules-extra-6.5.6-300.fc39.x86_64       

Complete!

Waited 15 minutes and rebooted. The system freezes when loading the 6.7.6 kernel in the same way as with 6.7.5