Skip to content

GSP heartbeat stuck at 0 since boot with S0ix power management on RTX PRO 1000 Blackwell laptop #1064

Open

Description

@mnencia

NVIDIA Open GPU Kernel Modules Version

595.45.04

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.

N/A — Blackwell (GB207GLM) only supports open kernel modules.

Operating System and Version

Debian 13 (trixie)

Kernel Release

6.18.15+deb13-amd64

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 RTX PRO 1000 Blackwell Generation Laptop GPU (GB207GLM, part 2DB8-975-A1)

Describe the bug

On a hybrid graphics laptop (Intel Arc Pro 140T iGPU + NVIDIA RTX PRO 1000 dGPU) with S0ix power management enabled, the GSP firmware heartbeat counter is stuck at 0 for the entire boot session. Every time the GPU wakes from runtime power management (D3cold→D0), the driver logs assertion failures and heartbeat timeouts.

The GPU is otherwise functional — nvidia-smi reports normal temperature/power/utilization, GNOME Shell renders on external displays via DP-MST through the NVIDIA GPU, and CUDA works. However, every power transition produces a burst of errors in dmesg.

The pattern repeats indefinitely throughout the entire uptime (observed over 30+ hours since boot).

Error pattern on each GPU wake:

NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4239432340 heartbeat 0 heartbeatWithOffsetMs 4227261603 diff 12170737 timeout 5200
NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out

Key observations:

  • heartbeat is always 0 — it never increments from boot
  • The PFM_REQ_HNDLR_STATE_SYNC_CALLBACK RPC event is rejected because the driver thinks it is still in "bootup" state
  • Each burst is correlated with nvidia 0000:01:00.0: Enabling HDA controller (GPU waking from power save)
  • The heartbeatWithOffsetMs value is stable within a session but the diff grows over time

Possible impact: While the GPU works for display and compute, the degraded GSP state may affect the driver's ability to recover from DP-MST hotplug events. I also have a separate issue (#1055) where DP-MST monitors fail to recover after brief signal drops from a Dell WD19DC dock, and the broken GSP heartbeat may be a contributing factor.

To Reproduce

  1. Boot a Dell Pro Max 16 Premium (MA16250) with hybrid graphics (Intel iGPU primary, NVIDIA dGPU for external displays via Direct Output Mode)
  2. S0ix power management is enabled via module parameters
  3. Let the GPU enter and exit power save naturally (it happens within minutes of idle)
  4. Check dmesg — heartbeat timeouts appear on every power transition

System Configuration

  • Laptop: Dell Pro Max 16 Premium (MA16250)
  • BIOS: 1.7.1 (Hybrid Graphics ON, Discrete Graphics Direct Output Mode ON)
  • VBIOS: 98.07.1C.40.1C
  • GSP Firmware: 595.45.04
  • iGPU: Intel Arc Pro 140T (i915 driver)
  • Desktop: GNOME 48.7 on Wayland
  • Dock: Dell WD19DC (USB-C) — two 1920x1080 monitors via DP-MST through NVIDIA GPU
  • Module parameters:
options nvidia NVreg_TemporaryFilePath=/var/tmp
options nvidia NVreg_EnableS0ixPowerManagement=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia-drm modeset=1

dmesg excerpts

First occurrence after boot (system booted 2026-03-16 09:10:49):

2026-03-17T01:08:26 NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4132580456 heartbeat 0 heartbeatWithOffsetMs 4121941346 diff 10639110 timeout 5200
2026-03-17T01:08:26 NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
2026-03-17T01:09:42 NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
2026-03-17T01:09:42 NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
2026-03-17T01:09:42 NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
2026-03-17T01:09:42 NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
2026-03-17T01:09:42 NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4132656633 heartbeat 0 heartbeatWithOffsetMs 4121941346 diff 10715287 timeout 5200
2026-03-17T01:09:42 NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out

Still occurring 30 hours later:

2026-03-18T06:49:18 NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
2026-03-18T06:49:18 NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4239432340 heartbeat 0 heartbeatWithOffsetMs 4227261603 diff 12170737 timeout 5200
2026-03-18T06:49:18 NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out
2026-03-18T06:51:45 nvidia 0000:01:00.0: Enabling HDA controller
2026-03-18T06:51:45 NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
2026-03-18T06:51:45 NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
2026-03-18T06:51:45 NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
2026-03-18T06:51:45 NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
2026-03-18T06:51:45 NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4239579024 heartbeat 0 heartbeatWithOffsetMs 4227261603 diff 12317421 timeout 5200
2026-03-18T06:51:45 NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out

Bug Incidence

Always (every boot, every power transition)

nvidia-bug-report.log.gz

Will upload in a follow-up comment.

More Info

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.45.04              Driver Version: 595.45.04      CUDA Version: 13.2     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX PRO 1000 Blac...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   42C    P8              6W /   35W |     101MiB /   8151MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

Activity

  1. mnencia commented on Mar 17, 2026

    @mnencia
    Author
  2. mnencia commented on Mar 17, 2026

    @mnencia
    Author

    Update after reboot: The issue reproduces on every boot. The GSP heartbeat is fine during initial driver load, but fails on the first GPU power save/wake cycle (D3cold→D0).

    Timeline from a clean boot:

    18:39:56 pci 0000:01:00.0: Enabling HDA controller          ← early boot, GPU init, no error
    18:41:40 NVRM: loading NVIDIA UNIX Open Kernel Module 595.45.04   ← driver loads clean
    18:41:43 nvidia-modeset: WARNING: GPU:0: Got unknown DPCD revision 0.0 for Philips PHL 234E5 (DP-3.3)  ← dock MST, cosmetic
             [GPU enters D3cold power save after idle]
    18:57:36 nvidia 0000:01:00.0: Enabling HDA controller        ← first wake from power save
    18:57:36 NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 4243730060 heartbeat 0 heartbeatWithOffsetMs 4227261887 diff 16468173 timeout 5200
    18:57:36 NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    

    So the GSP heartbeat counter is initialized to 0 during driver load, and after the first D3cold suspend/resume cycle it never resumes incrementing. Every subsequent GPU wake triggers the same heartbeat timeout.

    This is 100% reproducible — happens on every boot within minutes of the GPU entering power save for the first time.

    Visible impact: The first GPU wake from D3cold (when the heartbeat error first appears) also causes a brief flicker on the external DP-MST monitors. This confirms the GSP heartbeat failure is not just a cosmetic log error — it correlates with an actual disruption of the display output during the power transition.

  3. mnencia commented on Mar 17, 2026

    @mnencia
    Author

    nvidia-bug-report.log.gz from a fresh boot (2026-03-17 18:41), captured ~40 minutes after boot with the GSP heartbeat error already present after the first D3cold wake.

  4. sharp004 commented on Mar 22, 2026

    @sharp004

    Same behaviour here with Razer blade 14 2021 with 3080.

  5. SoloSaravanan commented on Mar 23, 2026

    @SoloSaravanan

    Same issue with Acer Nitro V15 with 4050

  6. janmetz76-byte commented on Mar 25, 2026

    @janmetz76-byte

    Asus TUF F17 FX707VV with NVIDIA GTX 4060 mobile GPU and NVIDIA Open 595.58.03 on CachyOS 6.19.9-2

    No visible impact on my Display. I dont use any external monitor. KDE and Games running without any visible problems. When I switch the mode manually via "supergfxctl -m AsusMuxDgpu" then the below attached errors don't appear. Those errors only appear when the GPU mode is set to "Hybrid".

    [ 0.000000] Command line: quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=45db2457-5674-47fc-9715-4e449f3a6d22 resume=UUID=fe6b2702-23bb-4baa-adcb-9335372e87e8
    [ 0.048624] Kernel command line: quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=45db2457-5674-47fc-9715-4e449f3a6d22 resume=UUID=fe6b2702-23bb-4baa-adcb-9335372e87e8
    [ 1.308237] nvidia: loading out-of-tree module taints kernel.
    [ 1.367104] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
    [ 1.370751] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
    [ 1.370888] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
    [ 1.446584] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64 595.58.03 Release Build (notroot@) Tue Mar 24 22:39:33 UTC 2026
    [ 1.487282] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
    [ 2.794807] nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight.
    [ 2.797300] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
    [ 2.809610] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
    [ 2.813289] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
    [ 2.813759] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

    [ 1.413654] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 595.58.03 Release Build (notroot@) Tue Mar 24 22:39:42 UTC 2026
    [ 59.664082] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632240385 heartbeat 0 heartbeatWithOffsetMs 0 diff 632240385 timeout 5200
    [ 59.664087] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 82.584174] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 82.584177] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 82.662913] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 82.662917] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 82.674572] NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632263402 heartbeat 0 heartbeatWithOffsetMs 0 diff 632263402 timeout 5200
    [ 82.674573] NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 108.341148] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 108.341151] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 108.420295] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 108.420298] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 108.431788] NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632289161 heartbeat 0 heartbeatWithOffsetMs 0 diff 632289161 timeout 5200
    [ 108.431790] NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 134.102792] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 134.102799] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 134.181814] NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    [ 134.181815] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    [ 134.193453] NVRM: GPU0 _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632314924 heartbeat 0 heartbeatWithOffsetMs 0 diff 632314924 timeout 5200
    [ 134.193455] NVRM: GPU0 _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 252.229946] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632432962 heartbeat 0 heartbeatWithOffsetMs 0 diff 632432962 timeout 5200
    [ 252.229951] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 341.147252] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632521881 heartbeat 0 heartbeatWithOffsetMs 0 diff 632521881 timeout 5200
    [ 341.147256] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 399.119789] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632579854 heartbeat 0 heartbeatWithOffsetMs 0 diff 632579854 timeout 5200
    [ 399.119794] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 453.330056] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632634066 heartbeat 0 heartbeatWithOffsetMs 0 diff 632634066 timeout 5200
    [ 453.330060] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 588.476627] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632769214 heartbeat 0 heartbeatWithOffsetMs 0 diff 632769214 timeout 5200
    [ 588.476631] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 635.353103] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632816090 heartbeat 0 heartbeatWithOffsetMs 0 diff 632816090 timeout 5200
    [ 635.353109] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    [ 778.198220] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 632958937 heartbeat 0 heartbeatWithOffsetMs 0 diff 632958937 timeout 5200
    [ 778.198225] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out

    nvidia-bug-report.log.gz

  7. pipingtravel commented on Mar 28, 2026

    @pipingtravel

    Same issue with
    ASUS TUF Gaming A15 Notebook 2022 with NVIDIA RTX 3060 Mobile
    EndeavourOS 6.19.9-arch1-1 on KDE Plasma
    nvidia-open-dkms 595.58.03-1
    supergfxctl-git 5.2.7.r9.g5d503b1-1
    asusctl 6.3.5.r0.g96fb55b1-2

    supergfxctl set to Hybrid. Not always reproducable. Some boot attempts brings heartbeat failure after 2 minutes. Sometimes runs without issue. When issue occurs:

    -Very short freeze
    -Thrown from session to SDDM
    -Ctl-Alt-F2 brings back session
    -BT-Stack not working (dbus issue etc)

    Wayland or X11 does not matter. It seems it sometimes matter if AC Power and/or USB devices are present during boot though.

  8. mnencia commented on Apr 3, 2026

    @mnencia
    Author

    Update: Issue persists after upgrading driver, kernel, and dock firmware.

    Current versions:

    • Driver: 595.58.03 (open kernel modules, unchanged)
    • Kernel: 6.19.8+deb13-amd64 (was 6.19.6)
    • Dock firmware (Dell WD19DC, all updated today via LVFS):
      • EC: 01.01.00.16 (was 01.01.00.14)
      • VMM5331 MST hub: 05.07.08 (was 05.04.03)
      • Package: 01.01.02.01 (was 01.01.00.01)

    GSP heartbeat is still stuck at 0 after the first D3cold wake, same as before. Today it also caused a practical failure: one of the external DP-MST monitors went black (dock MST hub dropped the video stream while DP AUX stayed alive). DRM showed enabled=enabled, dpms=On but ddcutil confirmed DDC/CI (I2C 0x37) was unresponsive. DPMS off/on cycle recovered the monitor, but a suspend/resume would have been needed to also reset the stuck GSP state.

    nvidia-bug-report.log.gz captured while the monitor was black and GSP heartbeat stuck.

  9. mnencia commented on Apr 3, 2026

    @mnencia
    Author

    I dug into the 595.58.03 source to try to understand what's going on. Pretty sure this is a GSP-RM firmware bug, not host-side.

    What I found

    The heartbeat works fine during normal operation. On my system there are zero heartbeat errors for the first ~30 minutes after boot. The first error shows up at the exact moment the GPU wakes from its first runtime PM sleep (GC6 exit). After that, NV_PGSP_MAILBOX(0) reads 0 on every single wake (13 events over ~2 hours), and it never recovers.

    I verified that PTIMER doesn't reset during GC6 by looking at the diff values across wakes. They grow monotonically and track wall-clock uptime at 1:1:

    14:50:59  diff=1823s  wall_uptime=1805s  (+18s constant offset from BIOS/PCI init)
    14:52:11  diff=1895s  wall_uptime=1877s
    15:17:04  diff=3388s  wall_uptime=3370s
    15:19:01  diff=3505s  wall_uptime=3487s
    

    So the timer math in _kgspIsHeartbeatTimedOut() is fine, sysTimerOffsetNs is correct (also verified by computing (NvU32)(epoch_at_driver_load / 1e6) which matches heartbeatWithOffsetMs to within 18 seconds). The register genuinely reads zero.

    Why

    On GC6 exit, gpuExitSuspend() sets bootMode = KGSP_BOOT_MODE_GC6_EXIT. The bootstrap path in kgspBootstrap_TU102() skips init RPCs (line 531, only for NORMAL), skips status queue init (line 564), and just runs Booter Load + waits for GSP_INIT_DONE. GSP-RM is supposed to restore its full context including the heartbeat timer, but apparently it doesn't.

    _kgspHeartbeatInit() is purely host-side (just sets timeout thresholds, no RPC to GSP), so the host can't tell GSP-RM to restart heartbeat. The comment at line 5018 says "GSP starts sending heartbeat after rminit" — but the GC6 exit path doesn't go through rminit.

    I also noticed that during GC6 exit bootstrap, GSP-RM sends PFM_REQ_HNDLR_STATE_SYNC_CALLBACK (0x101a) while the host is in POLL_BOOTUP context. This event isn't in the allowlist at kernel_gsp.c:1435, so it gets silently dropped with an NV_ASSERT(0). Probably a separate issue but worth noting.

    Practical impact

    The stuck heartbeat by itself is just log noise, but it means the driver can't distinguish "GSP-RM is fine" from "GSP-RM is actually hung" during power transitions. On my system this interacts badly with dock DP-MST stream drops — when the dock's MST hub glitches, the NVIDIA driver can't properly recover the connector because it thinks GSP-RM is unresponsive. A suspend/resume cycle fixes both (resets GSP state and re-trains the dock link).

    nvidia-bug-report.log.gz captured with heartbeat stuck + one external monitor black is attached to the previous comment.

  10. mnencia commented on Apr 8, 2026

    @mnencia
    Author

    Update: GC6 exit failure leading to total GPU loss (Xid 79/143/154)

    On 2026-04-08 I hit a new, more severe failure that appears related to the GC6/heartbeat issues documented above. During a routine runtime PM GC6 exit, the BIOS ACPI GC6 exit method timed out and the GPU fell completely off the PCI bus, requiring a reboot.

    Timeline

    Environment: same system as issue opener, now on kernel 6.19.10+deb13-amd64, driver 595.58.03.

    Boot (Apr 7 21:35) through three S0ix suspend/resume cycles, the GPU went through multiple GC6 cycles. PFM_REQ_HNDLR assertion failures appeared on some GC6 exits (same as #1064), but no heartbeat timeouts and all cycles completed successfully.

    After the third resume (Apr 8 09:07, following a 9.4-hour S0ix sleep), the first runtime PM GC6 exit at 09:50 showed both PFM errors and heartbeat timeout (heartbeat=0, diff=2569s). All subsequent GC6 exits (12:29, 12:56, 13:01) also had heartbeat timeouts. GPU remained functional during this period.

    At 13:08, the 5th GC6 exit since the heartbeat broke failed catastrophically:

    ACPI Error: Aborting method \_SB.PC00.RP12.PXSX.NC6O due to previous error (AE_AML_LOOP_TIMEOUT) (20250807/psparse-529)
    ACPI Error: Aborting method \_SB.PC00.RP12.PXSX.GC6O due to previous error (AE_AML_LOOP_TIMEOUT) (20250807/psparse-529)
    ACPI Error: Aborting method \_SB.PC00.RP12.PPON due to previous error (AE_AML_LOOP_TIMEOUT) (20250807/psparse-529)
    ACPI Error: Aborting method \_SB.PC00.RP12.NPON due to previous error (AE_AML_LOOP_TIMEOUT) (20250807/psparse-529)
    ACPI Error: Aborting method \_SB.PC00.RP12.PXP._ON due to previous error (AE_AML_LOOP_TIMEOUT) (20250807/psparse-529)
    nvidia 0000:01:00.0: not ready 1023ms after resume; waiting
    [... exponential backoff up to 65535ms ...]
    nvidia 0000:01:00.0: not ready 65535ms after resume; giving up
    NVRM: GPU0 kbifPollBarFirewallDisengage_GB202: Timeout polling CFG BAR firewall disengage.
    NVRM: GPU0 gpuResumeFromStandby_IMPL: Polling BAR0 or BAR firewall timeout
    NVRM: Xid (PCI:0000:01:00): 79, GPU has fallen off the bus.
    NVRM: Xid (PCI:0000:01:00): 143, Error status 0x65 while polling for FSP boot complete, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
    NVRM: GPU0 _gpuGc6ExitStateLoad: GPU is unable to transition from GC6 to D0 state.
    NVRM: Xid (PCI:0000:01:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required)
    

    All registers read 0xffffffff. The GPU was permanently unreachable until reboot.

    What's new vs previous reports on this issue

    1. ACPI NC6O method timeout: the BIOS GC6 exit method (\_SB.PC00.RP12.PXSX.NC6O) itself timed out with AE_AML_LOOP_TIMEOUT. This is the BIOS firmware polling the GPU hardware during GC6 power-on and getting no response. This has not been reported before on this issue.

    2. Total GPU loss: previous reports showed heartbeat stuck but GPU functional. Here the GPU falls off the PCI bus entirely (Xid 79), FSP fails to boot (Xid 143), and reset is required but impossible (Xid 154).

    3. Heartbeat only broke after long S0ix sleep: in this session, the pre-suspend GC6 cycles (7 cycles over ~47 minutes) had PFM assertion errors but working heartbeat. The heartbeat only broke on the first GC6 exit after an overnight (9.4h) S0ix resume. This differs slightly from my earlier reports where the heartbeat broke on the first GC6 exit after a fresh boot.

    What's NOT proven

    I cannot prove that the stuck heartbeat (Part A) caused the ACPI GC6 exit failure (Part B). Four GC6 cycles succeeded with heartbeat=0 before the fifth one failed catastrophically. The correlation is suggestive (GSP in degraded state after broken heartbeat may eventually fail to respond to the BIOS GC6 polling), but there could be an independent trigger.

    Side note: kernel UBSAN bug

    The failed GC6 exit also triggered a kernel bug: UBSAN array-index-out-of-bounds in pci_restore_iov_state() (drivers/pci/iov.c:948). When the GPU config space reads all 0xffffffff, sriov_restore_vf_rebar_state() extracts bar_idx=7 from the garbage register value and accesses barsz[7] (array size is 6). This is a missing bounds check in the recently-added VF resizable BAR restore code.

    Fix submitted upstream: https://lore.kernel.org/linux-pci/[email protected]/

  11. mnencia commented on Apr 9, 2026

    @mnencia
    Author

    New observation: stuck GSP heartbeat prevents DPMS-triggered display recovery

    Today I experienced a dock MST stream drop on DP-8 (Philips PHL 234E5 via Dell WD19DC DP-MST hub). The usual workaround for this dock issue is a DPMS off/on cycle via Mutter's PowerSaveMode D-Bus property, which normally forces the NVIDIA driver to tear down and re-establish the MST streams.

    This time, the DPMS toggle had no effect. The driver produced zero modeset activity in dmesg, it silently ignored the DPMS state change entirely.

    Timeline (all times CEST, 2026-04-09, approximate, dmesg wall-clock timestamps shifted ~13h due to suspend accounting bug):

    • ~02:57 (dmesg) -- System resumed from overnight suspend. nvidia-modeset loaded. DP-8 already showing "DPCD revision 0.0" on initial probe (dock MST hub flaky for this port from the start).
    • ~04:43 (dmesg) -- First GSP heartbeat timeout (heartbeat=0, never recovered).
    • Morning -- Multiple GC6 cycles, all with heartbeat stuck at 0. PFM_REQ_HNDLR_STATE_SYNC_CALLBACK (0x101a) dropped on every GC6 exit. DP-8 getting DPCD 0.0 on most cycles.
    • ~10:05 -- System resumed from suspend. Two more GC6 cycles within minutes.
    • ~10:10 -- DP-8 (left monitor) went black. DRM state: enabled=enabled, dpms=On, status=connected. EDID readable via sysfs. Mutter PowerSaveMode=0. Classic dock MST stream drop.
    • ~10:15 -- Attempted DPMS toggle (PowerSaveMode i 3, sleep 5, PowerSaveMode i 0). Zero modeset/DP/DPCD messages in dmesg. All screens blanked and returned, but DP-8 remained black.
    • ~10:20 -- Physically disconnected dock USB-C cable. Monitor recovered on reconnect (though dock still returned DPCD 0.0 for DP-8 during re-enumeration, it eventually recovered after multiple retries).

    DRM connector state captured during live failure (DP-8):

    enabled: enabled
    dpms: On
    status: connected
    EDID: readable (Philips PHL 234E5, serial UHB1649013652)
    

    GPU state during failure:

    nvidia-smi: functional, P5, 48C, 12W
    GSP heartbeat: stuck at 0 (heartbeatWithOffsetMs=1896324325, not advancing)
    Heartbeat diff growing: 2966404 -> 3183363 -> 3676788 (ms)
    

    DDC/CI (DP-7, right monitor, video working):
    DDC/CI at I2C 0x37 was also unresponsive on DP-7, suggesting broader dock I2C forwarding degradation, even though video was flowing on that port.

    Analysis:
    The DPMS toggle normally works for this dock issue because it forces the NVIDIA driver to cycle the display pipeline, which triggers MST stream re-negotiation. With GSP-RM unresponsive (heartbeat stuck), the driver appears unable to process the DPMS state change, it silently does nothing. This makes the stuck heartbeat a functional blocker for display recovery, not just a log-spam issue.

    Previously documented recovery paths and their interaction with stuck GSP:

    • DPMS toggle: FAILS (driver ignores it)
    • Suspend/resume: works (resets GSP state + MST re-enumeration)
    • Dock cable reconnect: works (bypasses driver, MST hub hardware reset)

    nvidia-bug-report.log.gz captured during the live failure is attached.

  12. mnencia commented on Apr 14, 2026

    @mnencia
    Author

    @Binary-Eater -- could this be routed to the GSP-RM firmware team? My analysis in the April 3 comment traces the root cause to GSP-RM firmware not restoring heartbeat writes to NV_PGSP_MAILBOX(0) after GC6 exit. The host-side driver code is correct (PTIMER offsets, timeout math all verified). The issue is that the GC6 exit bootstrap path (KGSP_BOOT_MODE_GC6_EXIT) doesn't go through rminit, and GSP-RM never resumes heartbeat writes after context restore.

    Since your March 17 reply, the situation has escalated significantly:

    • April 8: stuck heartbeat preceded a fatal GC6 exit failure. ACPI \_SB.PC00.RP12.PXSX.NC6O timed out (AE_AML_LOOP_TIMEOUT), GPU fell off the PCI bus (Xid 79), FSP failed to boot (Xid 143). Full details in my April 8 comment. Four GC6 cycles succeeded with heartbeat=0 before the fifth killed the GPU.

    • April 9: stuck heartbeat blocks DPMS-triggered display recovery. When the dock MST hub drops a video stream (separate hardware issue), the normal DPMS off/on workaround produces zero modeset activity when GSP heartbeat is stuck. The driver silently ignores the DPMS state change. Only suspend/resume or physical dock reconnect can recover.

    • 4 other users confirmed the same heartbeat symptoms across RTX 3060, 3080, 4050, and my RTX PRO 1000 Blackwell, on both 595.45.04 and 595.58.03.

    Also wondering: is the internal fix for #1055 (bug 5947370) related to the GC6 exit path? If GSP-RM's display recovery is being improved there, the heartbeat restore might be in the same area.

    nvidia-bug-report.log.gz files are attached to the April 3, April 8, and April 9 comments above.

  13. tomasvana10 commented on Apr 15, 2026

    @tomasvana10

    Same issue on RTX 5070 desktop, CachyOS kernel 6.19.12, nvidia-open 595.58.03, GNOME 50 Wayland

  14. ali-afk commented on Apr 20, 2026

    @ali-afk

    Same issue on RTX 3050 CachyOS kernel 7.0.0-1, nvidia-open 595.58.03-2, hyprland 0.54.3-2.1

  15. cryptic-noodle commented on Apr 22, 2026

    @cryptic-noodle

    Same issue on g14 2023 laptop, Hybrid Mode, RTX 4050, kernel: 7.0.0-1-cachyos, nvidia-open: 595.58.03, GNOME 50 Wayland

    sudo dmesg | grep -i "nvidia|gsp"

    [    1.229812] nvidia: loading out-of-tree module taints kernel.
    [    1.378099] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
    [    1.383668] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
    [    1.383856] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
    [    1.433666] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64  595.58.03  Release Build  (notroot@)  Fri Apr 17 12:04:07 UTC 2026
    [    1.481665] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64  595.58.03  Release Build  (notroot@)  Fri Apr 17 12:04:01 UTC 2026
    [    1.548475] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
    [    3.008827] nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight.
    [    3.012106] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
    [    3.024533] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-2
    [    3.028840] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
    [    3.029295] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
    [    7.761604] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input24
    [    7.761680] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input25
    [    7.761737] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input26
    [    7.761788] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input27
    [   51.724982] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3033795358 heartbeat 0 heartbeatWithOffsetMs 0 diff 3033795358 timeout 5200
    [   51.724986] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    

    The above logs are right after booting

    This issue causes disabling the gpu to fail and crash

    Apr 22 16:14:53 linux-g14 sudo[5970]:    crypticnoodle : TTY=pts/0 ; PWD=/home/crypticnoodle ; USER=root ; COMMAND=/usr/bin/tee /sys/class/firmware-attributes/asus-armoury/attributes/dgpu_disable/current_value
    Apr 22 16:14:53 linux-g14 sudo[5970]: pam_unix(sudo:session): session opened for user root(uid=0) by crypticnoodle(uid=1000)
    Apr 22 16:14:53 linux-g14 asusd[1313]: [DEBUG asusd::asus_armoury] dgpu_disable changed
    Apr 22 16:14:54 linux-g14 kernel: NVRM: _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    Apr 22 16:14:54 linux-g14 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    Apr 22 16:14:54 linux-g14 kernel: NVRM: _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    Apr 22 16:14:54 linux-g14 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1446
    Apr 22 16:14:54 linux-g14 kernel: NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 3033201586 heartbeat 0 heartbeatWithOffsetMs 0 diff 3033201586 timeout 5200
    Apr 22 16:14:54 linux-g14 kernel: NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out
    Apr 22 16:14:55 linux-g14 kernel: snd_hda_intel 0000:01:00.1: GPU sound probed, but not operational: please add a quirk to driver_denylist
    Apr 22 16:14:55 linux-g14 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Removing device
    Apr 22 16:14:55 linux-g14 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Failed to reopen '/dev/dri/card1': Could not get device info for path /dev/dri/card1: No such file or directory
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Failed to reopen '/dev/dri/card1': Could not get device info for path /dev/dri/card1: No such file or directory
    Apr 22 16:14:55 linux-g14 kernel: nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight.
    Apr 22 16:14:55 linux-g14 kernel: NVRM: Attempting to remove device 0000:01:00.0 with non-zero usage count!
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
    Apr 22 16:14:55 linux-g14 gnome-shell[3387]: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
    Apr 22 16:15:23 linux-g14 kernel: ACPI Error: Aborting method \_SB.WAT1 due to previous error (AE_AML_LOOP_TIMEOUT) (20251212/psparse-531)
    Apr 22 16:15:23 linux-g14 kernel: ACPI Error: Aborting method \_SB.PCI0.SBRG.UMAC due to previous error (AE_AML_LOOP_TIMEOUT) (20251212/psparse-531)
    Apr 22 16:15:23 linux-g14 sudo[5970]: pam_unix(sudo:session): session closed for user root
    Apr 22 16:15:23 linux-g14 kernel: ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_LOOP_TIMEOUT) (20251212/psparse-531)
    Apr 22 16:15:23 linux-g14 kernel: asus_armoury: Failed to set current_value: -5
    
  16. 9 remaining items

  17. Yuminghuang738 commented on May 19, 2026

    @Yuminghuang738

    same issue on RTX4070 laptop Fedora Linux 44 (Workstation Edition) x86_64 Linux 7.0.8-200.fc44.x86_64 Driver Version: 595.71.05 DE: GNOME 50.1

    May 19 09:50:54 fedora kernel: NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1447
    May 19 09:50:54 fedora kernel: NVRM: GPU0 kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR…ut API lock

    nvidia-bug-report.log.gz

  18. mnencia commented on May 21, 2026

    @mnencia
    Author

    Status update after about two more weeks of investigation on stock 595.71.05.

    Six DIFR pmlock freezes between 2026-05-13 and 2026-05-21, all on this RTX PRO 1000 Blackwell laptop, all under NVreg_DynamicPowerManagement=3 (workaround deliberately off to gather data on the failure path). Signature unchanged from the 2026-05-07 and 2026-05-08 reports: nvidia-modeset/ worker holding pmlock indefinitely at nvWriteGpEntry+0xc5/0x3b0 (or +0x109/0x3b0, the function has two polling loops), KMS thread waiter blocked in nvkms_ioctl_from_kapi_try_pmlock, full Wayland freeze requiring REISUB.

    Trigger model

    1. Screen is DPMS-off (idle blanking or lock screen).
    2. A visual notification arrives (Slack, calendar, anything urgent enough to display on the lock-screen overlay).
    3. GNOME wakes the display engine. On this hardware the external monitor on DP-7 is driven by the dGPU.
    4. Display wake forces the dGPU out of runtime D3.
    5. GSP fires the chronic 0x101a PFM_REQ_HNDLR_STATE_SYNC_CALLBACK RPC, and depending on timing the DIFR nvPushKickoff -> nvWriteGpEntry poll wedges on an unreachable consumer pointer.
    6. After roughly 6 to 15 notification-driven wakes in a burst, the race fires and nvkms_lock is held until reboot.

    Deterministic reproduction with the laptop locked or DPMS-off:

    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus \
    notify-send -u critical "wake test" "trigger"
    

    repeated, or simply wait for a notification burst. Under DPM=3 the race fires within a few hours.

    GNOME Power Mode is a rate modifier

    GNOME Power Mode (power-profiles-daemon) sets platform_profile on the Dell EC, which changes how often the Platform Request Handler kicks the chronic state-sync RPC. Performance produces the highest rate, Power Saver the lowest. Power Mode does not cause the race, it just rolls the dice more often. I had been on Performance during the burst of freezes; switching to Power Saver reduced the cadence noticeably but did not eliminate the race.

    Workaround validation

    Tonight I switched back to NVreg_DynamicPowerManagement=0x00. On 7.0.7+deb13-amd64 with stock 595.71.05, zero kernel_gsp.c:1447 asserts, zero DIFR pmlock signature, dGPU stays in D0 (runtime_status=active). DPM=0x00 remains the only effective workaround I have for this issue across kernel versions.

    @Binary-Eater happy to attach a fresh diagnostic bundle from any of the six DIFR pmlock freezes to bug 6140605 if useful. Local bundles preserved.

  19. Prunil62 commented on May 22, 2026

    @Prunil62

    +1 / Additional data point on a different Blackwell SKU + AMD iGPU

    Same failure mode confirmed on a consumer Blackwell laptop with an AMD iGPU host, which extends the scope of this issue beyond the original Dell Pro Max 16 / Intel Arc Pro / RTX PRO 1000 reported here.

    I'm following the 10_functional_bug.yml field structure to make this report easy to triage.

    NVIDIA Open GPU Kernel Modules Version

    595.71.05 — built from RPMFusion akmod-nvidia-595.71.05-1.fc44.src.rpm (Open Kernel Module, Dual MIT/GPL license per modinfo nvidia).

    $ cat /proc/driver/nvidia/version
    NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  595.71.05  Release Build
      (dvs-builder@U22-I3-G08-03-1)  Fri Apr 24 06:42:30 UTC 2026
    GCC version:  gcc version 16.1.1 20260515 (Red Hat 16.1.1-2) (GCC)
    

    Proprietary driver confirmation

    "For cutting-edge platforms such as NVIDIA Grace Hopper or NVIDIA Blackwell, you must use the open-source GPU kernel modules. The proprietary drivers are unsupported on these platforms."
    — NVIDIA — Transitioning Fully Towards Open Source GPU Kernel Modules

    So the proprietary kernel module is not available on this GB205-class consumer Blackwell hardware — there is no cross-check path. This is the only branch that runs on this GPU, so any regression here directly impacts Blackwell users.

    Operating System and Version

    $ grep '^PRETTY_NAME=' /etc/os-release
    PRETTY_NAME="Fedora Linux 44 (Workstation Edition)"
    

    (lsb_release is not installed by default on Fedora 44 Workstation.)

    Kernel Release

    $ uname -a
    Linux fedora 7.0.9-205.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 21 16:31:48 UTC 2026 x86_64 GNU/Linux
    

    Stable kernel confirmation

    Yes — this is the stable Fedora 44 kernel 7.0.9-205.fc44.x86_64, not an -rc release. Built and shipped by the Fedora kernel team (no custom build, no out-of-tree patches besides the RPMFusion nvidia.ko itself).

    Hardware: GPU

    $ nvidia-smi -L
    GPU 0: NVIDIA GeForce RTX 5070 Ti Laptop GPU (UUID: GPU-ea6fbe97-c434-dd36-39fb-a46447fbf6af)
    
    • Chip: GB205 (Blackwell consumer mobile)
    • VBIOS: 98.05.31.00.38
    • VRAM: 12 227 MiB
    • PCIe: 0000:c2:00.0
    • Host platform: HP OMEN MAX 16-ak0xxx, BIOS F.06 (2025-12-09)
    • Companion iGPU: AMD Radeon 860M (Krackan, DCN 3.5), 0000:c3:00.0 — drives the internal panel via eDP-1
    • Display setup: PRIME render-offload (NVIDIA dGPU only used for compute / offload; no nvidia-drm.modeset=1 on cmdline)

    Differences vs. the OP

    Item This report OP head
    dGPU RTX 5070 Ti Laptop (GB205, consumer) RTX PRO 1000 (GB207GLM, workstation)
    iGPU AMD Radeon 860M Intel Arc Pro 140T
    OEM HP OMEN MAX 16 Dell Pro Max 16 Premium
    Driver 595.71.05 595.45.04
    Kernel Linux 7.0.9-205.fc44 Linux 6.18.15+deb13-amd64
    Display mode PRIME render-offload Discrete Graphics Direct Output Mode
    nvidia-drm.modeset 0 (default) 1
    NVreg_EnableS0ixPowerManagement 0 1
    NVreg_PreserveVideoMemoryAllocations 2 1

    The bug therefore reproduces across consumer + workstation Blackwell, AMD + Intel iGPU hosts, two OEMs, two driver versions, two kernels, two display modes, and with or without EnableS0ixPowerManagement.

    Describe the bug

    The dGPU never enters runtime suspend (D3cold) after boot, despite power/control=auto and no userspace process holding a CUDA context most of the time. Each blocked transition appears in dmesg as nvidia 0000:c2:00.0: Enabling HDA controller (50 to 148 occurrences per boot in sessions that ended with a freeze). After enough such cycles — typically a few hours under sustained ollama or other CUDA workload — the GPU silently locks up: no kernel oops, no kgspRpc / heartbeat timed out / nvAssertFailed log line, no MCE. The display freezes, all input timeouts. Only a hard power-off recovers.

    Two distinct trigger patterns observed in 4 days (4 hard freezes — boots −1, −2, −4, −7):

    • Cold freeze under sustained CUDA load — ollama.service (CUDA 13.2, library=CUDA compute=12.0) plus a GTK4/WebKit local-inference app (handy 0.8.3) keep CUDA contexts open. Journal stops mid-write — last logged line is from the CUDA app itself.
    • Freeze on s2idle system suspend — systemd-logind triggers suspend, nvidia-suspend.service logs Skipped due to 'exec-condition' (because UseKernelSuspendNotifiers: 1 is the active default in 595.71.05), kernel: PM: suspend entry (s2idle) is logged, then gnome-shell starts timing out releasing input devices (Could not release device '/dev/input/event...': timeout) and the system never resumes.

    Direct measurement — dGPU never runtime-suspends

    Captured live on the current (stable) boot from sysfs accounting:

    $ cat /sys/bus/pci/devices/0000:c2:00.0/power/runtime_active_time
    17500659     # ms (≈ 4h 51min)
    $ cat /sys/bus/pci/devices/0000:c2:00.0/power/runtime_suspended_time
    0            # ms — NEVER suspended since boot
    $ cat /sys/bus/pci/devices/0000:c2:00.0/power/control
    auto         # runtime suspend is ALLOWED
    $ cat /sys/bus/pci/devices/0000:c2:00.0/power/runtime_status
    active
    

    For reference, the AMD iGPU on the same machine on the same uptime:

    $ cat /sys/bus/pci/devices/0000:c3:00.0/power/runtime_active_time
    86413        # ms — drives the panel, awake briefly
    $ cat /sys/bus/pci/devices/0000:c3:00.0/power/runtime_suspended_time
    17340449     # ms — sleeps 99.5% of the time, as expected
    

    After explicitly forcing autosuspend_delay_ms=0 and re-asserting power/control=auto, with no CUDA process holding a context (only standard GTK4/Wayland apps with EGL/GBM handles open on /dev/nvidia*), runtime_suspended_time stayed at 0 over the next 15 s. The dGPU is wedged active 100% of the time from boot.

    I believe the constant Enabling HDA controller log is the user-visible side effect: the kernel keeps attempting D3hot→D0 transitions that get aborted, and each abort re-enables the HDA child function. GSP firmware state accumulates and eventually deadlocks.

    Active driver parameters (/proc/driver/nvidia/params)

    All values below are the effective defaults baked into the akmod-nvidia-595.71.05 RPMFusion build — no explicit /etc/modprobe.d/nvidia*.conf overrides are in place on this system (only a softdep nvidia post: nvidia-uvm line).

    EnableMSI: 1
    PreserveVideoMemoryAllocations: 2
    UseKernelSuspendNotifiers: 1
    EnableS0ixPowerManagement: 0       ← BIOS advertises "Low-power S0 idle used by default for system suspend"
    DynamicPowerManagement: 3
    DynamicPowerManagementVideoMemoryThreshold: 200
    EnableGpuFirmware: 18              ← 0x12 = ALLOWED | FORCE
    OpenRmEnableUnsupportedGpus: 1
    

    Note the S0ix coordination mismatch: the platform reports modern standby only (/sys/power/mem_sleep = [s2idle], no deep state), but NVreg_EnableS0ixPowerManagement defaults to 0 on this driver build, so the dGPU never participates in S0ix coordination. I will test =1 and report back.

    To Reproduce

    • Boot HP OMEN MAX 16 with Fedora 44 + RPMFusion akmod-nvidia-595.71.05.
    • Log into a GNOME / Wayland session — by EGL/GBM enumeration alone, gnome-shell, ptyxis, nautilus, gnome-text-editor, brave open persistent handles on /dev/nvidia0, /dev/nvidia-modeset, /dev/nvidiactl (verifiable via fuser -v /dev/nvidia*).
    • Start ollama.service (it auto-probes CUDA on RTX 5070 Ti and reserves ~500 MiB VRAM at idle).
    • Launch a long-running CUDA-using GUI app (handy in my case; any CUDA-holding workload appears to qualify).
    • Use the laptop normally for ~2–6 hours.
    • Observe: journalctl -k | grep -c 'Enabling HDA controller' grows linearly, and runtime_suspended_time stays at 0.
    • At some point — either spontaneously under load (cold freeze) or on the next systemctl suspend / lid-close — the system hard-hangs without any kernel error message. Hard reset required.

    Bug Incidence

    Always — under sustained CUDA workload, the freeze occurs within a single working day (4 confirmed hard freezes in 4 days of normal use). The runtime-suspend failure itself (runtime_suspended_time = 0 ms) is 100% reproducible at every boot and across multiple kernel updates.

    No GSP heartbeat / kgspRpc log lines visible

    Unlike the original report (which contains the kernel_gsp.c:1446 assertion), my journal contains no matching lines over 6 days of history:

    $ journalctl --since '6 days ago' \
        | grep -iE 'kgspRpc|GspEventPmuHalted|nvAssertFailed|heartbeat.*timed.*out|kernel_gsp\.c|API lock'
    (empty)
    

    The hang is therefore even more silent on the consumer Blackwell + AMD iGPU combination than on the workstation case in the OP. Either the assertion path is bypassed, or journald flush is interrupted before those lines are written.

    nvidia-bug-report.log.gz

    Attached: nvidia-bug-report.log.gz (391 KB, captured on a stable boot during the post-freeze recovery session). Collection completed without errors. Header confirms Detected driver type: Running RM Driver on GPUs.

    More info / willing to help

    Happy to run targeted tests on this hardware to help isolate the issue:

    • Toggle NVreg_EnableS0ixPowerManagement between 0 and 1
    • Toggle NVreg_DynamicPowerManagement (current 3) to 0/1/2
    • Disable nvidia-powerd.service
    • Enable NVreg_EnableGpuFirmwareLogs higher than 2
    • Capture with dyndbg enabled on nvidia_drm / pci_pm
    • Reproduce with ollama and any other CUDA-holding workload of your choice

    Just drop a list of knobs to flip and I'll capture fresh nvidia-bug-report.log.gz for each combination. The runtime-suspend regression (suspended_time = 0 ms) is reproducible within seconds of boot; the full freeze takes a few hours of CUDA load.

    nvidia-bug-report.log.gz

  20. mnencia commented on Jun 18, 2026

    @mnencia
    Author

    The DIFR pmlock deadlock still reproduces on 610.43.02, and it does so with NVreg_DynamicPowerManagement=0x00 active. That gives two results worth recording: the race is independent of the GSP RPC assert that 610 fixed, and it is independent of the dynamic-power-management workaround that has been the standing mitigation.

    Environment

    • Driver 610.43.02 (open), kernel 7.0.10, Blackwell dGPU + Arrow Lake iGPU laptop.
    • External monitor on DP-7, which on this hardware is driven by the dGPU.
    • NVreg_DynamicPowerManagement=0x00 set and verified live: /proc/driver/nvidia/gpus/0000:01:00.0/power reported Runtime D3 status: Disabled.

    The deadlock

    Holder is the modeset kthread spinning in the DIFR prefetch path, waiter is the compositor blocked creating a framebuffer:

    INFO: task gnome-shell blocked on a semaphore likely last held by task nvidia-modeset/
    task:nvidia-modeset/ state:R  running task
     ? nvWriteGpEntry+0xc5/0x3b0 [nvidia_modeset]
     ? nvPushKickoff+0x28/0x50 [nvidia_modeset]
     ? PrefetchHelperSurfaceEvo+0x45a/0x640 [nvidia_modeset]
     ? nvDIFRPrefetchSurfaces+0x130/0x1f0 [nvidia_modeset]
     ? DifrPrefetchEventDeferredWork+0x16/0x30 [nvidia_modeset]
    
    gnome-shell  state:D
     nvkms_ioctl_from_kapi+0x58/0xe0 [nvidia_modeset]
     CreateSurface+0x20c/0x240 [nvidia_modeset]
     nv_drm_framebuffer_create+0x385/0x680 [nvidia_drm]
    

    The kthread stays in R, polling inside nvWriteGpEntry (caught at +0xc5 and +0xba across successive hung-task dumps, the same tight 16-bit poll loop reported earlier). The compositor sits in D on the semaphore the kthread never releases. It does not self-recover; only a forced reboot clears it. This is the same signature reported through May, unchanged on 610.

    Two new points

    1. No 0x101a / kernel_gsp.c:1447 assert preceded this freeze. The bootup-whitelist fix shipped in 610.43.02 is doing its job, so the assert noise that accompanied earlier reports is gone. The DIFR pmlock deadlock fires anyway. The assert and this deadlock are separate problems, and fixing the former does not touch the latter.

    2. DynamicPowerManagement=0x00 was active and the render function 01:00.0 was in D0 (Runtime D3 status: Disabled) at the time of the freeze. The HDA function 01:00.1 was runtime-suspended, and a power transition logged as nvidia 0000:01:00.0: Enabling HDA controller occurred about 190 seconds before the first hung-task warning. So pinning the render function out of runtime-D3 does not prevent a GPU power transition from arming the DIFR prefetch path, and the deadlock still occurs. DynamicPowerManagement=0x00 removes the most common trigger (render-function D3 exit on screen wake) but it is a partial mitigation, not a fix.

    Takeaway

    The DIFR prefetch path in nvWriteGpEntry can pin nvkms_lock indefinitely, and that is reachable independently of both the GSP RPC assert and the dynamic-power-management setting. It needs a fix in its own right: either make the prefetch kickoff cancellable / time-bounded so a stuck consumer cannot hold the lock forever, or abort DIFR prefetch when the GPFIFO consumer pointer does not advance.

    I have the full capture (DRM connector state, PCI runtime status, hung-task stacks, modprobe config) and can attach it or run anything specific you want on the next reproduction.

  21. Azq2 commented on Jun 19, 2026

    @Azq2

    Now I use propietary blob. Nvidia don't care this critical bug.

  22. mnencia commented on Jun 25, 2026

    @mnencia
    Author

    Ninth DIFR pmlock deadlock here, and the second reproduced on 610.43.02 with NVreg_DynamicPowerManagement=0x00 active (kernel 7.0.10, open-flavor 610.43.02, ~2-day uptime). It adds a new trigger class.

    All eight prior instances were driven by a lock-screen notification waking the display while the machine sat idle (the DP-7 dock monitor is driven by the dGPU on this hardware, so the screen-wake pulls the dGPU out of runtime-D3). This one was triggered by a dock re-enumeration / DP-7 hotplug instead: the dock's USB hub and DP-7 link re-enumerated, the resulting connector reprobe and modeset raced the DIFR prefetch path, and the deadlock fired ~90s later.

    Signature is identical to the previous reports and, as expected post-#1145, the trace is clean (no 0x101a / kernel_gsp.c:1447 assert preceding it):

    nvidia-modeset/kthread_q (pid 1050, state:R, spinning)
      nvWriteGpEntry
      PrefetchHelperSurfaceEvo
      nvDIFRPrefetchSurfaces
      DifrPrefetchEventDeferredWork
    
    KMS thread (pid 13817, blocked >240s on a semaphore held by nvidia-modeset)
      nvkms_ioctl_from_kapi_try_pmlock
      ApplyModeSetConfig
      nv_drm_atomic_apply_modeset_config
    

    Exactly one D-state task; the i915-driven panels (eDP-1, HDMI-A-1) stayed healthy throughout. No self-recovery (DPMS toggle / gdm restart are useless once nvidia-modeset is spinning); only a sync+sysrq reboot clears it.

    Net: DynamicPowerManagement=0x00 removes the most common trigger (render-function runtime-D3 exit) but does not cover modeset paths forced by a dock hotplug, so it remains a partial mitigation. The race is independent of both the GSP assert (fixed in 610) and the DPM workaround. The fix still needs to make nvWriteGpEntry / the DIFR prefetch kickoff cancellable so a stuck consumer can't pin nvkms_lock indefinitely.

  23. adilborekciler commented on Jun 25, 2026

    @adilborekciler

    I am seeing a very similar issue on my system as well.

    In my case, the system does not fully crash. The screen freezes, but the machine is still reachable over SSH. The frozen display usually stays stuck at the exact time of the freeze. Restarting GDM does not recover the session; I usually have to reboot.

    At first I was seeing GNOME Shell / Clutter messages such as:

    gnome-shell: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
    

    After setting all display scaling values back to 100% and disabling mixed/fractional scaling, those ClutterActor messages mostly disappeared. However, the actual screen freeze still happens. So I do not think the ClutterActor warning is the root cause in my case.

    When the freeze happens, I consistently see NVIDIA/GSP-related kernel messages shortly before GNOME Shell becomes unresponsive.

    Example from one freeze:

    2026-06-25T14:46:25+03:00 fedora kernel: NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during bootup without API lock
    2026-06-25T14:46:25+03:00 fedora kernel: NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1447
    2026-06-25T14:47:09+03:00 fedora at-spi2-registryd[3828]: Disabling unresponsive app with pid 3750
    2026-06-25T14:47:22+03:00 fedora gsd-power[3908]: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: Timeout was reached (g-io-error-quark, 24)
    

    The unresponsive PID was gnome-shell:

    3750 /usr/bin/gnome-shell --mode=user
    

    System details:

    Laptop: HP Victus 16
    CPU: AMD Ryzen 7 7840HS
    GPU: NVIDIA GeForce RTX 4070 Laptop GPU
    iGPU: AMD Phoenix / Radeon iGPU
    OS: Fedora 44
    Kernel: 7.0.12-201.fc44.x86_64
    Desktop: GNOME on Wayland
    NVIDIA driver: 595.80
    NVIDIA kernel module: NVIDIA UNIX Open Kernel Module
    NVIDIA module license: Dual MIT/GPL
    External monitor: connected and driven through the NVIDIA dGPU
    

    Current NVIDIA module information:

    NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 595.80
    modinfo nvidia:
    version: 595.80
    license: Dual MIT/GPL
    

    I also previously reproduced the same issue with NVIDIA driver 595.71.05.

    I tried adding:

    nvidia.NVreg_EnableGpuFirmware=0
    

    The parameter appeared in /proc/cmdline, and /proc/driver/nvidia/params showed:

    EnableGpuFirmware: 0
    

    but nvidia-smi -q still showed a valid GSP firmware version, so GSP still appeared to be effectively active with the open kernel module.

    My current suspicion is that the freeze is caused by the NVIDIA open kernel module / GSP / runtime power management path, and GNOME Shell / Mutter becomes unresponsive as a consequence. The ClutterActor messages seem to be unrelated or only a secondary symptom.

  24. mnencia commented on Jun 30, 2026

    @mnencia
    Author

    Tenth DIFR pmlock deadlock, now on kernel 7.0.12 (open 610.43.02, NVreg_DynamicPowerManagement=0x00 active). Same RTX PRO 1000 Blackwell laptop with the dock-driven DP-7 on the dGPU. Two things worth recording: a data point that kills one of my earlier hypotheses, and a concrete request.

    Signature is unchanged and, as expected post-#1145, the trace is clean (no 0x101a / kernel_gsp.c assert preceding it):

    nvidia-modeset/:951 (state:R, spinning)
      nvWriteGpEntry
      PrefetchHelperSurfaceEvo
      nvDIFRPrefetchSurfaces
      DifrPrefetchEventDeferredWork
    
    gnome-shell:28572 (blocked >120/241/362/483s on a semaphore last held by nvidia-modeset/:951)
    

    A RmHandleDNotifierEvent ... status=0x11 fired about a minute before the stall began, consistent with the dominant trigger class (display-engine D-state poke on the dock-on-dGPU path). The i915-driven panels (eDP-1, native HDMI) stayed live throughout; only a sync+sysrq reboot clears it.

    New data point: this time the dGPU HDA function (01:00.1) was runtime-suspended at deadlock time, while the render function (01:00.0) was active. On 2026-06-18 I had wondered whether a runtime-resumed HDA function was arming the prefetch race. This occurrence rules that out: the DIFR prefetch path deadlocks regardless of the HDA function's power state, so the trigger lives in the modeset/display path, not audio-function resume.

    Request: there is currently no way to disable DIFR. I checked the 610.43.02 source. nvDIFRAllocate() enables DIFR whenever RM reports NV2080_CTRL_LPWR_DIFR_SUPPORTED, and there is no module parameter, nvkms config-file entry, or RM registry key to turn it off. Either of two changes would help:

    1. The real fix: make the DIFR prefetch kickoff (nvWriteGpEntry / nvPushKickoff) cancellable or time-bounded, so a stuck prefetch cannot pin nvkms_lock indefinitely and take the whole session down.
    2. As an interim mitigation: expose a regkey to disable DIFR. Affected users on dock-on-dGPU laptops could then opt out of the feature instead of hard-rebooting on every occurrence.

    DynamicPowerManagement=0x00 remains only a partial mitigation. It removes the render-function runtime-D3 exit trigger but not the modeset/D-Notifier path, and as shown above the race is independent of the HDA function state as well.

  25. jvdillon commented on Jul 12, 2026

    @jvdillon

    Fwiw this issue has plagued me as well. Bravo to @mnencia for collecting all this information and I hope it leads to a driver fix.

  26. colonelpanic8 commented on Jul 20, 2026

    @colonelpanic8

    Confirmed the same failure signature on an ASUS ROG Strix SCAR 18 G834JZR (BIOS 320) with an RTX 4080 Laptop GPU / AD104M (10de:27e0), Intel iGPU hybrid mode, Linux 6.18.38, and the 595.45.04 open kernel module.

    This reproduces with S0ix disabled (NVreg_EnableS0ixPowerManagement=0). Fine-grained runtime D3 is still enabled by the driver's default (DynamicPowerManagement: 3). Each runtime wake produces PFM_REQ_HNDLR_STATE_SYNC_CALLBACK assertions followed by heartbeat 0 / GSP RM heartbeat timed out. There are no Xids or RmInitAdapter failures and CUDA / nvidia-smi remain usable.

    A status-bar widget polling nvidia-smi -q -x every 10 seconds amplified the issue into a continuous log flood by repeatedly waking the suspended dGPU. Preventing those monitoring probes while /sys/.../power/runtime_status is suspended or suspending removes that amplifier.

    Setting options nvidia NVreg_DynamicPowerManagement=0x00 has been the deterministic mitigation here (at the cost of keeping the dGPU in D0 / higher idle power). I am also moving from 595.45.04 to the current 595.84 production package, but will treat that upgrade separately until a reboot confirms whether it alone changes the behavior.

  27. mnencia commented on Aug 24, 2026

    @mnencia
    Author

    Update on the local mitigation from our 2026-06-30 comment: the DIFR-disable patch (nvDIFRAllocate() forced to return NULL in nvkms-difr.c) has now been running for almost 8 weeks with zero DIFR pmlock freezes, versus the roughly ten occurrences we hit before applying it. Confirmed still active and correctly stripping the allocation path (verified by disassembly, not just source diff) through two driver bumps (610.43.02 → 610.57.04) and several kernel bumps (7.0.12 → 7.1.8), reapplying the patch after each driver-package upgrade since apt replaces the DKMS source tree and drops it.

    This is obviously not proof the underlying race is fixed, just that removing DIFR from the picture entirely removes the deadlock, which is consistent with our original report. Repeating the ask from before: a real fix would make nvWriteGpEntry/prefetch kickoff cancellable, but a supported regkey to disable DIFR would be a much lower-risk interim fix than users patching driver source themselves.

  28. mnencia commented on Aug 24, 2026

    @mnencia
    Author

    For anyone hitting the same DIFR pmlock deadlock and wanting to apply the same local mitigation while a proper fix/regkey lands, here's the patch we've been running since 2026-06-30 (forces nvDIFRAllocate() to bail early so DIFR state is never allocated and the prefetch deadlock path can't arm). Callers already handle a NULL DIFR pointer via the normal "unsupported" path, so it's safe. Rebuild+reinstall via DKMS (or your build method of choice) after applying, and note you'll need to reapply it after every driver-package upgrade since packaging replaces the source tree.

    --- a/src/nvidia-modeset/src/nvkms-difr.c
    +++ b/src/nvidia-modeset/src/nvkms-difr.c
    @@ -215,6 +215,16 @@
             return NULL;
         }
     
    +    /*
    +     * Local mitigation for NVIDIA open-gpu-kernel-modules issue #1064:
    +     * the DIFR idle-prefetch path deadlocks nvWriteGpEntry under
    +     * nvkms_lock on this dock-on-dGPU laptop and freezes the whole
    +     * session. No regkey exists to disable DIFR, so force it off by
    +     * never allocating DIFR state. Revert when NVIDIA ships a fix or
    +     * a disable knob.
    +     */
    +    return NULL;
    +
         pDifr = nvCalloc(sizeof(*pDifr), 1);
         if (!pDifr) {
             return NULL;

    This obviously disables DIFR's idle panel self-refresh power saving entirely, worth reverting once NVIDIA ships a real fix or a supported disable knob.

  29. mnencia commented on Sep 14, 2026

    @mnencia
    Author

    Eleventh occurrence, first one on 615.71.09 (open kernel modules). Same signature as every prior sample: nvidia-modeset/ kthread spinning in nvWriteGpEntry via nvPushKickoff → PrefetchHelperSurfaceEvo → nvDIFRPrefetchSurfaces → DifrPrefetchEventDeferredWork, KMS thread blocked on the semaphore, no self-recovery (about 52 minutes before a forced reboot). nvidia-smi stayed responsive throughout, as always with this deadlock.

    615.71.09 bumps the GSP firmware in lockstep with the driver, which was the one real wildcard here (closed binary, no source visibility). It didn't help: the race reproduces unchanged, consistent with nvDIFRAllocate() still being byte-identical to 610.57.04, no fix or disable path added. The other new default in this release, NVreg_UseKernelSuspendNotifiers=1, is a suspend/resume video-memory-preservation change and is orthogonal to this occurrence, which fired from idle/runtime activity with no suspend/resume in the window.

    Whitelist fix from #1145 is still in place, no kernel_gsp.c:1447 assert this time.

    Back on the local DIFR-disable patch (posted above) after briefly running unpatched to test an unrelated suspend/resume bug on a different subsystem. Same ask as before: a supported regkey to disable DIFR would help everyone hitting this while a real fix (making nvWriteGpEntry/prefetch kickoff cancellable) is pending.

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