Monitor freezes every couple of hours

Hello,
once every couple of hours, my system freezes completely.
To “unstuck” it, I have to switch TTY (CTRL+ALT+F3), then go back to the graphical session (CTRL+ALT+F2). Then, the computer works, but has a lower framerate (probably 60hz); I have to switch the framerate to a lower value, then bump it up again.

When this happens, I see this in dmesg:

[18096.465785] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Flip event timeout on head 0
[18099.665638] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Flip event timeout on head 0

Some specs:
I have a 3090 graphics card, and a 4k, 240hz, HDR monitor. I use Gnome, with HDR turned on, but the issue occurred even with HDR off, and using a lower framerate.

marco@fedora:~$ uname -a
Linux fedora 6.14.9-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 29 14:27:53 UTC 2025 x86_64 GNU/Linux
marco@fedora:~$ nvidia-smi
Mon Jun  2 16:44:38 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.153.02             Driver Version: 570.153.02     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3090        Off |   00000000:0A:00.0  On |                  N/A |
|  0%   54C    P0             88W /  370W |    2654MiB /  24576MiB |     19%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
marco@fedora:~$ cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Same thing happening to me with 3070 and 5800x3D on Arch Linux.

Have you tried setting kwinrc to:

[Wayland]
DirectScanout=false

If you’re running Wayland? I’m testing it out and haven’t had a hang since, but I also haven’t been using my PC much. Worth a shot.

This bug has been present for months now and they still haven’t come out with a fix.

I use Gnome, so no kwinrc

I never had an issue since driver version 575. Feel free to consider this resolved.