615.71.09 regression: blocking atomic commits wait 3 s per head for their own flip on compositor exit / suspend ("Flip event timeout" + nv_flip == NULL WARN)
NVIDIA Open GPU Kernel Modules Version
615.71.09 (Arch Linux nvidia-open-dkms 615.71.09-1). Not present in 610.57.04.
Please confirm this issue does not happen with the proprietary driver (of the same version)
- [ ] Not tested with the proprietary package. The code involved (
kernel-open/nvidia-drm/nvidia-drm-modeset.c) is nvidia-drm, which as far as I can tell is shared by both, so it may well affect the proprietary driver too.
Operating System and Version
Arch Linux (Omarchy 4.0, rolling)
Kernel Release
Linux 7.2.4-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 08 Sep 2026 10:22:31 +0000 x86_64 GNU/Linux (stock Arch kernel)
Please confirm you are running a stable release kernel
- [x] I am running on a stable kernel release.
Hardware: GPU
GPU 0: NVIDIA GeForce RTX 3060 Laptop GPU (Dell G15 5515, Ryzen 7 5800H). Reproduced with the BIOS MUX in dGPU-only mode (all three outputs on the NVIDIA GPU: eDP-1, DP-1, HDMI-A-1), and also in hybrid mode (AMD primary, NVIDIA driving the two external outputs).
Describe the bug
Since 615.71.09, every blocking atomic commit issued while a Wayland compositor is going away waits the full 3 s flip timeout per head, and then warns about a NULL flip. Logging out of a Wayland session (Hyprland 0.56.2 / aquamarine 0.15.0, SDDM Wayland greeter) now takes ~9 s to leave the session and another ~9 s to leave the greeter; suspend entry gets the same delay.
20:02:25.168 kernel: Hyprland[2545]: segfault ... in libaquamarine.so.0.15.0 <- session compositor exits (see note below)
20:02:29.019 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
20:02:32.027 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1
20:02:35.035 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 2
20:02:35.230 kernel: nv_flip == NULL
20:02:35.230 kernel: WARNING: nvidia-drm/nvidia-drm-crtc.h:368 at __nv_drm_handle_flip_event+0x1f8/0x210 [nvidia_drm] (x3)
20:02:35.237 systemd-logind: Session 1 logged out.
20:02:35.530 sddm: Greeter session started successfully
20:02:41.233 systemd-logind: New session '4' of user ... (login from the greeter)
20:02:44.763 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
20:02:47.771 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1
20:02:50.779 kernel: [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 2
20:02:50.985 kernel: WARNING: nvidia-drm/nvidia-drm-crtc.h:368 ... nv_flip == NULL (x3)
20:02:51.419 uwsm: Starting: /usr/bin/start-hyprland... <- user session only starts now
20:02:51.535 kernel: Hyprland[382271]: segfault ... in libaquamarine.so.0.15.0 <- greeter compositor
Note on the compositor segfault: aquamarine 0.15.0 crashes in CDRMBackend::flushAsyncCommitEvents during its static destructors at exit. That is a separate compositor bug and is not what triggers the timeouts: for the greeter the three timeouts happen before its compositor crashes, and the same exit segfault occurred on 610.57.04 without any timeout.
Regression window. From the systemd journal of this machine:
| Driver | Wayland logouts | Suspend entries | "Flip event timeout" |
|---|---|---|---|
| 610.57.04 (last two boots before the update, docked with the same external monitors) | 2 | 33 | none at all |
| 615.71.09 (every boot since) | 9 | 2 successful ones checked | on all of them, one per active NVIDIA head |
Same kernel (7.2.4) and aquamarine (0.15.0) on both sides. The only other display-related package in that update was an Arch rebuild of Hyprland (0.56.2-2 → 0.56.2-3, same upstream version); the timeouts themselves are emitted by the kernel module.
Likely cause. Comparing kernel-open/nvidia-drm/nvidia-drm-modeset.c between the 610.57.04 and 615.71.09 tags, nv_drm_atomic_commit() changed how blocking commits wait:
- 610.57.04: before
drm_atomic_helper_swap_state(), a blocking commit waited (3 s max) for previously queued flips on each CRTC to drain. - 615.71.09: the pre-wait now only applies to nonblocking commits (
-EBUSY); afternv_drm_atomic_apply_modeset_config(commit=true)a blocking commit waits for the CRTC'sflip_listto become empty, which includes the flip enqueued by this very commit, and on timeout drains it with__nv_drm_handle_flip_event().
When the commit tears planes/CRTCs down (compositor exit, framebuffer removal on DRM file close, VT switch at suspend), no flip-complete event arrives for that flip, so each head sits out the full 3 * HZ, and the forced drain then hits WARN_ON(nv_flip == NULL) in nvidia-drm-crtc.h:368.
To Reproduce
- Wayland compositor on an NVIDIA GPU with N active outputs (here Hyprland 0.56.2, aquamarine 0.15.0; 3 outputs).
- Log out of the session (or suspend).
- Observe
Flip event timeout on head Kfor each active head, 3 s apart, followed bynv_flip == NULLwarnings; the transition takes ~3 s × N longer than on 610.57.04.
Bug Incidence
Always
nvidia-bug-report.log.gz
Attached below (generated in the same boot, right after the logout shown above).
More Info
Expected: blocking commits that disable outputs complete promptly, as on 610.57.04, instead of waiting for a flip event that is never delivered.
nvidia-bug-report.log.gz, generated in the same boot right after the logout shown in the report above (the kernel log in it contains the "Flip event timeout" lines):
I also observe this on CachyOS (archlinux-based, rolling) with Linux 7.2.9-2-cachyos and nvidia-open-dkms 615.78.08-2. Display configuration is NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB [Discrete] with nvidia card driving external monitor via DisplayPort.
[Sun Oct 18 21:40:22 2026] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0 [14/3310]
[Sun Oct 18 21:40:23 2026] ------------[ cut here ]------------
[Sun Oct 18 21:40:23 2026] nv_flip == NULL
[Sun Oct 18 21:40:23 2026] WARNING: nvidia-drm/nvidia-drm-crtc.h:368 at __nv_drm_handle_flip_event+0x1e4/0x1f0 [nvidia_drm], CPU#0: nvidia-modeset//255
[Sun Oct 18 21:40:23 2026] Modules linked in: usbmon ntfs3 hid_universal_pidff cdc_acm hid_xinmo rfcomm snd_seq_dummy snd_hrtimer snd_seq xt_MASQUERADE bridge stp llc xfrm_user xfrm_algo xt_set ip_set nft_chain_nat nf_nat ccm overlay uhid algif_hash algif_skcipher af_alg bnep vfat fat snd_sof_amd_acp70 snd
_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_acp7x snd_pci_ps snd_soc_acpi_amd_match soundwire_amd soundwire_generic_allocation snd_amd_sdw_acpi soundwire_bus snd_soc_sdca amd_atl snd_hda_codec_alc26
9 iwlmvm intel_rapl_msr snd_soc_core snd_hda_codec_realtek_lib intel_rapl_common snd_hda_scodec_component ac97_bus snd_hda_codec_generic snd_pcm_dmaengine snd_hda_codec_atihdmi snd_hda_codec_nvhdmi snd_compress mac80211 snd_hda_codec_hdmi snd_acp_pci snd_usb_audio uvcvideo snd_amd_acpi_mach snd_hda_intel p
tp snd_acp_legacy_common uvc r8169 kvm_amd snd_hda_codec snd_usbmidi_lib snd_pci_acp6x pps_core videobuf2_vmalloc asus_nb_wmi
[Sun Oct 18 21:40:23 2026] libarc4 videobuf2_memops btusb realtek ee1004 snd_pci_acp5x snd_hda_core videobuf2_v4l2 snd_ump btmtk phy_package videobuf2_common mdio_devres btbcm snd_intel_dspcfg snd_rn_pci_acp3x kvm ucsi_acpi snd_rawmidi asus_armoury iwlwifi btintel snd_acp_config snd_intel_sdw_acpi videode
v libphy i2c_piix4 snd_seq_device snd_soc_acpi typec_ucsi btrtl hid_multitouch snd_hwdep irqbypass rapl mc bluetooth firmware_attributes_class wmi_bmof pcspkr roles k10temp snd_pcm snd_pci_acp3x i2c_smbus typec i2c_hid_acpi snd_timer mousedev joydev mdio_bus i2c_hid thunderbolt snd cfg80211 asus_wireless a
md_pmc soundcore mac_hid ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat x_tables nf_tables i2c_dev ntsync crypto_user pkcs8_key_parser dm_crypt encrypted_keys
trusted tee asn1_encoder dm_mod amdgpu drm_panel_backlight_quirks drm_buddy drm_suballoc_helper i2c_algo_bit drm_exec
[Sun Oct 18 21:40:23 2026] gpu_sched ccp amdxcp nvme aesni_intel nvme_core serio_raw gf128mul nvme_keyring nvme_auth nvidia_drm(OE) drm_ttm_helper ttm drm_display_helper cec nvidia_uvm(OE) hid_asus nvidia_modeset(OE) asus_wmi sparse_keymap rfkill video sr_mod wmi cdrom nvidia(OE) uas usb_storage aead
[Sun Oct 18 21:40:23 2026] CPU: 0 UID: 0 PID: 255 Comm: nvidia-modeset/ Tainted: G W OE 7.2.9-2-cachyos #1 PREEMPT(full) 73865583327a74ff18b44e6b864a636566f79bf7
[Sun Oct 18 21:40:23 2026] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[Sun Oct 18 21:40:23 2026] Hardware name: ASUSTeK COMPUTER INC. ROG Strix G533QS_G533QS/G533QS, BIOS G533QS.331 02/24/2023
[Sun Oct 18 21:40:23 2026] RIP: 0010:__nv_drm_handle_flip_event+0x1e4/0x1f0 [nvidia_drm]
[Sun Oct 18 21:40:23 2026] Code: 89 df 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 21 a3 ba c1 4c 89 ef e8 f9 ff af c1 e9 bc fe ff ff 48 89 ef e8 4c 4d e9 c2 <0f> 0b 31 db eb 92 cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90
[Sun Oct 18 21:40:23 2026] RSP: 0018:ffffd2b2c0a47dd8 EFLAGS: 00010282
[Sun Oct 18 21:40:23 2026] RAX: ffff8f0ca5ebb818 RBX: ffff8f0cad333030 RCX: 0000000000000001
[Sun Oct 18 21:40:23 2026] RDX: ffff8f0ca5ebb8c0 RSI: 0000000000000000 RDI: ffff8f0ca5ebb840
[Sun Oct 18 21:40:23 2026] RBP: ffff8f0ca5ebb840 R08: ffff8f0ca5ebb800 R09: 0000000000000100
[Sun Oct 18 21:40:23 2026] R10: 0000000000000100 R11: ffff8f0fd8e53000 R12: ffff8f0ca5ebb800
[Sun Oct 18 21:40:23 2026] R13: ffff8f0ca5ebb818 R14: ffff8f0cad333000 R15: ffff8f0cad0ab150
[Sun Oct 18 21:40:23 2026] FS: 0000000000000000(0000) GS:ffff8f0fd8e53000(0000) knlGS:0000000000000000
[Sun Oct 18 21:40:23 2026] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Sun Oct 18 21:40:23 2026] CR2: 00007fae4cf36020 CR3: 000000012d22c000 CR4: 0000000000f50ef0
[Sun Oct 18 21:40:23 2026] PKRU: 55555554
[Sun Oct 18 21:40:23 2026] Call Trace:
[Sun Oct 18 21:40:23 2026] <TASK>
[Sun Oct 18 21:40:23 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Sun Oct 18 21:40:23 2026] ? up+0x65/0xd0
[Sun Oct 18 21:40:23 2026] nv_drm_event_callback+0x7b/0xb0 [nvidia_drm 240b4adae375924492f5715f11b92445c7f1034c]
[Sun Oct 18 21:40:23 2026] nvKmsKapiHandleEventQueueChange+0x143/0x1e0 [nvidia_modeset fe245d84ba5c37f3d4706105a2ccb6cb8e6ff420]
[Sun Oct 18 21:40:23 2026] ? nvSendFlipOccurredEventEvo+0x8b/0x1b0 [nvidia_modeset fe245d84ba5c37f3d4706105a2ccb6cb8e6ff420]
[Sun Oct 18 21:40:23 2026] _main_loop+0xbc/0x140 [nvidia_modeset fe245d84ba5c37f3d4706105a2ccb6cb8e6ff420]
[Sun Oct 18 21:40:23 2026] ? __pfx__main_loop+0x10/0x10 [nvidia_modeset fe245d84ba5c37f3d4706105a2ccb6cb8e6ff420]
[Sun Oct 18 21:40:23 2026] kthread+0x119/0x120
[Sun Oct 18 21:40:23 2026] ? __pfx_kthread+0x10/0x10
[Sun Oct 18 21:40:23 2026] ret_from_fork+0xee/0x2b0
[Sun Oct 18 21:40:23 2026] ? __pfx_kthread+0x10/0x10
[Sun Oct 18 21:40:23 2026] ret_from_fork_asm+0x1a/0x30
[Sun Oct 18 21:40:23 2026] </TASK>
[Sun Oct 18 21:40:23 2026] ---[ end trace 0000000000000000 ]---
It seems to have some dependency on which monitors (or maybe also Notebook-Dock) are used.
Work setup:
- Dell P3421W (via DP)
- ASUS PB277 (via HDMI)
- Lenovo USB-C dock with model number 40B5
Home setup:
- Razer monitor
- BenQ monitor
- Lenovo USB-C dock (different one)
OS: Fedora 43
The issue only happens on my work setup. Never at home
I'm seeing the same on Tumbleweed's 620 driver.
More reports on the nvidia forum https://forums.developer.nvidia.com/t/620-release-feedback-discussion/388030/29 https://forums.developer.nvidia.com/t/620-release-feedback-discussion/388030/28 and on my opensuse bug report https://bugzilla.opensuse.org/show_bug.cgi?id=1289654#c5
Another data point: this started for me with 620.70.06. I never saw it on 615.
System:
- RTX 4090,
nvidia-open-dkms620.70.06-2 - Arch Linux, kernel 7.3.3-1-cachyos-bore
- Hyprland 0.57.2 (aquamarine 0.16.0), SDDM 0.21.0 greeter
- Two DisplayPort monitors: 3840x2160@138 with HDR, and 2560x1440@165
nvidia_drm.modeset=1 fbdev=1
615.78.08 vs 620.70.06:
- I have had zero "Flip event timeout" lines in any boot on 615.71.09 and 615.78.08, going back to mid October.
- The first boot after updating to 620.70.06 logged 45 of them.
- The kernel was updated at the same time (7.2.10 to 7.3.3), so I can't fully rule that out.
When the timeouts happen:
- Boot, before the greeter starts: three timeouts, one per head, 3 s apart.
10:54:03.184 Flip event timeout on head 0 10:54:06.192 Flip event timeout on head 1 10:54:09.200 Flip event timeout on head 2 10:54:11.612 sddm: Greeter starting... - Login from the greeter: another timeout about 5 s after the greeter session is removed, followed by
nv_flip == NULLand the WARN atnvidia-drm-crtc.h:371in__nv_drm_handle_flip_event. The desktop takes noticeably longer to come up, and Hyprland doesn't answer IPC for roughly 11 s after login.10:54:22.412 systemd-logind: Removed session c1. 10:54:27.440 Flip event timeout on head 0 - Monitor power-off: I turn the monitors off with Hyprland's DPMS dispatcher 15 s after locking. The first timeout comes about 4 s later, then one more 3 s after that, one per connected head, each with the same
nv_flip == NULLWARN. Waking the monitors again does not trigger it.14:27:18 lock ~14:27:33 dpms off 14:27:37.076 Flip event timeout on head 0 14:27:40.146 Flip event timeout on head 1 - Hibernate entry: two timeouts about 5 s after user space is frozen.
Another one https://forums.developer.nvidia.com/t/620-release-feedback-discussion/388030/39
Another data point, on niri.
Can confirm this regressed between 620 and 615.
- RTX 3090, nvidia-open 620.70.06, kernel 7.3.3-1-cachyos
- niri 26.04, two displays on the NVIDIA GPU
nvidia_drm.modeset=Y fbdev=Y
Pattern:
- One timeout per event, almost always head 0.
- Each one
nv_flip == NULLand WARNnvidia-drm-crtc.h:371then two DRM change uevents. - Possible trigger - idle monitor poweroff/DPMS
- No niri/compositor exit, suspend or login.
[drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
nv_flip == NULL
WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_event+0x1e4/0x1f0 [nvidia_drm]
Call Trace:
nv_drm_event_callback+0x7b/0xb0 [nvidia_drm]
nvKmsKapiHandleEventQueueChange+0x143/0x1e0 [nvidia_modeset]
_main_loop+0xbd/0x140 [nvidia_modeset]
kthread+0xfd/0x130
Another data point, with a kernel trace of the wait itself: on KDE the flip events for the disabling commit are delivered 1 ms after nv_drm_master_drop() returns, i.e. the commit is waiting for events that only show up once it has stopped waiting.
System
- RTX 4080 SUPER,
nvidia-open-dkms620.70.06-2 (Arch-based, Garuda), kernel 7.3.3-1-cachyos-bore - KDE Plasma 6.8.2 Wayland (kwin 6.8.2), plasma-login-manager 6.8.2 greeter
- Two DisplayPort monitors: 3440x1440@120 and 3840x2160@60
nvidia_drm.modeset=Y fbdev=N
When it happens
Every login. The greeter's session is on VT 1, the user session on VT 2. On the VT switch systemd-logind issues DRM_IOCTL_DROP_MASTER for the greeter's device, and with fbdev=N (hasFramebufferConsole == false) nv_drm_master_drop() runs nv_drm_atomic_helper_disable_all(), a blocking commit. That commit sits out the full timeout once per head (2 heads, 6 s), then the session starts.
Trace
bpftrace kprobes on nvidia-drm, times in ms since boot (they match dmesg):
21702 kprobe:nv_drm_master_drop systemd-logind/1177
21702 kprobe:nv_drm_atomic_helper_disable_all systemd-logind/1177
24799 systemd-logind sleeps in schedule_timeout <- nv_drm_atomic_commit+903
<- drm_atomic_commit
<- nv_drm_atomic_helper_disable_all+586
<- nv_drm_master_drop+99
<- drm_dropmaster_ioctl
dmesg [24.799362] Flip event timeout on head 0
dmesg [27.808093] Flip event timeout on head 1
27808 nv_drm_atomic_commit returns 0 after 6105 ms
27808 kretprobe:nv_drm_atomic_helper_disable_all
27949 kretprobe:nv_drm_master_drop (141 ms later: releaseOwnership)
27950 nv_drm_event_callback x4 nvidia-modeset/425
27950 nv_drm_handle_flip_occurred head=1
27950 nv_drm_event_callback
27950 nv_drm_handle_flip_occurred head=0
What the trace shows for the 6 s the commit was waiting:
nv_drm_event_callbackwas not entered once (probe armed from 100 ms into the wait).- The
nvidia-modesetkthread was never seen going to sleep on anything (sched_switch stacks were recorded for it from 100 ms into the wait), so it does not look blocked on a lock held by the committer.nv_drm_handle_display_changewas not called at all during the boot. - Both flip-occurred events arrive together 1 ms after
nv_drm_master_drop()returns, 142 ms after the commit gave up.
So in this path the wait added in 615 can never succeed: __will_generate_flip_event() counts a pending event for a CRTC going active -> inactive (old state active with a framebuffer), the flip is enqueued, and the event for it is only delivered after ownership has been released.
Limits of the trace, to be clear about what it does not show: nvKmsKapiHandleEventQueueChange could not be probed, and the gated probes miss the first 100 ms of the wait. I cannot tell from this whether NVKMS generates the events at releaseOwnership or generates them earlier and only delivers them then.
The greeter's KWin logs Atomic commit failed: Invalid argument at 27.808 and EACCESS at 27.957, right as the commit returns.
Workaround in use
A local patch that makes the timeout a module parameter (flip_timeout_ms, default 3000) and does not WARN on the late event after a timeout. With flip_timeout_ms=250 the login delay drops from 6 s to 0.5 s and nothing else changes; the "Flip event timeout" lines are still logged. The trace above was taken with the value set back to 3000, so the wait is the stock behaviour.
Suggestion
For commits that disable a CRTC (at least the nv_drm_master_drop() -> disable-all path), either do not wait on that CRTC's flip_list, or do not enqueue a flip that NVKMS will not signal before the commit returns.
I can provide the full trace output if it helps.
Another data point: clean A/B on the same kernel, 620.70.06 regresses, 615.78.08 is fine
System: RTX 4070 (AD104), nvidia-open, Arch/CachyOS kernel 7.3.3 (linux-cachyos-bore-lto), 2× DisplayPort 2560x1440 (180 Hz + 200 Hz, both VRR-capable), Intel UHD 770 iGPU also active (i915). SDDM (X11 greeter) → Hyprland.
620.70.06, nvidia_drm.fbdev=1: every boot, Flip event timeout on head 0 then on head 1, ~3 s each, at the first modeset after fbcon. SDDM's Xorg stalls ~6 s right after Detected PCI Express Link width (display server ready in ~7 s instead of ~1 s). At login Hyprland shows a black screen for ~7.5 s with the same two timeouts.
What I tried on 620.70.06:
nvidia_drm.fbdev=0: Xorg ready in 0.9 s, but at the Hyprland login there's still 1 timeout, plus 2 more later withnv_flip == NULLwarnings.fbdev=1+nvidia_modeset.conceal_vrr_caps=1: identical timeouts, so it's not VRR.
615.78.08 (nvidia-open-dkms) built on the same 7.3.3 kernel, fbdev=1: zero flip timeouts, both at boot and at the Hyprland login. Xorg ready in 0.98 s. 615.78.08 on kernel 7.3.0 is clean as well.
So in my case the regression is between 615.78.08 and 620.70.06, not in 615.71.09. A second machine (RTX 2060 SUPER, single DP monitor, 620.70.06, fbdev=1) showed only one timeout on the very first boot and none since, so multi-head seems to matter.
The lock-order analysis in gulafaran/open-gpu-kernel-modules (commit 77d0189, "handle display events off the NVKMS event thread") matches this pattern: blocking commits waiting 3 s per head.
620.70.06: flip completion events arrive 1–26 s late during a running session — stale frames until something forces a repaint (KDE Plasma 6.8.2 Wayland, RTX 3060, 2× DP)
First, thanks for the code-level analysis of the 615 flip-wait change — it made this tractable. Adding a 620.70.06 data point, but the symptom is not teardown-scoped, so it may be a second manifestation of the same delivery problem.
System
- Arch Linux (rolling), kernel
7.3.4-arch1-1(stock) nvidia-open-dkms 620.70.06-1,nvidia-utils 620.70.06-1,lib32-nvidia-utils 620.70.06-1- GeForce RTX 3060 (GA106,
10de:2504), no iGPU in use - 2× DisplayPort, both [email protected] (
DP-1,DP-2); VRR reported "incapable", no VRR policy configured - KDE Plasma 6.8.2 / kwin 6.8.2 Wayland, SDDM Wayland greeter (the greeter is affected too)
nvidia_drm.modeset=1(default), nofbdev=1, no custom KMS parameters
Symptom
Not a hang. Frames compose normally and input is processed, but nothing reaches the display: the cursor and window content stay frozen until something forces a full-screen repaint (e.g. pressing Super to open the application launcher), at which point roughly one second of live frames appears, then it stalls again. nvidia-smi keeps working throughout. No Xid, no NVRM errors, GPU never falls off the bus — so this is not a GPU fault.
Logs
Timestamps UTC; hostname, username, home paths, MAC/IP/UUID and board identifiers redacted.
[same boot, nvidia-open-dkms 620.70.06, kernel 7.3.4-arch1-1]
17:52:01 nvidia 620.70.06 loads, nvidia-drm initialised on minor 1
17:52:11 [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800] Flip event timeout on head 0
17:52:14 [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800] Flip event timeout on head 1
^ this pair happens while the SDDM greeter is on screen, before any user session exists
18:02:11 kwin_wayland starts (drm backend)
18:02:20 onwards: "Pageflip timed out! This is a bug in the nvidia-drm kernel driver" ×104
over ~5.5 min, 83 of them exactly 1 s apart (KWin's own present timeout)
The part I have not seen reported in this thread: the flip events do arrive, seconds late.
2026-11-13T18:02:23.945163+00:00 kwin_wayland[1217]: Pageflip arrived after all, 3974ms after the commit
2026-11-13T18:02:31.571808+00:00 kwin_wayland[1217]: Pageflip arrived after all, 7601ms after the commit
2026-11-13T18:03:10.651987+00:00 kwin_wayland[1217]: Pageflip arrived after all, 5161ms after the commit
2026-11-13T18:03:41.972143+00:00 kwin_wayland[1217]: Pageflip arrived after all, 26081ms after the commit
2026-11-13T18:03:44.372255+00:00 kwin_wayland[1217]: Pageflip arrived after all, 2028ms after the commit
2026-11-13T18:03:52.518857+00:00 kwin_wayland[1217]: Pageflip arrived after all, 2881ms after the commit
2026-11-13T18:04:41.573029+00:00 kwin_wayland[1217]: Pageflip arrived after all, 23948ms after the commit
2026-11-13T18:05:01.012564+00:00 kwin_wayland[1217]: Pageflip arrived after all, 17761ms after the commit
2026-11-13T18:05:10.159348+00:00 kwin_wayland[1217]: Pageflip arrived after all, 1241ms after the commit
2026-11-13T18:05:30.799383+00:00 kwin_wayland[1217]: Pageflip arrived after all, 3628ms after the commit
2026-11-13T18:05:54.039520+00:00 kwin_wayland[1217]: Pageflip arrived after all, 8988ms after the commit
2026-11-13T18:06:45.266456+00:00 kwin_wayland[1217]: Pageflip arrived after all, 1774ms after the commit
2026-11-13T18:07:15.279942+00:00 kwin_wayland[1217]: Pageflip arrived after all, 5321ms after the commit
2026-11-13T18:07:44.268082+00:00 kwin_wayland[1217]: Pageflip arrived after all, 18016ms after the commit
2026-11-13T18:07:52.920127+00:00 kwin_wayland[1217]: Pageflip arrived after all, 2494ms after the commit
2026-11-13T18:02:20.970267+00:00 kwin_wayland[1217]: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
2026-11-13T18:02:21.970690+00:00 kwin_wayland[1217]: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
2026-11-13T18:02:22.970791+00:00 kwin_wayland[1217]: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
So here the waiter that gives up is KWin's 1 s present timeout, not the driver's blocking-commit wait — after which the compositor retries, and each retry times out too. The gaps in the failure pattern (8 s, 17 s, 19 s, 26 s, 27 s, 38 s, 51 s) are the windows where presentation briefly worked.
A/B on the same kernel
| boot | kernel | driver | kernel Flip event timeout |
KWin Pageflip timed out |
KWin late arrivals |
|---|---|---|---|---|---|
| -5 … -2 | 7.2.15 | 615.78.08 | 0 | 0 | 0 |
| -1 | 7.3.4 | 620.70.06 | 2 (head 0 + head 1) | 104 | 15 (≤26 s) |
| 0 | 7.3.4 | 615.78.08 | 0 | 0 | 0 |
615.78.08 was rebuilt via DKMS against the same 7.3.4-arch1-1 kernel; kwin 6.8.2-2 and mesa 26.2.7-1 were identical on both sides (neither was touched by the update). Rolling back to 615.78.08 removed the symptom immediately, so the driver branch is the only variable.
Notes
- Other 620.70.06 reports with the same
Flip event timeout on head N+nv_flip == NULLsignature: openSUSE #1289654 (compositor freezes 5–10 s at boot, rolled back to 595) and the 620 release feedback thread, post 7 — but those are transition-scoped (boot / login / monitor DPMS / hibernate) and recover. Mine is continuous while the session runs. - Not VRR-related: the displays report VRR incapable.
- Two active heads seem to be required; the failure hits both, ~3 s apart, at the same points where others report teardown timeouts.
- Happy to run kretprobes similar to the trace in this thread (
nv_drm_event_callback,nv_drm_handle_flip_occurred,nv_drm_atomic_committiming) on 620.70.06, to help isolate whether NVKMS emits these events late or delivers them late.
620.70.06: stack dumps, an A/B test and an nvidia-drm-only patch for the content protection lock cycle
I wrote this comment and the patch with an AI assistant (Claude Code). I ran the tests on my machine and counted every number below from their kernel logs and stack dumps, which I can share. The code references are checked against the 620.70.06 sources.
rylos linked gulafaran/open-gpu-kernel-modules@77d0189 above; its commit message describes the same cycle. The patch here is smaller: it changes only nvidia-drm and adds no NVKMS ioctl, but it also leaves the MST case alone (see the end).
This cycle is not the nv_drm_master_drop() path novuskeylabs traced. In their trace the nvidia-modeset thread was not seen sleeping during the wait; here it is blocked on mode_config.mutex (stacks below). That path needs fbdev=0. I run fbdev=1, where nv_drm_master_drop() does not disable the outputs, and the patch does not touch it. From the code, this cycle does not depend on the fbdev setting, but I have only tested fbdev=1.
NVIDIA Open GPU Kernel Modules Version
620.70.06 (CachyOS nvidia-open-dkms 620.70.06-2), plus one unrelated local patch that defers the fbdev resume after system resume. It does not run on the monitors-off path. Both test runs below and the attached report carry it.
Proprietary driver
- [ ] Not tested with the proprietary package. The affected code is in nvidia-drm, which both packages share.
Operating System and Version
CachyOS (rolling)
Kernel Release
Linux 7.3.4-1-cachyos #1 SMP PREEMPT_DYNAMIC Thu, 12 Nov 2026 08:16:20 +0000 x86_64 GNU/Linux (distribution kernel)
- [x] I am running on a stable kernel release.
Hardware: GPU
GPU 0: NVIDIA GeForce RTX 4080 SUPER
Describe the bug
Three tasks wait on each other:
- A blocking atomic commit holds
mode_config.connection_mutexand waits innv_drm_atomic_commit()for a flip event. - The event thread (
nvidia-modeset/kthread_q), the only thread that delivers flip events, is blocked onmode_config.mutexinnv_drm_handle_display_cp_topology_change()ornv_drm_handle_display_cp_change(). - The content protection (CP) work item,
nv_drm_handle_content_protection_event_work(), holdsmode_config.mutexand waits forconnection_mutex, which the commit holds.
After 3 s the commit logs the timeout, completes its queued flips itself and returns, which releases connection_mutex. The work item and the event thread then run, and the stale flip event hits the nv_flip == NULL WARN (nvidia-drm-crtc.h:371). With drm.debug=0x4, the Content Protection property uevent follows the timeout within 15 to 154 µs and the nv_flip == NULL WARN within 139 to 508 µs, in all 38 timeouts of the unpatched test run below.
Task stacks taken while a monitors-off commit was waiting:
niri D
nv_drm_atomic_commit+0x9b4/0xab0 [nvidia_drm]
drm_atomic_commit+0xc3/0xf0
drm_mode_atomic_ioctl.cold+0x34c/0x5d2
nvidia-modeset/kthread_q D
nv_drm_handle_display_cp_topology_change+0x2d/0x90 [nvidia_drm]
nv_drm_event_callback+0x52/0xb0 [nvidia_drm]
nvKmsKapiHandleEventQueueChange+0x143/0x1e0 [nvidia_modeset]
_main_loop+0xbd/0x140 [nvidia_modeset]
kworker/3:2+events D
drm_modeset_lock.cold+0xa/0x57
nv_drm_handle_content_protection_event_work+0x59/0xf0 [nvidia_drm]
process_scheduled_works+0x21e/0x6a0
To check whether your timeouts are this cycle, run echo w > /proc/sysrq-trigger during the 3 s stall and look for nv_drm_handle_content_protection_event_work in a blocked kworker.
The CP work item is new in 620.70.06; 615.71.09 and 615.78.08 do not have it. In 615.78.08 the CP handlers already took mode_config.mutex on the event thread, but nvidia-drm had no work item that held it while waiting for connection_mutex. That fits the A/B reports here where 615.78.08 is clean.
NVKMS sends these CP events even with HDCP off (Content Protection = Undesired), and on my machine they fire when a DP link drops or retrains. My timeouts cluster at monitor power-off, suspend entry, the first modeset at boot and after resume, and output reconfiguration, which overlaps with the triggers Waltherion, broady and rylos report. I have no debug log or stacks for the boot episodes yet. The blocking commit can also come from the kernel's fbdev client; I saw that once, at the VT switch on suspend entry.
To Reproduce
Preconditions: nvidia_drm.modeset=1 fbdev=1, niri, two DisplayPort monitors on the NVIDIA GPU (5120x1440@120 and 3840x2560@120), HDCP not requested.
niri msg action power-off-monitors- wait 15 s
niri msg action power-on-monitors- wait 10 s, repeat
Bug Incidence
Sometimes: about half of the monitors-off cycles (counts under More Info).
nvidia-bug-report.log.gz
nvidia-bug-report-redacted.log.gz
Taken on a boot without the patch, right after 10 monitors-off cycles, 4 of which had a flip timeout. Host and user names, machine ID, MAC address, system and GPU UUIDs, GPU PDI, the key ID of my own Secure Boot key, the EFI partition serial and the serial numbers of the monitors (including those in their EDIDs), memory modules, PCIe and USB devices are replaced with random values in this file, and the binary nvidia-debugdump -D output, which contains the GPU UUID, is removed. Everything else is as nvidia-bug-report.sh wrote it. (Edited: replaced the attachment, the first upload still had some of these identifiers.)
More Info
Fix
The event thread must not wait for DRM locks, because a commit holding them may be waiting for that thread. The patch:
- drops
mode_config.mutexfromnv_drm_handle_display_cp_change(),nv_drm_handle_display_cp_topology_change()andnv_drm_handle_display_change(). The last one runs on the same thread and can close the same cycle. Encoders are added and removed only undernv_dev->lock(at device load, by the event thread, and at unload after event handling is disabled), and the event callback holds that lock, so the encoder lookup needs no DRM lock; - adds a driver mutex
cp_lockthat protects the per-connector CP state and pending flags; - stores the CP topology in the connector and leaves the property update to the work item, as is already done for the CP state;
- makes the work item take only
connection_mutex, thencp_lock, and makes the commit path takecp_lockaroundnv_drm_connector_update_content_protection(). The order is alwaysconnection_mutexbeforecp_lock.
It applies to the unmodified 620.70.06 sources and builds against 7.3.4-1-cachyos.
Test
60 monitors-off cycles per driver on the same machine, with task stacks dumped 1 s and 2 s after every power-off:
| 620.70.06 | 620.70.06 + patch | |
|---|---|---|
| Flip timeouts at power-off | 31 in 29 of 60 cycles | 0 of 60 cycles |
| Cycles whose 1 s stack dump shows the cycle | 29 of 60 | 0 of 60 |
| Flip timeouts when the 5120x1440 monitor reconnected at power-on | 7 | none (it never reconnected) |
nv_flip == NULL WARNs |
38 | 0 |
The 29 cycles in the stack row are exactly the 29 with a power-off timeout. The power-off CP events fired in every patched cycle and no longer led to a timeout. The patched boot's kernel log has no new warnings or errors.
Not covered:
- The 5120x1440 monitor dropped and reconnected at every unpatched power-on and never in the patched run, so the 7 power-on timeouts have no patched comparison. The unpatched run started right after I switched the monitor's picture-by-picture mode over DDC/CI, which may have left it in a different state. The data cannot rule out the patch as the reason.
- This kernel has no lockdep, so the new lock order and the
lockdep_assert_held()in the patch are checked only by reading the code. - Nothing requested HDCP, so the
cp_lockpath innv_drm_atomic_apply_modeset_config()never ran.nv_drm_handle_display_change()ran on the patched driver only around six resumes (about 14 hotplugs, no timeouts). After one of them the 5120x1440 monitor stayed disconnected until the next resume; I have not found out why. nv_drm_handle_dynamic_display_connected()(MST) still takesmode_config.mutexon the event thread, throughnv_drm_add_encoder(). gulafaran@77d0189 handles this case too; this patch does not, and I have no MST setup to test it.- One machine. Not tested against the in-session late flips SPWizard01 reports.
Patch against 620.70.06
diff --git a/kernel-open/nvidia-drm/nvidia-drm-connector.c b/kernel-open/nvidia-drm/nvidia-drm-connector.c
index c830c33..8f8b49a 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-connector.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-connector.c
@@ -1114,7 +1114,7 @@ bool nv_drm_connector_revoke_permissions(struct drm_device *dev,
}
/*
- * The caller must hold dev->mode_config.mutex (for nv_connector->cp) and
+ * The caller must hold nv_drm_device::cp_lock (for nv_connector->cp) and
* dev->mode_config.connection_mutex (for calling drm_hdcp_update_content_protection).
*/
void nv_drm_connector_update_content_protection(struct nv_drm_connector *nv_connector)
@@ -1128,7 +1128,7 @@ void nv_drm_connector_update_content_protection(struct nv_drm_connector *nv_conn
bool update_cp = false;
unsigned int cp_val;
- WARN_ON(!mutex_is_locked(&dev->mode_config.mutex));
+ lockdep_assert_held(&to_nv_device(dev)->cp_lock);
WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex));
state = connector->state;
@@ -1163,6 +1163,10 @@ void nv_drm_connector_update_content_protection(struct nv_drm_connector *nv_conn
#endif
}
+/*
+ * The caller must hold dev->mode_config.connection_mutex, which protects the
+ * connector state that holds the topology blob.
+ */
int nv_drm_connector_update_topology_property(struct nv_drm_connector *nv_connector,
const void *topology)
{
@@ -1174,6 +1178,8 @@ int nv_drm_connector_update_topology_property(struct nv_drm_connector *nv_connec
struct nv_drm_device *nv_dev = to_nv_device(dev);
int ret;
+ WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex));
+
ret = drm_property_replace_global_blob(dev,
&nv_state->hdcp_topology_blob,
NVKMS_HDCP_TOPOLOGY_SIZE,
diff --git a/kernel-open/nvidia-drm/nvidia-drm-connector.h b/kernel-open/nvidia-drm/nvidia-drm-connector.h
index 2ab433e..ca1c577 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-connector.h
+++ b/kernel-open/nvidia-drm/nvidia-drm-connector.h
@@ -55,6 +55,8 @@ struct nv_drm_connector {
enum NvKmsContentProtection cp;
bool cp_event_pending;
+ NvU8 cp_topology[NVKMS_HDCP_TOPOLOGY_SIZE];
+ bool cp_topology_pending;
atomic_t connection_status_dirty;
diff --git a/kernel-open/nvidia-drm/nvidia-drm-drv.c b/kernel-open/nvidia-drm/nvidia-drm-drv.c
index 486731e..b89591e 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-drv.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-drv.c
@@ -814,13 +814,23 @@ static void nv_drm_handle_content_protection_event_work(struct work_struct *work
struct drm_connector *connector;
struct drm_connector_list_iter conn_iter;
- mutex_lock(&dev->mode_config.mutex);
+ /*
+ * Take only connection_mutex. Holding mode_config.mutex while waiting for
+ * it blocks the nvkms event thread, wherever that thread needs
+ * mode_config.mutex, behind a commit that waits for a flip event from it.
+ */
drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);
+ mutex_lock(&nv_dev->cp_lock);
drm_connector_list_iter_begin(dev, &conn_iter);
drm_for_each_connector_iter(connector, &conn_iter) {
struct nv_drm_connector *nv_connector = to_nv_connector(connector);
+ if (nv_connector->cp_topology_pending) {
+ nv_connector->cp_topology_pending = false;
+ nv_drm_connector_update_topology_property(nv_connector,
+ nv_connector->cp_topology);
+ }
if (nv_connector->cp_event_pending) {
nv_connector->cp_event_pending = false;
nv_drm_connector_update_content_protection(nv_connector);
@@ -829,8 +839,8 @@ static void nv_drm_handle_content_protection_event_work(struct work_struct *work
drm_connector_list_iter_end(&conn_iter);
+ mutex_unlock(&nv_dev->cp_lock);
drm_modeset_unlock(&dev->mode_config.connection_mutex);
- mutex_unlock(&dev->mode_config.mutex);
}
static int nv_drm_dev_load(struct drm_device *dev)
@@ -2200,6 +2210,7 @@ void nv_drm_register_drm_device(const struct NvKmsKapiGpuInfo *gpu_info)
nv_dev->gpu_mig_device = gpu_info->migDevice;
mutex_init(&nv_dev->lock);
+ mutex_init(&nv_dev->cp_lock);
/* Allocate DRM device */
diff --git a/kernel-open/nvidia-drm/nvidia-drm-encoder.c b/kernel-open/nvidia-drm/nvidia-drm-encoder.c
index e3ff2ca..2160547 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-encoder.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-encoder.c
@@ -261,6 +261,13 @@ done:
return ret != 0 ? ERR_PTR(ret) : encoder;
}
+/*
+ * The display change and content protection handlers call this from the
+ * nvkms event thread, the only thread that delivers flip events, so they must
+ * not wait for DRM locks: a blocking commit holds them while it waits for a
+ * flip event. Encoders are added only before event handling is enabled or by
+ * this thread, so the list walk needs no lock.
+ */
static inline struct nv_drm_encoder*
get_nv_encoder_from_nvkms_display(struct drm_device *dev,
NvKmsKapiDisplay hDisplay)
@@ -284,12 +291,8 @@ void nv_drm_handle_display_change(struct nv_drm_device *nv_dev,
struct drm_device *dev = nv_dev->dev;
struct nv_drm_encoder *nv_encoder = NULL;
- mutex_lock(&dev->mode_config.mutex);
-
nv_encoder = get_nv_encoder_from_nvkms_display(dev, hDisplay);
- mutex_unlock(&dev->mode_config.mutex);
-
if (nv_encoder == NULL) {
return;
}
@@ -306,10 +309,8 @@ void nv_drm_handle_display_cp_change(struct nv_drm_device *nv_dev,
struct drm_device *dev = nv_dev->dev;
struct nv_drm_encoder *nv_encoder = NULL;
- mutex_lock(&dev->mode_config.mutex);
nv_encoder = get_nv_encoder_from_nvkms_display(dev, hDisplay);
if (nv_encoder == NULL) {
- mutex_unlock(&dev->mode_config.mutex);
return;
}
@@ -317,9 +318,10 @@ void nv_drm_handle_display_cp_change(struct nv_drm_device *nv_dev,
* Defer the DRM content protection update to a workqueue so that it
* doesn't block flip events while waiting for dev->mode_config.connection_mutex.
*/
+ mutex_lock(&nv_dev->cp_lock);
nv_encoder->nv_connector->cp = cp;
nv_encoder->nv_connector->cp_event_pending = true;
- mutex_unlock(&dev->mode_config.mutex);
+ mutex_unlock(&nv_dev->cp_lock);
schedule_delayed_work(&nv_dev->content_protection_event_work, 0);
}
@@ -330,17 +332,19 @@ void nv_drm_handle_display_cp_topology_change(struct nv_drm_device *nv_dev,
struct drm_device *dev = nv_dev->dev;
struct nv_drm_encoder *nv_encoder = NULL;
- mutex_lock(&dev->mode_config.mutex);
-
nv_encoder = get_nv_encoder_from_nvkms_display(dev, hDisplay);
if (nv_encoder == NULL) {
NV_DRM_DEV_LOG_ERR(nv_dev, "Encoder not found for display %d", hDisplay);
- goto out;
+ return;
}
- nv_drm_connector_update_topology_property(nv_encoder->nv_connector, topology);
-out:
- mutex_unlock(&dev->mode_config.mutex);
+ /* Updating the property needs connection_mutex, so defer it as well. */
+ mutex_lock(&nv_dev->cp_lock);
+ memcpy(nv_encoder->nv_connector->cp_topology, topology,
+ NVKMS_HDCP_TOPOLOGY_SIZE);
+ nv_encoder->nv_connector->cp_topology_pending = true;
+ mutex_unlock(&nv_dev->cp_lock);
+ schedule_delayed_work(&nv_dev->content_protection_event_work, 0);
}
void nv_drm_handle_dynamic_display_connected(struct nv_drm_device *nv_dev,
diff --git a/kernel-open/nvidia-drm/nvidia-drm-modeset.c b/kernel-open/nvidia-drm/nvidia-drm-modeset.c
index 5697b7b..cb99d71 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-modeset.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-modeset.c
@@ -518,7 +518,9 @@ nv_drm_atomic_apply_modeset_config(struct drm_device *dev,
for_each_new_connector_in_state(state, connector, connector_state, j) {
if (connector->state->content_protection == DRM_MODE_CONTENT_PROTECTION_DESIRED) {
+ mutex_lock(&nv_dev->cp_lock);
nv_drm_connector_update_content_protection(to_nv_connector(connector));
+ mutex_unlock(&nv_dev->cp_lock);
}
}
}
diff --git a/kernel-open/nvidia-drm/nvidia-drm-priv.h b/kernel-open/nvidia-drm/nvidia-drm-priv.h
index 6120401..f0191b5 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-priv.h
+++ b/kernel-open/nvidia-drm/nvidia-drm-priv.h
@@ -154,6 +154,14 @@ struct nv_drm_device {
struct delayed_work hotplug_event_work;
struct delayed_work content_protection_event_work;
+
+ /*
+ * Protects the content protection fields of every nv_drm_connector (cp,
+ * cp_event_pending, cp_topology, cp_topology_pending). Taken after
+ * connection_mutex and never held while waiting for a DRM lock, so the
+ * nvkms event thread can take it.
+ */
+ struct mutex cp_lock;
atomic_t enable_event_handling;
/**
Another data point: clean on 615.78.08, regressed on 620.70.06, on the same machine.
System
- GPU: RTX 4080 (AD103, 10de:2704), nvidia-open
- Board: ASUS TUF GAMING X670E-PLUS WIFI, BIOS 4005
- Distro: CachyOS, kernel linux-cachyos-bore (7.2.10 → 7.3.3/7.3.4)
- KDE Plasma 6.8.2, kwin 6.8.2 (Wayland), systemd 262.2
- Module options:
nvidia_drm modeset=1,nvidia NVreg_PreserveVideoMemoryAllocations=1 - Sleep: S3 (
deep) via systemd-suspend. The nvidia-utils drop-in (SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false) is in place. - Displays, both DisplayPort:
- DP-1: 3440x1440 @ 144 Hz, VRR Automatic. It drops off as a hotplug event when it enters standby.
- DP-2: 3840x2160 @ 60 Hz, scale 1.5, no VRR.
Before/after (kernel log, per boot)
| Driver | Kernel | Boots | Flip event timeout |
|---|---|---|---|
| 615.78.08 | 7.2.10 | 29 | 0 on every boot |
| 620.70.06 | 7.3.3 / 7.3.4 | 17 | 3–26 on every boot |
| 615.78.08 (rolled back) | 7.2.10 | so far, including suspend/resume | 0 |
The driver and kernel were upgraded together, but other reports here show 615.78.08 clean on 7.3.3, which points at the driver.
Symptoms on 620.70.06
- Each display reconfiguration logs
Flip event timeout on head 0, thenhead 1about 3 s later, each followed by thenv_flip == NULLWARN below. Reconfigurations include KWin startup, DPMS off and on, suspend entry and resume, and KWin restart. - Suspend entry is delayed by about 6 s (2 × 3 s timeouts) before
PM: suspend entry. - Most resumes survived. One idle auto-suspend never finished resuming. Tasks restarted, then nvidia-modeset reported a lost display notification,
PM: suspend exitwas never logged, systemd-sleep never returned, and only a hard reset recovered it:
12:32:02.806 systemd-sleep: Performing sleep operation 'suspend'...
12:32:02.806 PM: suspend entry (deep)
13:04:20.833 ACPI: PM: Waking up from system sleep state S3
13:04:20.835 Restarting tasks: Done
13:04:26.266 nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
(no "PM: suspend exit"; the journal ends at 13:05:43; hard reset)
WARN (identical every time)
nv_flip == NULL
WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_event+0x1f8/0x210 [nvidia_drm], CPU#1: nvidia-modeset//1081
Tainted: [O]=OOT_MODULE
Call Trace:
<TASK>
nv_drm_event_callback+0xaa/0xb0 [nvidia_drm]
nvKmsKapiHandleEventQueueChange+0xf4/0x150 [nvidia_modeset]
_main_loop+0x111/0x170 [nvidia_modeset]
kthread+0xe6/0x120
ret_from_fork+0x294/0x330
ret_from_fork_asm+0x1a/0x30
</TASK>
Workaround: pinned 615.78.08 with kernel 7.2.10, which gives 0 timeouts and clean suspend/resume so far. I also set POWERDEVIL_NO_DDCUTIL=1 (see #1371). I can go back to 620.70.06 temporarily to collect nvidia-bug-report.sh if that's useful.
Another one https://forums.developer.nvidia.com/t/bug-open-driver-version-620-70-06-rtx-4070-ti-kwin-wayland-6-8-3-crash-with-kernel-7-3-4-in-two-monitor-setup/389242
Hey nvidia staff, it'd be nice to know that you're aware of this issue, if you could spare a few seconds just to post here real quick.
Still broken in the new driver https://forums.developer.nvidia.com/t/620-release-feedback-discussion/388030/74
If a dev doesn't reply here soon, I'll take that as indication that this bug report has not been seen, and ping someone.
Confirming the content-protection lock cycle described by im0nKeY84 on a second setup, with stack traces.
Setup: RTX 3070, 4 monitors (DP-1, DP-2, DP-3, HDMI-A-1, one rotated), CachyOS kernel 7.3.4-1-cachyos (clang + ThinLTO), 620.70.06 open modules, KDE Plasma 6.8.2 / KWin Wayland. Modules built with PR #1555 applied, which doesn't touch this path.
On my machine it only happens at cold boot, ~11 s after power-on, when KWin does its first modeset. DPMS off/on does not reproduce it here. It's intermittent: 1 failing boot out of 3 captured today.
I ran sysrq-w every 2 s during boot. On the failing boot, the same three tasks are in D state in every dump from 18:30:46 to 18:30:54, and they're gone at 18:30:56, right after the third flip timeout:
- kworker/2:1 (pid 103): nv_drm_handle_content_protection_event_work+0x59 -> drm_modeset_lock -> __ww_mutex_lock
- nvidia-modeset/ (pid 699): nvKmsKapiHandleEventQueueChange -> nv_drm_event_callback -> nv_drm_handle_display_cp_topology_change+0x2d -> __mutex_lock
- kwin_wayland (pid 888): drm_mode_atomic_ioctl -> nv_drm_atomic_commit+0x9a4 -> schedule_timeout
Flip event timeouts: head 1 at 18:30:48, head 2 at :51, head 3 at :54.
Trimmed excerpt attached (first dump + timeouts). I'd be glad to test your CP patch on this setup.
Another data point, on arm64 (RTX Spark N1X) with 620.73.04, triggered by a USB4 dock replug rather than compositor exit:
- Hardware: ASUS ProArt P16 H7607BA, integrated GPU
10de:2e06(GB20B); CalDigit TS5 Plus dock with a Dell U4025QW on DisplayPort tunnelled over USB4. - Software: open kernel modules 620.73.04, kernel 7.3 (Omarchy N1X patches), Ubuntu 26.04, GNOME 50 / mutter 50.1 Wayland,
nvidia_drm.modeset=1. - Trigger: unplug the dock, plug it into another port, then back into the original. About 9 s after the DP sink came back:
[drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x000f0100] Flip event timeout on head 0 WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_event+0x218/0x290 [nvidia_drm], CPU#13: nvidia-modeset//493 __nv_drm_handle_flip_event+0x218/0x290 [nvidia_drm] nv_drm_handle_flip_occurred+0x64/0xf0 [nvidia_drm] nv_drm_event_callback+0x160/0x198 [nvidia_drm] nvKmsKapiHandleEventQueueChange+0x84/0xc0 [nvidia_modeset] _main_loop+0xa4/0x190 [nvidia_modeset] - Effect: the desktop glitched and the external display came up again. Unrelated to compositor exit or suspend: s2idle suspend/resume on the same setup is clean.
Data point on 620.73.04: triggered by DPMS wake with no suspend, similar to broady's and GlCap's reports. Also seen on 620.70.06.
System
- RTX 5070 Ti (GB203), open kernel modules 620.73.04, kernel 7.3.5-2-cachyos (CachyOS)
- KDE Plasma / KWin 6.8.3, Wayland;
nvidia_drm.modeset=1 fbdev=1 - Two monitors, both direct DP:
- DP-2: Samsung Odyssey G61SD, 2560x1440 @ 240 Hz, HDR, VRR
- DP-3: MSI MAG274QRF, 2560x1440 @ 165 Hz. It drops off DP in standby. With its input auto-scan enabled it also raises a hotplug uevent every ~5 s for as long as the displays are off (974 in 87 min), and KWin re-adds the output each time.
Effect: waking the displays takes ~40 s. The MSI stays black while the Samsung blanks repeatedly. Each reconfiguration costs 2 × 3 s:
22:28:05 wake; DP-3 reported disconnected, DP-2 back at 22:28:08
22:28:16 Flip event timeout on head 0
22:28:19 Flip event timeout on head 1 + WARNING nvidia-drm-crtc.h:371 (nv_flip == NULL)
22:28:19-28 further DP-3 hotplugs
22:28:32 Flip event timeout on head 0
22:28:35 Flip event timeout on head 1 + WARNING
22:28:45 displays settle
With auto-scan disabled, the uevents during standby stop and some wakes are clean (~3.5 s), but the timeouts still occur on other wakes.
Once, the same timeout + WARN pair was followed 5 s later by a NULL-deref oops in ConnectorImpl::ensureMstNodesPoweredUp inside KWin's commit, which left both displays black until a hard reset. Details in #1568 (comment).
The same hardware wakes normally on Windows.
Update 2026-11-28: nvidia_modeset opportunistic_flip_sync=0 does not avoid it. With the parameter active (reads N), kernel 7.3.6-3-cachyos, KWin 6.8.3, and the driver still on 620.73.04, a wake after ~80 min of DPMS off took ~56 s. It had three rounds of head 0 / head 1 timeouts (00:30:43/46, 00:30:59/31:02, 00:31:15/18), each followed by two nv_flip == NULL WARNs, while DP-3 hotplugged every 7–9 s until 00:31:28. No oops this time. The first test run with the parameter had been clean.
This comment was written with Claude (an AI assistant). The logs, timings and tests are from my machine.
I am seeing the same nv_drm_atomic_commit / Flip event timeout signature on a GeForce GTX 1660 Ti Mobile (Turing) with NVIDIA 595.112.07 open kernel modules, Linux 6.18.63 and Niri 26.04 (Wayland) on NixOS.
In one affected boot, I recorded:
- Eight flip event timeouts on head 0, including four between the kernel's suspend-entry and suspend-exit markers.
- Xid 13 graphics exceptions immediately after all three recorded deep-suspend exits. The first process-tagged Xid followed each exit by 17.595 ms, 7.091 ms and 3.824 ms, respectively.
- Shader Program Header 11/18 errors and exceptions involving Ghostty, Niri and Brave graphics channels.
- Five failed atomic modesets (
-11), alongside Niri DRM state-test and connector-cleanup failures. - No
nv_flip == NULLor__nv_drm_handle_flip_eventmatches in the bounded, filtered kernel excerpt.
This differs from the original cold-boot reproduction in #1553 and occurred on an older driver branch. However, #1361 also discusses atomic commit timeouts during suspend, and NixOS/nixpkgs#539036 contains matching shader-header errors, ESR values, atomic modeset failures and flip timeouts after resume.
Would this suspend/resume pattern be useful for investigating internal bug 7126445, or should the Xid 13 and display-timeout combination be tracked separately? In particular, could the observed suspend integration be relevant to the graphics exceptions?
I can provide the filtered kernel and Niri timelines and a reviewed nvidia-bug-report.sh bundle after a fresh reproduction. I have not yet tested the proprietary modules of the same version or established reproducibility across independent boots.
Detailed environment, event timeline and diagnostic evidence
Environment
Incident date: 25 November 2026 (UTC).
| Component | Configuration |
|---|---|
| Laptop | Lenovo, DMI model 82B1 |
| GPU | GeForce GTX 1660 Ti Mobile (Turing) |
| GPU PCI address | 0000:01:00.0 |
| NVIDIA kernel modules | 595.112.07, open flavour |
| Linux kernel | 6.18.63 |
| Distribution | NixOS 26.11.20261114.5d2b81a |
| Compositor | Niri 26.04, Wayland |
| Boot specialisation | nvidia-open |
| Graphics clients | Ghostty 1.4.0, Brave 1.99.57, Niri |
| Internal display | eDP-1, 1920×1080 at 143.998 Hz |
| External display | DP-1, 3440×1440 at 59.973 Hz |
| VRR | Disabled on both displays |
| Suspend mode | deep; /sys/power/mem_sleep reports s2idle [deep] |
| Same-version proprietary comparison | Not yet tested |
| Known-good driver / regression window | Not established |
The software configuration, display modes and module parameters were checked after reboot on the same installation. The connector configuration and modes at the time of the failure have not been independently confirmed. The affected boot itself explicitly records PM: suspend entry (deep).
Suspend integration
The following values were observed after reboot:
PreserveVideoMemoryAllocations: 2
UseKernelSuspendNotifiers: 0
EnableS0ixPowerManagement: 0
EnableGpuFirmware: 18
The following units all reported LoadState=not-found:
nvidia-suspend.service
nvidia-resume.service
nvidia-hibernate.service
According to the 595.112.07 power-management documentation, open modules can preserve video memory through kernel suspend notifiers when NVreg_UseKernelSuspendNotifiers=1 is enabled. When notifiers are disabled, the documentation describes alternative systemd/procfs integration. The absence of these named units does not exclude other distribution-specific hooks, and the effective preservation mechanism has not yet been verified. Numeric parameter values above are reported verbatim, without assuming their meaning.
Expected and observed behaviour
Expected: The display and graphical applications remain usable after deep suspend and resume, without DRM flip timeouts or Xid exceptions.
Observed: A display freeze was reported. The affected boot contains repeated graphics exceptions and DRM failures around suspend/resume transitions. TTY/SSH responsiveness, recovery without reboot, the precise sleep trigger (lid, desktop action or explicit suspend), and the physical connector corresponding to head 0 are unknown.
A separate on-screen observation mentioned a head 1 timeout. All eight timeouts in the specific journal excerpt analysed below concern head 0; the separate observation is not included in these counts.
Event timeline
All timestamps are monotonic seconds from a single affected boot, not wall-clock times or measurements of time spent physically asleep.
| Suspend entry | Flip timeouts before recorded exit | Suspend exit | First process-tagged Xid 13 | Exit-to-Xid interval |
|---|---|---|---|---|
| 8210.973055 | None in excerpt | 8214.151159 | 8214.168754 — Ghostty | 17.595 ms |
| 8243.105255 | 8246.147083; 8249.731055 | 8252.570026 | 8252.577117 — Ghostty | 7.091 ms |
| 8260.320140 | 8263.363107; 8266.883077 | 8269.660216 | 8269.664040 — Ghostty | 3.824 ms |
| 8282.939293 | No further events in excerpt | Not captured | — | — |
Additional events in the recorded intervals:
| Interval | Additional process-tagged Xid 13 entries | Additional flip timeouts | Failed atomic modesets |
|---|---|---|---|
| First | 8214.977026 (Ghostty); 8215.103020 (Niri); 8219.046068 (Brave) | None in excerpt | 8215.112096 |
| Second | 8253.492027 (Ghostty) | 8256.771101; 8259.779073 | 8253.488068; 8259.815364 |
| Third | 8270.509062 (Ghostty) | 8273.795061; 8276.803093 | 8270.505108; 8276.813175 |
In total, the filtered excerpt contains eight process-tagged Xid 13 entries (six Ghostty, one Niri and one Brave), eight flip timeouts and five failed atomic modesets. All three recorded suspend exits were followed by an Xid; this is a within-boot observation, not an independently reproduced 100% failure rate. The fourth suspend-entry marker has no corresponding exit in the bounded excerpt.
Representative kernel log
Hostnames and repeated journal prefixes have been removed; the timestamps and diagnostic messages below are retained from the supplied excerpt.
[ 8214.151159] PM: suspend exit
[ 8214.166174] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 11 Error
[ 8214.166207] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Shader Program Header 18 Error
[ 8214.168754] NVRM: Xid (PCI:0000:01:00): 13, pid=1918, name=.ghostty-wrappe, Graphics Exception: channel 0x00000013, Class 0000c597, Offset 00000000, Data 00000000
[ 8215.103020] NVRM: Xid (PCI:0000:01:00): 13, pid=1676, name=niri, Graphics Exception: channel 0x00000004, Class 0000c597, Offset 00000000, Data 00000000
[ 8215.112096] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset. Error code: -11
[ 8246.147083] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
[ 8252.570026] PM: suspend exit
[ 8252.577117] NVRM: Xid (PCI:0000:01:00): 13, pid=1918, name=.ghostty-wrappe, Graphics Exception: channel 0x00000013, Class 0000c597, Offset 00000000, Data 00000000
Xid signature
| Field | Observed value |
|---|---|
| Xid | 13 |
| Graphics exceptions | Shader Program Header 11 Error; Shader Program Header 18 Error |
| Graphics class | 0000c597 |
| Offset / data | 00000000 / 00000000 |
ESR 0x405848 |
0x80000000 |
ESR 0x405840 (Ghostty/Brave groups) |
0xa2040800 |
ESR 0x405840 (Niri group) |
0x82040000 |
These values are provided to assist driver-side diagnosis. I am not attributing the fault to the named applications solely because their channels appear in the log.
Niri journal correlation
DRM state-test failure on /dev/dri/card1 |
Connector cleanup / atomic commit failure |
|---|---|
| 8253.484404 | 8253.723899 |
| 8270.502831 | 8270.760674 |
Niri reported OS error 22 (EINVAL) and retried compositor creation with an invalid modifier. The NVIDIA kernel modeset error -11 (EAGAIN) is a separate return value. No nv_flip == NULL or __nv_drm_handle_flip_event matches were present in the filtered excerpt; this does not rule out other warnings or blocked-task signatures in the full journal.
Related upstream reports
| Reference | Relevant observation / distinction |
|---|---|
| #1553 | Same flip-timeout message; original case uses 620.70.06, RTX 3070, KWin and four displays, primarily at cold start. Internal NVIDIA bug 7126445. |
| #1361 | Atomic commit timeouts around compositor teardown and suspend on newer driver branches; includes late/NULL flip warnings not observed in my filtered excerpt. |
| NixOS/nixpkgs#539036 | Particularly close symptom match: 595-series driver, post-resume shader-header errors, matching ESR values, -11 modeset failure and flip timeouts. Different GPU and desktop, and some logs include additional Xids. The reporter indicated improved resume with 595.84 and/or changed power-management configuration. |
| #1322 | Xid 13 shader-header errors after hibernation on 610.57.04 and Blackwell; different sleep operation and additional exception details. |
| #1555 | Proposed delayed-flip accounting change; the #1553 reporter stated it did not resolve their cold-boot failure. Not tested on my system. |
The original #1553 reporter also reported that nvidia_modeset.opportunistic_flip_sync=0 did not resolve the cold-boot reproduction. Other configurations have reported partial improvements. This parameter is not exposed by my installed 595.112.07 module; I have not tested it.
Working hypothesis and limitations
The repeated post-resume Xid pattern across multiple graphics clients makes GPU state preservation/restoration a useful area to investigate. The flip timeouts before the recorded exits also make display teardown or resume-time atomic commit handling worth examining independently.
I do not have evidence that these two symptoms share one root cause, that the content-protection lock cycle discussed in #1361 is present here, or that the issue is exclusive to the open kernel modules. A suspend-entry marker does not establish that the machine actually reached the hardware sleep state. Hardware faults and distribution-specific sleep integration have not been ruled out.
Planned isolation tests (not yet performed)
- Record a clean baseline, active GPU/display topology, firmware/MUX mode, power source, sleep configuration and trigger. Verify recovery access before testing.
- Separate display standby/wake (DPMS) from explicit deep suspend/resume. Compare internal-panel-only versus external-display-connected configurations and record attempts, failures, graphical recovery and TTY/SSH availability.
- Verify the effective NVIDIA suspend integration and, where supported, compare a documented alternative configuration while holding driver, kernel and display setup constant.
- Compare open versus proprietary kernel modules of the same 595.112.07 release, keeping userspace and kernel versions matched and recording any necessary suspend-integration differences.
- Test the prepared but not yet booted 620.73.04 open-module configuration. It also changes the kernel to 6.18.64, so this first comparison cannot isolate the driver alone. If the issue reproduces, compare identical 620 configurations with the default
opportunistic_flip_syncvalue and with it set to0, verifying the effective value in sysfs.
Diagnostic evidence available / pending
- Available locally: bounded kernel journal and correlated Niri journal excerpts from one affected boot.
- Pending: reviewed
nvidia-bug-report.log.gzcollected immediately after a fresh failure, complete affected-boot journal, effective suspend hooks/configuration, display/GPU topology at the time of failure and controlled A/B results.
Please let me know whether a particular debug parameter, blocked-task trace, or additional NVIDIA diagnostic would help distinguish this from #1361 and #1553.
Separate observation: Nouveau during installer boot
On the same laptop, a NixOS installer boot with Nouveau enabled produced a black screen. A later installer boot using module_blacklist=nouveau reached a console. This was not a controlled comparison; I have not established a connection to the NVIDIA open-module suspend failure above. I am mentioning it only as separate hardware/platform context, not as evidence for the same bug.
Data point on 620.73.04 with Hyprland: a regression from 615.78.08, seen at session start and again during a system package update that reloads the compositor.
System
- GPU: GeForce RTX 4070 SUPER (AD104, VBIOS 95.04.69.00.E7), open kernel modules 620.73.04
- Kernel 7.3.6 (Omarchy, Arch-based); also seen on 7.2.15 with 620.73.04
- Hyprland 0.57.2 (Wayland),
nvidia_drm.modeset=1 fbdev=1,opportunistic_flip_syncat default (Y) - AMD iGPU present, but all displays are on the NVIDIA card
- Three displays, all direct:
- HDMI-A-1: Samsung 4K TV, 3840x2160@60
- DP-2: LG UltraGear, 3440x1440@240
- DP-3: LG 27GL650F, 1920x1080@144
Regression
Per-boot count of Flip event timeout in the kernel log:
| Driver | Boots | Timeouts |
|---|---|---|
| 615.78.08 | 3 | 0 in each |
| 620.73.04 | 3 | 18, 5, 11 |
It started with the first boot after the upgrade from 615.78.08 to 620.73.04. The same update also brought package rebuilds of hyprland (0.57.2-4 → -5, same upstream version) and the kernel (7.2.15-5 → -6, same version). The signature matches this issue, so I believe the driver is the cause.
Triggers
- Session start: timeouts on heads 1 and 2, 3 s apart, followed by the
WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_eventtrace. - During a package update whose hooks reload Hyprland's config and restart the shell: two pairs (heads 1 and 2, 3 s apart), about 10 s apart. The first pair lines up with the Hyprland reload step. I haven't pinned down what set off the second.
- A few single ones later in the session (heads 0/1), with no clear trigger.
The displays recover without user action after the timeouts, with no compositor crash and no lockup, so this is the 3 s blocking-commit stall rather than a hard hang.
nvidia-drm [GPU ID 0x00000100] Flip event timeout on head 1
nvidia-drm [GPU ID 0x00000100] Flip event timeout on head 2
WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_event+0x1f8/0x210 [nvidia_drm]
nv_drm_event_callback+0xaa/0xb0 [nvidia_drm]
nvKmsKapiHandleEventQueueChange+0xf4/0x150 [nvidia_modeset]
_main_loop+0x111/0x170 [nvidia_modeset]
Can attach nvidia-bug-report.log.gz if useful.