Hi everyone. This is an AI summary of a problem that I have and all the ways i have tried to fix it.
Problem Description
After a recent update, the graphical login manager SDDM sometimes fails to appear on boot. The screen stays black with the backlight on. Interestingly, I can log in “blindly” by typing my password and pressing Enter, and then the desktop appears and works fine. The problem is intermittent and often requires several reboots to fix.
System Details
- Laptop: Lenovo Legion Slim 5 (16APH8)
- CPU: AMD Ryzen 7 7840HS (with iGPU)
- GPU: NVIDIA RTX 4060 (dGPU)
- OS: Fedora 42 with KDE Plasma
- Display Server: Wayland
- NVIDIA Driver: Proprietary version 580.82.09
What I’ve Tried
Based on my log analysis, it looks like a race condition where the NVIDIA driver tries to initialize the display before it can read the monitor’s information. I’ve taken the following steps to try and fix it, but the issue still happens:
- Forced Early Loading: I added
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
to mydracut
configuration to ensure the NVIDIA modules load early in the boot process. - Enabled KMS: I created
/etc/modprobe.d/nvidia.conf
withoptions nvidia_drm modeset=1
to ensure Kernel Mode Setting is enabled. - SDDM Config: I confirmed my
sddm.conf
is set to use Wayland.
Well… the issue persists. Does anyone have any suggestions for a fix? Thanks in advance for the help!