Skip to content

System fails to resume from suspend with NVIDIA GSP heartbeat timeout #1125

Open

Description

@SorenHJohansen

NVIDIA Open GPU Kernel Modules Version

595.58.03-2 (from package nvidia-open-dkms)

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Arch Linux

Kernel Release

6.19.13-arch1-1 SMP PREEMPT_DYNAMIC Tue, 21 Apr 2026 23:38:22 +0000 x86_64 GNU/Linux (stable release)

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 3080 (UUID: GPU-8c983cec-3f59-dd0b-50c0-b0d42da360bb)

Describe the bug

After suspending the system, resume fails with NVIDIA GSP (Graphics System Processor) heartbeat timeout errors, followed by DRM atomic modeset failures. The system becomes unresponsive and requires a hard reset to recover.

To Reproduce

To Reproduce:

  1. Use system normally
  2. Suspend the system
  3. Wait for any duration
  4. Attempt to resume the system
  5. Observe failure to resume properly, requiring hard reset

Bug Incidence

Sometimes

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

The problem appears to be that after the GSP heartbeat times out, the driver fails to properly reset the GPU and restore display configuration, leading to DRM atomic modeset failures.

Key error messages from journalctl:

  • apr 27 18:37:30 kernel: NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3486357473 heartbeat 0 heartbeatWithOffsetMs 0 diff 3486357473 timeout 5200
  • apr 27 18:37:30 kernel: NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
  • apr 27 18:37:31 kernel: [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000a00] Failed to initialize semaphore for plane fence
  • apr 27 18:37:31 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000a00] Failed to apply atomic modeset. Error code: -11

Activity

  1. added
    bug
    on Apr 27, 2026
  2. FrankAllotta commented on Apr 30, 2026

    @FrankAllotta

    I get the same error. Lenovo Legion Pro 7i Gen 10 with an RTX 5080. Happens when my laptop returns from sleep. After this happens, the desktop icons or anything on the desktop for that matter cannot be selected. If you hover over an icon you should see a hover effect. That stops working.

    OS: CachyOS x86_64
    Host: 83F5 (Legion Pro 7 16IAX10H)
    Kernel: Linux 7.0.1-1-cachyos
    Uptime: 5 hours, 19 mins
    Packages: 9 (flatpak), 1488 (pacman)
    Shell: fish 4.6.0
    Display (SDC420B): 2560x1600 @ 1.25x in 16", 240 Hz [Built-in]
    DE: KDE Plasma 6.6.4
    WM: KWin (Wayland)
    WM Theme: Slot-Blur-Dark-Aurorae-6
    Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
    Icons: Slot-Gradient-Dark-Icons [Qt], Slot-Gradient-Dark-Icons []
    Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
    Cursor: Qogir-Light (24px)
    Terminal: konsole 26.4.0
    CPU: Intel(R) Core(TM) Ultra 9 275HX (24) @ 5.40 GHz
    GPU 1: NVIDIA GeForce RTX 5080 Max-Q / Mobile [Discrete]
    GPU 2: Intel Graphics @ 1.90 GHz [Integrated]
    Memory: 6.68 GiB / 30.77 GiB (22%)
    Swap: 0 B / 30.77 GiB (0%)
    Disk (/): 94.81 GiB / 472.94 GiB (20%) - btrfs
    Local IP (enp129s0):
    Battery (L24D4PC1): 79% [AC Connected]
    Locale: en_US.UTF-8

    Apr 29 14:01:30 cachyos-legion kwin_wayland[3611]: Applying output configuration failed!
    Apr 29 14:01:57 cachyos-legion kwin_wayland[3968]: Applying output configuration failed!
    Apr 29 15:52:00 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0051: Failed to write b = 0: -6
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0051: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0051: PM: failed to resume async: error -6
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0053: Failed to write b = 0: -6
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0053: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
    Apr 29 15:52:00 cachyos-legion kernel: spd5118 20-0053: PM: failed to resume async: error -6
    Apr 29 15:52:00 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    Apr 29 15:52:00 cachyos-legion kernel: [drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000200] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
    Apr 29 15:52:01 cachyos-legion kernel: NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3674428053 heartbeat 0 heartbeatWithOffsetMs 3674422269 diff 5784 timeout 5200
    Apr 29 15:52:01 cachyos-legion kernel: NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    Apr 29 15:52:02 cachyos-legion kwin_wayland[3968]: Applying output configuration failed!
    Apr 29 15:52:02 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    Apr 29 16:20:00 cachyos-legion kwin_wayland[3968]: Applying output configuration failed!
    Apr 29 19:07:45 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    Apr 29 19:07:45 cachyos-legion kernel: spd5118 20-0051: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
    Apr 29 19:07:45 cachyos-legion kernel: spd5118 20-0051: PM: failed to resume async: error -6
    Apr 29 19:07:45 cachyos-legion kernel: spd5118 20-0053: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
    Apr 29 19:07:45 cachyos-legion kernel: spd5118 20-0053: PM: failed to resume async: error -6
    Apr 29 19:07:45 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    Apr 29 19:07:46 cachyos-legion kernel: NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3686173020 heartbeat 0 heartbeatWithOffsetMs 3686167265 diff 5755 timeout 5200
    Apr 29 19:07:46 cachyos-legion kernel: NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    Apr 29 19:07:47 cachyos-legion kwin_wayland[3968]: Applying output configuration failed!
    Apr 29 19:07:47 cachyos-legion kernel: igc 0000:81:00.0 enp129s0: Timeout reading IGC_PTM_STAT register
    
  3. onien-12 commented on May 4, 2026

    @onien-12

    I get the same error. RTX 3090 on Asus Prime B450-A. Happens only when returning from suspend with some chance.

    [37803.140477] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3856513292 heartbeat 0 heartbeatWithOffsetMs 0 diff 3856513292 timeout 5200
    [37803.140481] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [37804.140414] PM: suspend exit
    [37804.462007] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37804.462018] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37804.468377] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37804.468383] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37804.473109] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37804.473114] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37805.648265] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
    [37805.682664] sd 0:0:0:0: [sda] Starting disk
    [37805.684053] ata1.00: configured for UDMA/100
    [37806.320359] r8169 0000:08:00.0 enp8s0: Link is Up - 1Gbps/Full - flow control rx/tx
    [37807.553250] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 0
    [37810.624239] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 1
    [37813.696235] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 2
    [37813.941828] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37813.941841] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37813.942406] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37813.942412] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37813.942829] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37813.942835] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37843.081148] fbcon: Taking over console
    [37846.144008] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 0
    [37849.152951] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 1
    [37852.160901] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 2
    [37855.359852] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 0
    [37858.367817] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 1
    [37861.375782] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 2
    [37861.552909] Console: switching to colour frame buffer device 240x67
    [37876.808275] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37876.808284] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37876.813198] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37876.813205] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37876.817965] [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to initialize semaphore for plane fence
    [37876.817970] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Failed to apply atomic modeset.  Error code: -11
    [37879.566695] BUG: kernel NULL pointer dereference, address: 0000000000000030
    [37879.566701] #PF: supervisor read access in kernel mode
    [37879.566703] #PF: error_code(0x0000) - not-present page
    [37879.566706] PGD 0 P4D 0 
    [37879.566710] Oops: Oops: 0000 [#1] SMP NOPTI
    [37879.566714] CPU: 7 UID: 1000 PID: 5341 Comm: chrome_crashpad Tainted: G           OE       6.19.11-arch1-1 #1 PREEMPT(full)  f2f06fc6c55f9a7018c38564662faf35699ac140
    [37879.566719] Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
    [37879.566721] Hardware name: System manufacturer System Product Name/PRIME B450M-A, BIOS 4622 09/29/2024
    [37879.566723] RIP: 0010:nvidia_vma_access+0x1b/0x350 [nvidia]
    [37879.566850] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 53 48 83 ec 20 48 8b 47 58 <4c> 8b 0c 25 30 00 00 00 4c 8b 3f 48 8b 68 18 4c 89 c8 48 c1 e8 1b
    [37879.566852] RSP: 0018:ffffd22fcc9bbc28 EFLAGS: 00010286
    [37879.566855] RAX: ffff8ac328d53080 RBX: 00007f73b0e0a000 RCX: 00000000000004a0
    [37879.566858] RDX: ffff8ac72ea47b60 RSI: 00007f73b0e0a000 RDI: ffff8ac5070aea80
    [37879.566860] RBP: 00000000000004a0 R08: 0000000000000000 R09: ffffffffc0411cb0
    [37879.566862] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000008
    [37879.566864] R13: 0000000000000b60 R14: fffff27d4be03640 R15: ffff8ac72ea47b60
    [37879.566866] FS:  00007f57a769b500(0000) GS:ffff8acb06c83000(0000) knlGS:0000000000000000
    [37879.566869] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [37879.566871] CR2: 0000000000000030 CR3: 000000044e847000 CR4: 0000000000f50ef0
    [37879.566873] PKRU: 55555554
    [37879.566875] Call Trace:
    [37879.566878]  <TASK>
    [37879.566883]  __access_remote_vm+0x27f/0x3a0
    [37879.566891]  mem_rw+0x1b9/0x2c0
    [37879.566896]  vfs_read+0xbf/0x390
    [37879.566901]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566905]  ? vfs_read+0xbf/0x390
    [37879.566908]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566910]  ? vfs_read+0xbf/0x390
    [37879.566914]  __x64_sys_pread64+0x9c/0xd0
    [37879.566918]  do_syscall_64+0x81/0x5f0
    [37879.566923]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566926]  ? do_syscall_64+0x81/0x5f0
    [37879.566929]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566932]  ? do_syscall_64+0x81/0x5f0
    [37879.566935]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566938]  ? count_memcg_events+0xc2/0x170
    [37879.566942]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566945]  ? handle_mm_fault+0x1d7/0x2d0
    [37879.566948]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566951]  ? do_user_addr_fault+0x21a/0x690
    [37879.566956]  ? srso_alias_return_thunk+0x5/0xfbef5
    [37879.566959]  ? exc_page_fault+0x7e/0x1a0
    [37879.566963]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
    [37879.566966] RIP: 0033:0x7f57a773af32
    [37879.566984] Code: 08 0f 85 c1 43 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00
    [37879.566987] RSP: 002b:00007fff4fd27798 EFLAGS: 00000246 ORIG_RAX: 0000000000000011
    [37879.566990] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f57a773af32
    [37879.566992] RDX: 0000000000001000 RSI: 00007fff4fd27ad0 RDI: 0000000000000007
    [37879.566994] RBP: 00007fff4fd277c0 R08: 0000000000000000 R09: 0000000000000000
    [37879.566996] R10: 00007f73b0e094a0 R11: 0000000000000246 R12: 00007f73b0e094a0
    [37879.566998] R13: 0000297000023800 R14: 00007fff4fd27ad0 R15: 0000000000001000
    [37879.567003]  </TASK>
    [37879.567005] Modules linked in: usblp udp_diag tcp_diag inet_diag snd_seq_dummy snd_hrtimer snd_seq nf_conntrack_netlink xt_nat veth br_netfilter xt_conntrack bridge stp llc xfrm_user xfrm_algo xt_set ip_set tun overlay ccm algif_aead des3_ede_x86_64 des_generic libdes algif_skcipher cmac cfg80211 md4 algif_hash af_alg nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype xt_mark xt_tcpudp nft_compat x_tables nf_tables vfat fat snd_hda_codec_alc882 snd_hda_codec_realtek_lib snd_hda_codec_nvhdmi snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_intel_dspcfg snd_ump snd_intel_sdw_acpi snd_rawmidi amd_atl intel_rapl_msr eeepc_wmi snd_hwdep snd_seq_device intel_rapl_common r8169 ee1004 asus_wmi platform_profile snd_pcm sp5100_tco realtek sparse_keymap mdio_devres snd_timer rfkill wmi_bmof rapl libphy i2c_piix4 pcspkr snd k10temp i2c_smbus mdio_bus mc soundcore mousedev gpio_amdpt gpio_generic mac_hid ntsync
    [37879.567098]  pkcs8_key_parser crypto_user nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress dm_crypt encrypted_keys trusted asn1_encoder tee dm_mod nvme nvme_core ghash_clmulni_intel ccp nvme_keyring aesni_intel nvme_auth hkdf thunderbolt nvidia_drm(OE) drm_ttm_helper ttm nvidia_uvm(OE) nvidia_modeset(OE) video wmi nvidia(OE)
    [37879.567132] CR2: 0000000000000030
    [37879.567136] ---[ end trace 0000000000000000 ]---
    [37879.567138] RIP: 0010:nvidia_vma_access+0x1b/0x350 [nvidia]
    [37879.567242] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 53 48 83 ec 20 48 8b 47 58 <4c> 8b 0c 25 30 00 00 00 4c 8b 3f 48 8b 68 18 4c 89 c8 48 c1 e8 1b
    [37879.567244] RSP: 0018:ffffd22fcc9bbc28 EFLAGS: 00010286
    [37879.567247] RAX: ffff8ac328d53080 RBX: 00007f73b0e0a000 RCX: 00000000000004a0
    [37879.567249] RDX: ffff8ac72ea47b60 RSI: 00007f73b0e0a000 RDI: ffff8ac5070aea80
    [37879.567251] RBP: 00000000000004a0 R08: 0000000000000000 R09: ffffffffc0411cb0
    [37879.567253] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000008
    [37879.567255] R13: 0000000000000b60 R14: fffff27d4be03640 R15: ffff8ac72ea47b60
    [37879.567257] FS:  00007f57a769b500(0000) GS:ffff8acb06c83000(0000) knlGS:0000000000000000
    [37879.567260] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [37879.567262] CR2: 0000000000000030 CR3: 000000044e847000 CR4: 0000000000f50ef0
    [37879.567264] PKRU: 55555554
    [37879.567266] note: chrome_crashpad[5341] exited with irqs disabled
    [37879.871630] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 0
    [37883.007620] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 1
    [37886.079600] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000900] Flip event timeout on head 2
    [37897.937460] xdg-desktop-por[1793]: segfault at 6c ip 00007fb512cdec01 sp 00007ffdbc6f12a0 error 6 in libwayland-client.so.0.24.0[5c01,7fb512cdc000+7000] likely on CPU 15 (core 7, socket 0)
    [37897.937468] Code: 81 c2 00 00 00 01 81 fa 00 00 f0 00 77 63 48 8b 07 48 c1 e8 03 39 d0 72 70 39 c2 74 1c 48 8b 47 10 43 8d 34 00 89 d2 48 09 f1 <48> 89 0c d0 31 c0 c9 c3 0f 1f 80 00 00 00 00 48 89 4d e8 be 08 00
    [37898.979777] NVRM: VM: invalid mmap context
    
  4. gaxweb commented on Jun 11, 2026

    @gaxweb

    The system becomes unresponsive and requires a hard reset to recover.

    FWIW: I can still switch to a different TTY.

  5. federicomameli1 commented on Aug 5, 2026

    @federicomameli1

    Confirming this is still present on different hardware and a much newer driver — same _kgspIsHeartbeatTimedOut signature, same 5200ms timeout value, same failure point (resume from S3 after lid close).

    Hardware: GIGABYTE AORUS 17H BXF, RTX 4080 Mobile (AD104M), BIOS FB10 (2026-03-20)
    Driver: nvidia-open 610.43.03
    Kernel: 7.1.5-1-cachyos (CachyOS), mem_sleep = deep (S3, not s2idle)

    Sequence on resume from lid-close suspend:

    NVRM: kgspHealthCheck_TU102: ****************************** GSP-CrashCat Report *******************************
    NVRM: Xid (PCI:0000:01:00): 120, GSP task panic: unknown error (0) @ pc:0x1a9baea, aux:0x0, partition:2#0, task:3, gfid: 0
    NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3510149086 heartbeat 0 heartbeatWithOffsetMs 0 diff 3510149086 timeout 5200
    NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Reset required [NV_ERR_RESET_REQUIRED] (0x00000062) returned from kgspWaitForRmInitDone(pGpu, pKernelGsp) @ kernel_gsp_tu102.c:614
    NVRM: gpuPowerManagementResume: GSP boot failed at resume (bootMode 0x1): 0x62
    NVRM: Xid (PCI:0000:01:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR)
    

    This is immediately followed by a wave of mmuWalkUnmap / gpu_vaspace.c assertion failures, and then a hard kernel Oops (NULL pointer deref, not just a WARN) in the modeset resume path:

    BUG: unable to handle page fault for address: 00000000000025f0
    RIP: 0010:DisableVblankSemControl+0xf/0x200 [nvidia_modeset]
    Call Trace:
     nvEvoDisableVblankSemControl+0x1d/0x40 [nvidia_modeset]
     FreeDeviceReference+0x24b/0x370 [nvidia_modeset]
     RestoreConsole+0xc4/0x140 [nvidia_modeset]
     FreeDeviceReference+0x334/0x370 [nvidia_modeset]
     nvRevokeDevice+0xa4/0xc0 [nvidia_modeset]
     nvResumeDevEvo+0x166/0x4a0 [nvidia_modeset]
     nvKmsResume+0x4b/0x90 [nvidia_modeset]
     nvkms_resume+0x1f/0x50 [nvidia_modeset]
     nv_set_system_power_state+0x2e0/0x490 [nvidia]
     nv_pm_notifier+0x61/0xa0 [nvidia]
     pm_suspend+0x319/0x5a0
    

    Same as #1226, but ours happens on regular S3 resume (lid open), not hibernate entry.

    One data point that might help narrow this down: I tried setting NVreg_UseKernelSuspendNotifiers=0 to force the legacy /proc/driver/nvidia/suspend-driven path (via nvidia-suspend.service/nvidia-resume.service) instead of the in-kernel PM notifier path. The GSP panic and the DisableVblankSemControl Oops still happen, identically, just triggered from nvidia-sleep.sh instead of systemd-sleep. So the entry point into the resume path doesn't seem to matter — the GSP itself is failing to come back up regardless of what calls into the driver's power-state transition.

    Also worth noting the system has no watchdog enabled (nowatchdog on the kernel cmdline), so after this Oops the machine doesn't recover on its own — it hangs indefinitely showing this trace on the framebuffer console until a hard power-off, which is fairly bad for a laptop that gets its lid closed and put away.

    Happy to grab more logs / test patches if useful.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions