Latest update/kernel (7.1.4) + Nvidia 4070 : black screen

Here’s my hardware :

  • CPU : AMD Ryzen 7 7800X3D

  • MB : MSI X870 GAMING PLUS WIFI

  • RAM : G.Skill RipJaws S5 Low Profile 32 Go (2 x 16 Go) DDR5 6600 MHz CL34

  • SSD : 1. Kingston SSD NV3 2 To 2. Kingston SSD NV3 1 To

  • GPU : ASUS TUF Gaming GeForce RTX 4070 SUPER OC Edition 12 GB

  • GPU Driver : proprietary Nvidia 610.x

  • Screen : LG 27" LED - UltraGear en displayport

Fedora (KDE) 43 then 44 was working fine for months, I was doing all the updates almost immediately as they were available.

The latest one (with the kernel 7.1.4, replacing 7.1.3 ) broke my system : after rebooting, when getting to the connection screen I believe, I’ve got no display / the screen is all black (but on).
I’ve tried switching from Displayport to HDMI, even to HDMI on my MB with no better result.

I’ve tried booting to the previous version (which still works fine), cleaning the laster kernel, redoing the update : same result.

What can I do to identify the problem ?

Does booting to an earlier kernel in Grub make any difference or does each kernel you have available to you present the same dead screen? It’s not obvious to me what you mean in this statement…

Assuming you can boot something which gives you a screen, please post the last 15 or so lines from /var/cache/akmods/nvidia/.last.log as preformatted text.

Does booting to an earlier kernel in Grub make any difference or does each kernel you have available to you present the same dead screen? It’s not obvious to me what you mean in this statement…

Booting on the previous kernel works fine: I don’t have any display problems with it.

Excellent - lets see what you have in .last.log from the previous build of the nvidia drivers for the knackered kernel.

Nevermind, I found the problem.
There was no log for the latest Nvidia driver and the latest kernel in /var/cache/akmods/nvidia/
So, I tried to recompile (?) it with sudo akmods --force but akmods was not available anymore (can’t figure out why though)!
So did a sudo dnf install akmod-nvidia
Then sudo akmods --force
And after rebooting, everything was ok.
Lesson learned.
Thanks for leading me on the right path and learning the existence of /var/cache/akmods/nvidia/

Did you remove the latest kernel-devel at some point?

# rpm -qa kernel-devel
kernel-devel-7.0.14-201.fc44.x86_64
kernel-devel-7.1.2-201.fc44.x86_64
kernel-devel-7.1.3-201.fc44.x86_64
kernel-devel-7.1.4-202.fc44.x86_64
kernel-devel-7.1.4-204.fc44.x86_64

# dnf remove kernel-devel-7.1.4-204.fc44.x86_64 --assumeno 
Package                    Arch    Version                    Repository           Size
Removing:
 kernel-devel              x86_64  0:7.1.4-204.fc44           updates          87.9 MiB
Removing dependent packages:
 akmod-nvidia              x86_64  3:610.43.03-1.fc44         @commandline     99.2 KiB
 akmods                    noarch  0:0.6.2-9.fc44             fedora           66.0 KiB
Removing unused dependencies:
 kernel-devel-matched      x86_64  0:7.1.4-204.fc44           updates           0.0   B

Transaction Summary:
 Removing:           4 packages

# dnf remove kernel-devel-7.1.4-202.fc44.x86_64 --assumeno 
Package                    Arch    Version                     Repository          Size
Removing:
 kernel-devel              x86_64  0:7.1.4-202.fc44            updates         87.9 MiB

Transaction Summary:
 Removing:           1 package

Yes! Good point, thanks.
I did it to try to re-apply the update.

sudo dnf reinstall <package>