Screen Freeze on Fedora 42 Workstation (NVIDIA Flip Event Timeout)

Hi everyone! This is my first time asking for help for anything linux related so i hope im doing this right.

I’ve been using Fedora Workstation on my PC since 41 and usually have had no bugs, but now im experiencing an issue ever since updating to Fedora 42 where the entire screen freezes randomly. The audio still plays in the background, but the screen never moves even when waiting for multiple minutes. This happens in random intervals (sometimes it takes 10 minutes or even an hour for the freeze to happen) and with gnome extensions both turned on AND off.

I usually have to switch to the TTY (Ctrl+Alt+F3) and then switch back to the graphical session (Ctrl+Alt+F1) to unfreeze the desktop and allow me to continue working, but even then it will freeze again sometime later.

I checked the system journal using journalctl --since "5 minutes ago" --until "now":

It seems like this has something to do with it maybe?

Apr 30 17:44:29 fedora kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Apr 30 17:44:32 fedora kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0

My System Details:

  • Fedora Version: Fedora Workstation 42
  • Desktop Environment: GNOME 48.1
  • Graphics Card: NVIDIA GeForce RTX 3090 (Discrete) / Intel UHD Graphics 770 (Integrated)
  • NVIDIA Driver Version: 570.144 (Proprietary driver Installed from RPM Fusion)
  • Kernel Version: 6.14.4-300.fc42.x86_64
  • CPU: 13th Gen Intel Core i5-13600K
  • Memory: 31.11 GiB

Thanks in advance for any insights or suggestions!

Hi Jaydon. I’ve been experiencing exactly the same problem since I upgraded to Fedora 42, and I reported the issue on the following thread Nvidia driver fails and causes freezes on Fedora 42 . Unfortunately, nobody has chimed in with suggestions yet.

It seems that a similar problem affects AMD machines as you can see from the following discussion Consistent screen freezes/hangs on Fedora 42 for AMD laptops using GNOME+Wayland . But I’m not sure whether the solutions suggested there apply to Nvidia as well.

1 Like

have you enabled kms-modifiers?

check with

gsettings get  org.gnome.mutter experimental-features

if not then copy the output and add 'kms-modifiers' to the list and update the setting with gsettings set

e.g.

$ gsettings get  org.gnome.mutter experimental-features
['scale-monitor-framebuffer', 'xwayland-native-scaling']

$ gsettings set  org.gnome.mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling', 'kms-modifiers']"

logout to restart your gnome session.

Ok i just enabled it and logged out and back in. I will report back later if it still freezes or not.

Unfortunately it still froze 15 minutes after enabling this.

The same error of [drm:nv_drm_atomic_commit [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0 still appears.

I do remember switching to the last fedora 41 kernel that i had before updating to 42, and that stopped the freezing, but its not there anymore since it only keeps the 3 recent kernels.

I also had those flip event timeouts when I was testing F42 before release a few weeks ago, but now it’s stable. Not exactly sure what fixed it for me.

I use the kernel open drivers Howto/NVIDIA - RPM Fusion and have the current 575 beta nvidia drivers installed. They are available in the rpmfusion rawhide repositories.

$ modinfo -l nvidia
Dual MIT/GPL

$ modinfo -F version nvidia
575.51.02

Does MUTTER_DEBUG_FORCE_KMS_MODE=simple do anything? I used to force that globally for a mouse thing:

sudo -e '/etc/profile.d/mutter-tweaks.sh'
# Mutter
export MUTTER_DEBUG_FORCE_KMS_MODE='simple'
1 Like

Looks like MUTTER_DEBUG_FORCE_KMS_MODE=simple seems to actually work, its been 8 hours and no freeze at all!

Is there any drawbacks in using this? Thank you.

2 Likes

Thank you @anotheruser and @Espionage724 for your instructions. Unfortunately, even after applying both of them, I’m still getting these freezes, especially when I’m browsing the web (regardless of the browser).

I’m currently on the 570.144 Nvidia drivers (proprietary). Hopefully, the 575 will change this state of affairs.

Are there any other options left?

Thank you.