"Pageflip timed out!" / "Failed to apply atomic modeset. Error code: -22" (Xid 16) RTX 4070 Ti Super, nvidia-open 615.71.09 regression

Hello,

I have been having intermittent issues on nvidia-open drivers 615.71.09-1 with a 4070 Ti Super on Cachy KDE Wayland. What is happening seems to change per boot, with some results more common than others. Rolling back to 610.57.04-1 drivers makes all problems disappear.

I have two monitors connected to my machine, both using DisplayPort. One is an AOC 24G2W1G4, the other is an AOC 24G4ZR.

There are 3 main different outcomes I am seeing after boot:

  • The majority of the time when I boot the 24G2W1G4 will be working as normal, but the 24G4ZR will have no image. The monitor’s LED will go white as if it is receiving a signal, but there is no picture. I am also able to see the monitor in my Display Configuration like nothing is wrong:

  • Sometimes both monitors will work perfectly fine from boot as if nothing is wrong

  • Rarely my machine will freeze up just before the login screen or shortly after logging in. If it is before the login screen, all I see is a backlight and a frozen mouse.

I have attached a zip containing logs of each different scenario.

I believe these are the relevant logs to help get an idea of what’s going on. This is from the logs where my machine froze up before the login screen:

Sep 25 15:17:13 <hostname-redacted> kwin_wayland[789]: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Sep 25 15:17:13 <hostname-redacted> kwin_wayland[789]: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Sep 25 15:17:13 <hostname-redacted> kwin_wayland[789]: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Sep 25 15:17:04 cachyos-x8664 kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
Sep 25 15:17:12 cachyos-x8664 kernel: NVRM: GPU at PCI:0000:26:00: GPU-2506dfa4-450e-1186-ac87-c6aa7ec70d19
Sep 25 15:17:12 cachyos-x8664 kernel: NVRM: Xid (PCI:0000:26:00): 16, Head 00000003 Count 00000027
Sep 25 15:17:12 cachyos-x8664 kernel: NVRM: krcWatchdogCallbackVblankRecovery_IMPL: NVRM-RC: RM has detected that 7 Seconds without a Vblank Counter Update on head:D0
Sep 25 15:17:21 cachyos-x8664 kernel: NVRM: Xid (PCI:0000:26:00): 16, Head 00000003 Count 00000028
Sep 25 15:17:21 cachyos-x8664 kernel: NVRM: krcWatchdogCallbackVblankRecovery_IMPL: NVRM-RC: RM has detected that 7 Seconds without a Vblank Counter Update on head:D0
Sep 25 15:17:28 cachyos-x8664 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002600] Failed to apply atomic modeset.  Error code: -22
Sep 25 15:17:29 cachyos-x8664 kernel: NVRM: Xid (PCI:0000:26:00): 16, Head 00000003 Count 00000029
Sep 25 15:17:29 cachyos-x8664 kernel: NVRM: krcWatchdogCallbackVblankRecovery_IMPL: NVRM-RC: RM has detected that 7 Seconds without a Vblank Counter Update on head:D0
Sep 25 15:17:31 cachyos-x8664 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002600] Flip event timeout on head 0

Please let me know if i’ve missed anything.

Thanks

Logs.zip (1.8 MB)