A computer running Fedora 39 is unable to boot after installing updates using plasma-discover
(KDE). It shows a warning about being eol and that’s it.
Note that it has not been upgraded yet because of new bugs observed on other Fedora installations that were upgraded to F40 and beyond, including:
- Not booting anymore because initramfs image for newly installed kernel version was not created during the update: error: file ‘/initramfs-…img’ not found. 2
- Some keyboard shortcuts not working anymore (like Guake, KDE)
- Keyboard layouts disappearing or layout switching sometimes not working
- Keyboard input randomly stopping to work altogether for some programs (like Leafpad) while still working in others like KWrite (similar issue)
- KDE panels not on screen edge anymore (menu not “a mile high” anymore), context menu on windows now listing workspaces that the window should be mirrored on where “move to workspace” used to be…
- Desktop session started with Wayland after upgrade, KDE package needs to be installed manually and selected on login screen to get X11 back (plasma-workspace-x11)
- Tray icons disappearing (except default ones)
Those points might be off-topic but then again, I feel like they should be mentioned somewhere as it’s probably not worth it creating a topic for each one individually. Anyway, this is why this particular Fedora 39 installation has not been upgraded yet. Unfortunately, a simple update rendered it unusable for a while.
After a long search and rescue operation, it turns out that the Nvidia graphics driver somehow broke the system after this update. Since all similar questions I found suggested removing all nvidia packages which I would not recommend doing before checking if this driver is indeed the culprit (what if that was not the reason, you’d have one extra problem that might cause boot issues) - here’s a workaround:
In the Grub boot menu, hit E to change the boot options. Go to the Linux boot line which starts with initramfs
and ends with:
... rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
Remove both blacklist instances or replace nouveau
with nvidia
. Also, rhgb quiet
may be removed to see more information during the boot process. This actually helped, the system would boot normally, login screen appears, KDE works etc. The only difference at first sight seems to be that in some rare case, the mouse cursor would be slow to move. Also, after some minutes of inactivity, the screen is dimmed which is a KDE setting that should not be on but seems to be enabled after the update. Otherwise, everything seems to be working with the Nouveau graphics driver.
To confirm that it’s actually being used:
$ inxi -G | grep NVIDIA
Device-2: NVIDIA GP108 [GeForce GT 1030] driver: nouveau v: kernel
Now, this is a workaround but the question is: What’s the real fix? And is it a known issue that the Nvidia driver might prevent Fedora from booting after updating?
# rpm -qa | grep nvidia | grep -v 'kmod-'
nvidia-gpu-firmware-20241110-1.fc39.noarch
xorg-x11-drv-nvidia-kmodsrc-560.35.03-5.fc39.x86_64
nvidia-modprobe-560.35.03-1.fc39.x86_64
xorg-x11-drv-nvidia-cuda-libs-560.35.03-5.fc39.x86_64
xorg-x11-drv-nvidia-libs-560.35.03-5.fc39.x86_64
nvidia-persistenced-560.35.03-1.fc39.x86_64
xorg-x11-drv-nvidia-xorg-libs-560.35.03-5.fc39.x86_64
nvidia-settings-560.35.03-1.fc39.x86_64
xorg-x11-drv-nvidia-power-560.35.03-5.fc39.x86_64
xorg-x11-drv-nvidia-560.35.03-5.fc39.x86_64
xorg-x11-drv-nvidia-cuda-560.35.03-5.fc39.x86_64
# dnf info nvidia-modprobe-560.35.03-1.fc39.x86_64 | grep repo
From repo : rpmfusion-nonfree-updates