Screen freezes on Wayland with *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Flip event timeout on head 1

I am getting freezes seemingly at random, at times on both monitors, and other times just the one. I can occasionally recover from this freeze by switching to the other consoles then back to the graphical desktop. These freezes usually occur while watching videos on YouTube in the Brave browser (with the Wayland flag set), though I have seen it while playing games on Steam. This may be related to multitasking, using Discord, but it is difficult to reproduce.

journal.txt (616.6 KB)
nvidia-bug-report.log.gz (523.5 KB)

I have the same issue. I have to switch to the terminal using Ctrl + F3 and then switch back to ‘unfreeze’ the UI.
It’s so confusing sometimes.

I have a dual-monitor setup, and the issue often occurs when I play a YouTube video on the second screen.

I also have the same issue.
I think it’s caused by multitasking and nvidia driver. What I observer so far is while watching video on 2nd screen, it only freezes when I press “win” key (view the overview), only occurs on wayland but not limited to watching video or not. It can happen even doing nothing and just entering overview or when training ML models too.

I also noticed that it’s happening when entering windows overview mode (win key). Are you using Gnome?

Yes Fedora 41, Gnome DE, Nvidia 565 driver. Switching to X11 solved the issue temporarily. Waiting for Wayland fix.

Nobara 41, KDE, 565 driver here. Haven’t noticed any particular relation to the “Windows” key myself, it just happens on its own usually. But multitasking seems to be the culprit as I have seen it most when tabbing out into something. This may be confirmation bias though, as I really only notice the problem when I try to move my mouse and one or both screens don’t show any movement.

Today, it happened again.

I noticed that the issue mostly occurs when an XWayland app is active.

If you remember which apps you were using, you can check them with the xprop command in the terminal. (Hover the mouse over an app. If the cursor changes to a cross, it’s an X11 app running with XWayland.)

I am on Arch/Gnome with the NVIDIA driver.