Skip to content

Resume from suspend fails: Xid 119 (GSP RPC timeout) -> oops in nvEvoDisableVblankSemControl -> Xid 154, hard reset required #1271

Open

Description

@m5r

Environment

  • GPU: NVIDIA GeForce RTX 4070 Ti SUPER (AD103, PCI 01:00.0)
  • Driver: 610.43.03, open kernel modules (Arch Linux package nvidia-open-lts 1:610.43.03-8)
  • Kernel: 6.18.40-2-lts
  • Display: X11, i3wm, one 5K monitor
  • Motherboard: ASUS ROG MAXIMUS Z790 HERO, BIOS 3107 (2025-11-28)
  • Suspend configuration: NVreg_PreserveVideoMemoryAllocations=1 and NVreg_TemporaryFilePath=/var/tmp are set. The services nvidia-suspend.service, nvidia-resume.service, and nvidia-hibernate.service are enabled.
  • Other out-of-tree module: v4l2loopback_dc

Summary

The system did not resume from suspend (S3, "deep"). The GSP did not answer RPC calls. The kernel log shows this sequence:

  1. systemd-sleep received three Xid 119 errors (GSP RPC timeout).
  2. The kernel logged two WARNINGs in the driver power path: nv_restore_user_channels (nv.c:4511) and nv_set_system_power_state (nv.c:4804).
  3. The kernel crashed with a null-pointer oops in nvEvoDisableVblankSemControl. The call path was nvResumeDevEvo → nvRevokeDevice → FreeDeviceReference.
  4. The driver reported Xid 154 and set the recovery action to PF FLR.

The monitor showed "no signal" after this. The system stayed reachable over the network. A clean shutdown was not possible: systemd-suspend.service died with SIGKILL, and the user session did not stop. I had to force a power-off.

Timeline

  • 01:05:52 — PM: suspend entry (deep)
  • 11:01:04 — resume starts; first Xid 119 (GSP_RM_CONTROL timeout)
  • 11:01:07 — WARNING in nv_restore_user_channels, then WARNING in nv_set_system_power_state
  • 11:01:52 and 11:02:40 — two more Xid 119 (GSP_RM_ALLOC, GSP_RM_CONTROL)
  • 11:02:43 — oops in nvEvoDisableVblankSemControl+0x34 [nvidia_modeset], then Xid 154 (PF FLR)

Frequency

This is the first occurrence. My journals go back to 2026-07-07. They show five good suspend/resume cycles on the same driver and kernel between 2026-07-28 and 2026-08-01, with zero Xid errors.

Log excerpt

Kernel log: Xid errors, WARNINGs, and the oops with full call trace
2026-08-02T11:01:04+02:00 mokhtar-pc kernel: NVRM: Xid (PCI:0000:01:00): 119, pid=2401636, name=systemd-sleep, Timeout after 7s of waiting for RPC response from GPU0 GSP! Expected function 76 (GSP_RM_CONTROL) sequence 3289812 (0x20800a70 0x0).
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: WARNING: CPU: 13 PID: 2401636 at nvidia/nv.c:4511 nv_restore_user_channels+0x4e/0x1f0 [nvidia]
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Modules linked in: sg tcp_diag inet_diag rfcomm snd_seq_dummy snd_hrtimer snd_seq nf_conntrack_netlink xt_nat veth bridge stp llc xfrm_user xfrm_algo xt_set ip_set xt_addrtype cmac algif_hash algif_skcipher af_alg bnep xt_connmark xt_conntrack xt_MASQUERADE xt_tcpudp xt_mark nft_compat x_tables tun overlay nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink vfat fat snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink intel_rapl_msr snd_sof_intel_hda intel_rapl_common soundwire_cadence snd_sof_pci intel_uncore_frequency snd_sof_xtensa_dsp intel_uncore_frequency_common intel_tcc_cooling snd_sof x86_pkg_temp_thermal ucsi_acpi intel_powerclamp snd_sof_utils tps6598x typec_ucsi snd_soc_acpi_intel_match typec coretemp snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation roles kvm_intel
2026-08-02T11:01:07+02:00 mokhtar-pc kernel:  snd_soc_acpi soundwire_bus snd_soc_sdca kvm crc8 snd_hda_codec_nvhdmi snd_hda_codec_hdmi snd_soc_avs spi_nor iTCO_wdt irqbypass mei_hdcp mei_pxp intel_pmc_bxt spd5118 snd_soc_hda_codec btusb polyval_clmulni mtd iTCO_vendor_support snd_hda_ext_core ghash_clmulni_intel snd_hda_intel aesni_intel btmtk btrtl rapl snd_hda_codec igc btbcm snd_soc_core intel_cstate eeepc_wmi btintel asus_wmi snd_hda_core ptp platform_profile intel_uncore sparse_keymap wmi_bmof pcspkr pps_core bluetooth snd_compress i2c_i801 snd_intel_dspcfg mei_me ac97_bus i2c_smbus spi_intel_pci snd_intel_sdw_acpi mei snd_pcm_dmaengine spi_intel i2c_mux rfkill intel_pmc_core thunderbolt serial_multi_instantiate mousedev joydev pmt_telemetry pmt_discovery snd_usb_audio pmt_class nzxt_smart2 snd_usbmidi_lib intel_pmc_ssram_telemetry pinctrl_alderlake uas acpi_pad acpi_tad snd_hwdep intel_vsec snd_ump snd_rawmidi usb_storage cdc_acm snd_seq_device mac_hid dm_mod nvidia_drm(OE) nvme nvidia_modeset(OE) nvme_core nvme_keyring video intel_lpss_pci
2026-08-02T11:01:07+02:00 mokhtar-pc kernel:  nvme_auth intel_lpss drm_ttm_helper ttm hkdf idma64 vmd wmi nvidia_uvm(OE) nvidia(OE) snd_aloop v4l2loopback_dc(OE) snd_pcm snd_timer videodev snd mc i2c_dev soundcore pkcs8_key_parser crypto_user
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: CPU: 13 UID: 0 PID: 2401636 Comm: systemd-sleep Tainted: G           OE       6.18.40-2-lts #1 PREEMPT(voluntary)  34ea2b7296cec769dfe80dfbbdbb03bd63a84064
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z790 HERO, BIOS 3107 11/28/2025
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: WARNING: CPU: 13 PID: 2401636 at nvidia/nv.c:4804 nv_set_system_power_state.part.0+0x455/0x5f0 [nvidia]
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Modules linked in: sg tcp_diag inet_diag rfcomm snd_seq_dummy snd_hrtimer snd_seq nf_conntrack_netlink xt_nat veth bridge stp llc xfrm_user xfrm_algo xt_set ip_set xt_addrtype cmac algif_hash algif_skcipher af_alg bnep xt_connmark xt_conntrack xt_MASQUERADE xt_tcpudp xt_mark nft_compat x_tables tun overlay nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink vfat fat snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink intel_rapl_msr snd_sof_intel_hda intel_rapl_common soundwire_cadence snd_sof_pci intel_uncore_frequency snd_sof_xtensa_dsp intel_uncore_frequency_common intel_tcc_cooling snd_sof x86_pkg_temp_thermal ucsi_acpi intel_powerclamp snd_sof_utils tps6598x typec_ucsi snd_soc_acpi_intel_match typec coretemp snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation roles kvm_intel
2026-08-02T11:01:07+02:00 mokhtar-pc kernel:  snd_soc_acpi soundwire_bus snd_soc_sdca kvm crc8 snd_hda_codec_nvhdmi snd_hda_codec_hdmi snd_soc_avs spi_nor iTCO_wdt irqbypass mei_hdcp mei_pxp intel_pmc_bxt spd5118 snd_soc_hda_codec btusb polyval_clmulni mtd iTCO_vendor_support snd_hda_ext_core ghash_clmulni_intel snd_hda_intel aesni_intel btmtk btrtl rapl snd_hda_codec igc btbcm snd_soc_core intel_cstate eeepc_wmi btintel asus_wmi snd_hda_core ptp platform_profile intel_uncore sparse_keymap wmi_bmof pcspkr pps_core bluetooth snd_compress i2c_i801 snd_intel_dspcfg mei_me ac97_bus i2c_smbus spi_intel_pci snd_intel_sdw_acpi mei snd_pcm_dmaengine spi_intel i2c_mux rfkill intel_pmc_core thunderbolt serial_multi_instantiate mousedev joydev pmt_telemetry pmt_discovery snd_usb_audio pmt_class nzxt_smart2 snd_usbmidi_lib intel_pmc_ssram_telemetry pinctrl_alderlake uas acpi_pad acpi_tad snd_hwdep intel_vsec snd_ump snd_rawmidi usb_storage cdc_acm snd_seq_device mac_hid dm_mod nvidia_drm(OE) nvme nvidia_modeset(OE) nvme_core nvme_keyring video intel_lpss_pci
2026-08-02T11:01:07+02:00 mokhtar-pc kernel:  nvme_auth intel_lpss drm_ttm_helper ttm hkdf idma64 vmd wmi nvidia_uvm(OE) nvidia(OE) snd_aloop v4l2loopback_dc(OE) snd_pcm snd_timer videodev snd mc i2c_dev soundcore pkcs8_key_parser crypto_user
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: CPU: 13 UID: 0 PID: 2401636 Comm: systemd-sleep Tainted: G        W  OE       6.18.40-2-lts #1 PREEMPT(voluntary)  34ea2b7296cec769dfe80dfbbdbb03bd63a84064
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
2026-08-02T11:01:07+02:00 mokhtar-pc kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z790 HERO, BIOS 3107 11/28/2025
2026-08-02T11:01:52+02:00 mokhtar-pc kernel: NVRM: Xid (PCI:0000:01:00): 119, pid=2401636, name=systemd-sleep, Timeout after 6s of waiting for RPC response from GPU0 GSP! Expected function 103 (GSP_RM_ALLOC) sequence 3289814 (0x20800a70 0x0).
2026-08-02T11:02:40+02:00 mokhtar-pc kernel: NVRM: Xid (PCI:0000:01:00): 119, pid=2401636, name=systemd-sleep, Timeout after 6s of waiting for RPC response from GPU0 GSP! Expected function 76 (GSP_RM_CONTROL) sequence 3289816 (0x20800a70 0x0).
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: NVRM: Xid (PCI:0000:01:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR)
[...]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: BUG: unable to handle page fault for address: 00000000000025f0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: #PF: supervisor read access in kernel mode
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: #PF: error_code(0x0000) - not-present page
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: PGD 0 P4D 0 
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Oops: Oops: 0000 [#1] SMP NOPTI
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: CPU: 13 UID: 0 PID: 2401636 Comm: systemd-sleep Tainted: G        W  OE       6.18.40-2-lts #1 PREEMPT(voluntary)  34ea2b7296cec769dfe80dfbbdbb03bd63a84064
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z790 HERO, BIOS 3107 11/28/2025
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RIP: 0010:nvEvoDisableVblankSemControl+0x34/0xd0 [nvidia_modeset]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Code: 56 41 55 41 54 49 89 f4 55 53 48 8d 5e 10 48 83 ec 08 8b 06 4c 8b b4 c7 c8 02 00 00 49 8d ae 18 26 00 00 4d 8d ae 18 27 00 00 <48> 8b 55 d8 48 8b 43 20 8b 08 48 89 50 10 f0 48 83 0c 24 00 89 48
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RSP: 0018:ffffce0243fcf650 EFLAGS: 00010286
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RAX: 0000000000000000 RBX: ffff8a4166399ed8 RCX: ffff8a4166399ec8
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RDX: 0000000000000000 RSI: ffff8a4166399ec8 RDI: ffffce0240ed9008
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RBP: 0000000000002618 R08: ffff8a3b02bd41f0 R09: ffffce0243fcf69c
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: R10: ffff8a38d0d54000 R11: ffff8a38c0042d00 R12: ffff8a4166399ec8
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: R13: 0000000000002718 R14: 0000000000000000 R15: ffffce0240ed9008
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: FS:  00007fdf8e0a0c80(0000) GS:ffff8a48dc0fa000(0000) knlGS:0000000000000000
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: CR2: 00000000000025f0 CR3: 00000001ebbc1005 CR4: 0000000000f72ef0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: PKRU: 00000000
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Call Trace:
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  <TASK>
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  FreeDeviceReference+0x70/0x1a0 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nvRevokeDevice+0x8c/0x90 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  FreeDeviceReference+0x187/0x1a0 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? console_unlock+0x90/0x120
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nvRevokeDevice+0x8c/0x90 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nvResumeDevEvo+0x125/0x240 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? _printk+0x6b/0x90
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nvKmsResume+0x5c/0xd0 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? down+0x1e/0x70
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nvkms_resume+0x1f/0x50 [nvidia_modeset 2d855566cf6f17c37d6694be7e1d8c8678ed08a0]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nv_set_system_power_state.part.0+0x11c/0x5f0 [nvidia ead25622ec28a510dda9ee6bdcb752e65cc6eab5]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? scx_bypass+0xf0/0x2c0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  nv_pm_notifier+0x35/0xa0 [nvidia ead25622ec28a510dda9ee6bdcb752e65cc6eab5]
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  notifier_call_chain+0x6f/0x100
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  blocking_notifier_call_chain+0x40/0x60
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  pm_suspend.cold+0x2cb/0x35c
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  state_store+0x84/0x100
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  kernfs_fop_write_iter+0x171/0x220
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  vfs_write+0x281/0x570
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ksys_write+0x7b/0x110
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  do_syscall_64+0x83/0x820
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? prep_new_page+0xd3/0x1e0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? get_page_from_freelist+0x3f0/0x1cd0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? audit_reset_context+0x2c1/0x330
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? __audit_syscall_exit+0xa1/0x100
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? __alloc_frozen_pages_noprof+0x199/0x380
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? mod_memcg_lruvec_state+0xc5/0x1f0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? __lruvec_stat_mod_folio+0x85/0xd0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? __folio_mod_stat+0x2d/0x90
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? folio_add_new_anon_rmap+0x73/0x1c0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? do_anonymous_page+0x687/0x9d0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? ___pte_offset_map+0x1b/0x160
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? __handle_mm_fault+0xa5c/0xf10
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? count_memcg_events+0xc2/0x190
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? handle_mm_fault+0x1d7/0x2b0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? do_user_addr_fault+0x23b/0x730
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  ? exc_page_fault+0x8f/0x1d0
2026-08-02T11:02:43+02:00 mokhtar-pc kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RIP: 0033:0x7fdf8d6948de
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: Code: 4d 89 d8 e8 84 bf 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 <c9> c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa
2026-08-02T11:02:43+02:00 mokhtar-pc kernel: RSP: 002b:00007fffc220ae00 EFLAGS: 00000202 ORIG_RAX: 0000000000000001

I sent the full nvidia-bug-report.gz to [email protected] with a link to this issue. I can post the full kernel log of the failure window here on request.

Possibly related: #1125. That report shows a GSP timeout on resume with the open modules. Its reporter states that the proprietary driver of the same version does not show the problem.

Activity

  1. Klagor-Gemini commented on Sep 5, 2026

    @Klagor-Gemini

    Confirming the same crash signature on different hardware:

    Hardware: Lenovo ThinkPad P1 Gen 6 (LENOVO), Intel Core i7-13700H, NVIDIA RTX 2000 Ada (hybrid Intel+NVIDIA graphics)
    Driver: 610.57.04 (open kernel modules, rpmfusion package on Fedora)
    Kernel: 7.1.13-200.fc44.x86_64 (also reproduced on 7.1.9 and 7.1.12)
    OS: Fedora 44
    Desktop: GNOME on Wayland (GDM)

    Same sequence as reported:

    systemd-sleep initiates suspend (s2idle, since this device has no S3/deep-sleep support in firmware — ACPI: PM: (supports S0 S4 S5) only)
    NVRM: gpuPowerManagementEnter: GSP unload failed at suspend ... 0x62
    Cascade of nvAssertFailedNoLog/mmuWalkUnmap/mmuWalkSparsify VA-space errors (~40+ consecutive)
    Xid 154: GPU recovery action changed ... PF FLR
    Eventually a GPF crash in an unrelated subsystem (ip6mr_device_event during network namespace cleanup) ~40 minutes later, requiring a hard power-off — even Magic SysRq REISUB was unresponsive except Emergency Sync

    suspend_stats on the affected boot showed 0 successes, 4 failures, all with the same GSP unload failure. Currently working around this by masking sleep.target/suspend.target system-wide, since it's not just intermittent — for me it's been consistently reproducible.

    Attached

    nvidia-bug-report.log.gz

  2. Jackpot-1 commented on Nov 8, 2026

    @Jackpot-1

    I'm hitting this too, on Ampere instead of Ada. I've got a way to trigger it on demand, plus confirmation it's a genuine unkillable D-state and not just a stuck service.

    Environment

    • GPU: GeForce RTX 3060 (GA106) [10de:2504]
    • Driver: 615.78.08, open kernel modules (NVRM: loading NVIDIA UNIX Open Kernel Module)
    • Kernel 7.2.15-200.fc44.x86_64, Fedora 44, S3 "deep" sleep
    • Compositor: niri (Wayland/DRM-KMS, direct TTY session), same symptom signature as niri-wm/niri#3384, closed there as an NVIDIA driver issue
    • 3 monitors: two Acer G257HU (60 Hz, one on HDMI, one on DP) and one AOC Q27G4N (180 Hz, VRR, on DP) - the AOC is the one involved in the trigger below; the two Acers are not
    • Already had every mitigation from niri#3384 in place (nvidia-suspend/nvidia-resume services, nvidia_drm.modeset=1, nvidia_drm.fbdev=1, NVreg_PreserveVideoMemoryAllocations=1) - none of it prevented this

    A reliable trigger

    Unlike what's described above, I found this reproduces on demand, not just intermittently:

    1. Suspend.
    2. While suspended, physically power off a monitor whose panel actually drops its HPD line when switched off (via its own power button, not just letting it idle into DPMS standby).
    3. Resume.

    The key variable is specifically HPD dropping on power-off, not DP vs. HDMI, and not the monitor model. Of my three monitors, only the AOC Q27G4N (180 Hz, VRR) does this; my two Acer G257HU (60 Hz, one on HDMI, one on DP) don't - powering either of those off instead never reproduces it, since the GPU never sees an actual disconnect, just a monitor that stopped displaying anything.

    The only one that does this is my VRR monitor, the others are just plain 60Hz, so a VRR is your best bet it you're trying to reproduce this, although I don't have a very large sample size so I could be wrong about that. The main thing that matters is if the monitor drops HPD on power off.

    To check whether a given monitor actually does this, independent of model: watch cat /sys/class/drm/card*-<connector>/status (or just dmesg -w) while switching the monitor off with its own power button - if it flips from connected to disconnected (or dmesg logs a hotplug/disconnect event), that monitor is a candidate for reproducing this; if it stays connected, it isn't.

    Every time, this produces:

    nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
    

    and the compositor backend logs, repeatedly, never recovering:

    niri::backend::tty: skipping UdevEvent::Changed as session is inactive
    

    systemd-suspend.service never logs completion for the affected cycle (no "System returned from sleep operation") even waiting several minutes, vs. under a second on every normal resume.

    If this is the same bug, a monitor dropping HPD mid-resume might be a good lead for reproducing it in-house rather than waiting for it to happen spontaneously.

    This looks like genuine D-state, not just a killed process

    Trying to recover by restarting the compositor escalates through systemd's full kill sequence and still fails:

    niri.service: State 'stop-sigterm' timed out. Aborting.
    niri.service: Killing process NNNN (niri) with signal SIGABRT.
    niri.service: State 'stop-watchdog' timed out. Killing.
    niri.service: Killing process NNNN (niri) with signal SIGKILL.
    niri.service: State 'final-sigterm' timed out. Aborting.
    niri.service: Killing process NNNN (niri) with signal SIGABRT.
    niri.service: State 'final-watchdog' timed out. Killing.
    niri.service: Killing process NNNN (niri) with signal SIGKILL.
    niri.service: Processes still around after final SIGKILL. Entering failed mode.
    

    SIGKILL doesn't normally get ignored - that's specific to a process blocked in an uninterruptible kernel sleep. In one test, an unrelated GPU-using process (Discord) was independently stuck the exact same unkillable way at the same time, so it's not specific to the compositor's own code - whatever's blocked is shared/kernel-side. loginctl activate <session>, tried as a recovery nudge during this state, froze the entire SSH connection used to issue it.

    v4l2loopback correlation (controlled, but mechanism unknown)

    Noticed v4l2loopback_dc is listed as present in the original report above - I also had v4l2loopback loaded on every occurrence of this for me, which prompted an actual A/B test rather than assuming coincidence: on an otherwise-identical fresh boot, unloading v4l2loopback (blacklisted + rebuilt out of the initramfs) stopped the trigger above from reproducing across several consecutive attempts; restoring it reproduced it again on the very next attempt. I read all of v4l2loopback's source looking for any DRM/fb-notifier/DMA-BUF/PCI code - there's none, so it's very unlikely to be doing anything to the GPU directly. My best guess is it's incidentally shifting memory layout or timing just enough to tip over an already-marginal race. Two independent reports now with a v4l2loopback-family module present might be worth checking rather than dismissing twice.

    Happy to pull anything else that would help - nvidia-bug-report.sh output, kernel trace of the stuck process if there's a way to get one out of a D-state task, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions