Gnome/XOrg session crashes everytime I unplug HDMI cable since upgrade to Fedora 41

Hello there,

Long time Fedora user and apparently the only one with this issue after upgrading from Fedora Workstation 39 to 41.

The laptop runs great. However it is using GTX 1050 Ti so I can’t really use Wayland (very laggy, very choppy experience and screen sharing doesn’t work at all and I need to share screen as part of work) so I’ve fallen back to XOrg gnome session, whever everything is snappy and works right. With the exception of the gnome session crashing each time in unplug HDMI. Don’t get me wrong. Secondary monitor works flawlessly when I plug the HDMI in. The problem only occurs whenever I unplug. Same cable, same monitor, same everything. I actually tried changing cables and monitors and the issue persists so I believe it’s an issue with my system.

I would like some help in resolving this issue. I’ve reinstalled the nvidia proprietary drivers multiple times, rebuilt everything with akmods and updated all the packages to latest, including the kernel. Love dnf5.

From my troubleshooting attempts the best I have to go on is the following coredump from an XOrg which forces the gnome-session to crash shortly after.



Whenever the session crashes, I see the plymouth booting screen for few seconds and then I see the Fedora login screen. All apps closed, services and daemons continuing to work (e.g. Docker doesn’t seem affected by this crash).

But I do lose work progress each time I unplug the HDMI. Not sure how to continue debugging this.

EDIT: I’m considering a complete reinstall (because maybe skipping a version in the upgrade broke something) but due to the amount of files i’m going to lose I’d like to keep this as a final measure.

P.S: I know the coredump says the file doesn’t exist, but it does exist. I just can’t upload a 4th image in the original post to show you the list of drivers under /usr/lib64/xorg/modules/drivers - the file is there and it’s not a symlink

-rwxr-xr-x 1 root root 6,5M 28 ное 01:03 nvidia_drv.so

EDIT 2: The issue does not exist under Wayland. But I have other issues on wayland :frowning: