Repository navigation
Description
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:
heartbeatis always0— it never increments from boot- The
PFM_REQ_HNDLR_STATE_SYNC_CALLBACKRPC 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
heartbeatWithOffsetMsvalue 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
- Boot a Dell Pro Max 16 Premium (MA16250) with hybrid graphics (Intel iGPU primary, NVIDIA dGPU for external displays via Direct Output Mode)
- S0ix power management is enabled via module parameters
- Let the GPU enter and exit power save naturally (it happens within minutes of idle)
- 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
- Related: Reloading nvidia_drm breaks power management if nvidia-powerd is stopped #1059 has identical GSP heartbeat errors on the same driver version (595.45.04) but triggered by module reload + nvidia-powerd restart on an RTX 4060. This issue occurs on a clean boot without any module reloading.
- Related: DP-MST monitor stays black after brief signal drop — DRM connector enabled:disabled / dpms:Off while compositor reports active #1055 (my earlier report on DP-MST monitor recovery failures on the same system) — the broken GSP state may degrade the driver's ability to handle DP hotplug recovery.
nvidia-smioutput during the issue:
+-----------------------------------------------------------------------------------------+
| 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
mnencia commentedon Mar 17, 2026
nvidia-bug-report.log.gz
mnencia commentedon Mar 17, 2026
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:
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.
mnencia commentedon Mar 17, 2026
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.
sharp004 commentedon Mar 22, 2026
Same behaviour here with Razer blade 14 2021 with 3080.
SoloSaravanan commentedon Mar 23, 2026
Same issue with Acer Nitro V15 with 4050
janmetz76-byte commentedon Mar 25, 2026
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
pipingtravel commentedon Mar 28, 2026
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.
mnencia commentedon Apr 3, 2026
Update: Issue persists after upgrading driver, kernel, and dock firmware.
Current versions:
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.
mnencia commentedon Apr 3, 2026
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
diffvalues across wakes. They grow monotonically and track wall-clock uptime at 1:1:So the timer math in
_kgspIsHeartbeatTimedOut()is fine,sysTimerOffsetNsis correct (also verified by computing(NvU32)(epoch_at_driver_load / 1e6)which matchesheartbeatWithOffsetMsto within 18 seconds). The register genuinely reads zero.Why
On GC6 exit,
gpuExitSuspend()setsbootMode = KGSP_BOOT_MODE_GC6_EXIT. The bootstrap path inkgspBootstrap_TU102()skips init RPCs (line 531, only forNORMAL), skips status queue init (line 564), and just runs Booter Load + waits forGSP_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 inPOLL_BOOTUPcontext. This event isn't in the allowlist atkernel_gsp.c:1435, so it gets silently dropped with anNV_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.
mnencia commentedon Apr 8, 2026
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:
All registers read 0xffffffff. The GPU was permanently unreachable until reboot.
What's new vs previous reports on this issue
ACPI NC6O method timeout: the BIOS GC6 exit method (
\_SB.PC00.RP12.PXSX.NC6O) itself timed out withAE_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.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).
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()extractsbar_idx=7from the garbage register value and accessesbarsz[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]/
mnencia commentedon Apr 9, 2026
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):
DRM connector state captured during live failure (DP-8):
GPU state during failure:
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:
nvidia-bug-report.log.gz captured during the live failure is attached.
mnencia commentedon Apr 14, 2026
@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.NC6Otimed 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.
tomasvana10 commentedon Apr 15, 2026
Same issue on RTX 5070 desktop, CachyOS kernel 6.19.12, nvidia-open 595.58.03, GNOME 50 Wayland
ali-afk commentedon Apr 20, 2026
Same issue on RTX 3050 CachyOS kernel 7.0.0-1, nvidia-open 595.58.03-2, hyprland 0.54.3-2.1
cryptic-noodle commentedon Apr 22, 2026
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"
The above logs are right after booting
This issue causes disabling the gpu to fail and crash
9 remaining items
Yuminghuang738 commentedon May 19, 2026
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
mnencia commentedon May 21, 2026
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 atnvWriteGpEntry+0xc5/0x3b0(or+0x109/0x3b0, the function has two polling loops), KMS thread waiter blocked innvkms_ioctl_from_kapi_try_pmlock, full Wayland freeze requiring REISUB.Trigger model
0x101a PFM_REQ_HNDLR_STATE_SYNC_CALLBACKRPC, and depending on timing the DIFRnvPushKickoff -> nvWriteGpEntrypoll wedges on an unreachable consumer pointer.nvkms_lockis held until reboot.Deterministic reproduction with the laptop locked or DPMS-off:
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) setsplatform_profileon 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. On7.0.7+deb13-amd64with stock 595.71.05, zerokernel_gsp.c:1447asserts, 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.
Prunil62 commentedon May 22, 2026
+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.ymlfield structure to make this report easy to triage.NVIDIA Open GPU Kernel Modules Version
595.71.05— built from RPMFusionakmod-nvidia-595.71.05-1.fc44.src.rpm(Open Kernel Module,Dual MIT/GPLlicense permodinfo nvidia).Proprietary driver confirmation
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
(
lsb_releaseis not installed by default on Fedora 44 Workstation.)Kernel Release
Stable kernel confirmation
Yes — this is the stable Fedora 44 kernel
7.0.9-205.fc44.x86_64, not an-rcrelease. Built and shipped by the Fedora kernel team (no custom build, no out-of-tree patches besides the RPMFusionnvidia.koitself).Hardware: GPU
98.05.31.00.380000:c2:00.0F.06(2025-12-09)0000:c3:00.0— drives the internal panel viaeDP-1nvidia-drm.modeset=1on cmdline)Differences vs. the OP
nvidia-drm.modesetNVreg_EnableS0ixPowerManagementNVreg_PreserveVideoMemoryAllocationsThe 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=autoand no userspace process holding a CUDA context most of the time. Each blocked transition appears in dmesg asnvidia 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 sustainedollamaor other CUDA workload — the GPU silently locks up: no kernel oops, nokgspRpc/heartbeat timed out/nvAssertFailedlog 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):ollama.service(CUDA 13.2,library=CUDA compute=12.0) plus a GTK4/WebKit local-inference app (handy0.8.3) keep CUDA contexts open. Journal stops mid-write — last logged line is from the CUDA app itself.s2idlesystem suspend —systemd-logindtriggers suspend,nvidia-suspend.servicelogsSkipped due to 'exec-condition'(becauseUseKernelSuspendNotifiers: 1is the active default in 595.71.05),kernel: PM: suspend entry (s2idle)is logged, thengnome-shellstarts 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:
For reference, the AMD iGPU on the same machine on the same uptime:
After explicitly forcing
autosuspend_delay_ms=0and re-assertingpower/control=auto, with no CUDA process holding a context (only standard GTK4/Wayland apps with EGL/GBM handles open on/dev/nvidia*),runtime_suspended_timestayed at0over the next 15 s. The dGPU is wedged active 100% of the time from boot.I believe the constant
Enabling HDA controllerlog 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.05RPMFusion build — no explicit/etc/modprobe.d/nvidia*.confoverrides are in place on this system (only asoftdep nvidia post: nvidia-uvmline).Note the S0ix coordination mismatch: the platform reports modern standby only (
/sys/power/mem_sleep = [s2idle], nodeepstate), butNVreg_EnableS0ixPowerManagementdefaults to 0 on this driver build, so the dGPU never participates in S0ix coordination. I will test=1and report back.To Reproduce
akmod-nvidia-595.71.05.gnome-shell,ptyxis,nautilus,gnome-text-editor,braveopen persistent handles on/dev/nvidia0,/dev/nvidia-modeset,/dev/nvidiactl(verifiable viafuser -v /dev/nvidia*).ollama.service(it auto-probes CUDA on RTX 5070 Ti and reserves ~500 MiB VRAM at idle).handyin my case; any CUDA-holding workload appears to qualify).journalctl -k | grep -c 'Enabling HDA controller'grows linearly, andruntime_suspended_timestays at0.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 /
kgspRpclog lines visibleUnlike the original report (which contains the
kernel_gsp.c:1446assertion), my journal contains no matching lines over 6 days of history: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
journaldflush 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 confirmsDetected 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:
NVreg_EnableS0ixPowerManagementbetween 0 and 1NVreg_DynamicPowerManagement(current3) to0/1/2nvidia-powerd.serviceNVreg_EnableGpuFirmwareLogshigher than2dyndbgenabled onnvidia_drm/pci_pmollamaand any other CUDA-holding workload of your choiceJust drop a list of knobs to flip and I'll capture fresh
nvidia-bug-report.log.gzfor 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
feat: add nvidia-proprietary-dkms package
mnencia commentedon Jun 18, 2026
The DIFR pmlock deadlock still reproduces on 610.43.02, and it does so with
NVreg_DynamicPowerManagement=0x00active. 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
NVreg_DynamicPowerManagement=0x00set and verified live:/proc/driver/nvidia/gpus/0000:01:00.0/powerreportedRuntime D3 status: Disabled.The deadlock
Holder is the modeset kthread spinning in the DIFR prefetch path, waiter is the compositor blocked creating a framebuffer:
The kthread stays in
R, polling insidenvWriteGpEntry(caught at+0xc5and+0xbaacross successive hung-task dumps, the same tight 16-bit poll loop reported earlier). The compositor sits inDon 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
No
0x101a/kernel_gsp.c:1447assert 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.DynamicPowerManagement=0x00was active and the render function01:00.0was in D0 (Runtime D3 status: Disabled) at the time of the freeze. The HDA function01:00.1was runtime-suspended, and a power transition logged asnvidia 0000:01:00.0: Enabling HDA controlleroccurred 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=0x00removes 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
nvWriteGpEntrycan pinnvkms_lockindefinitely, 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.
Azq2 commentedon Jun 19, 2026
Now I use propietary blob. Nvidia don't care this critical bug.
mnencia commentedon Jun 25, 2026
Ninth DIFR pmlock deadlock here, and the second reproduced on 610.43.02 with
NVreg_DynamicPowerManagement=0x00active (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:1447assert preceding it):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-modesetis spinning); only a sync+sysrq reboot clears it.Net:
DynamicPowerManagement=0x00removes 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 makenvWriteGpEntry/ the DIFR prefetch kickoff cancellable so a stuck consumer can't pinnvkms_lockindefinitely.adilborekciler commentedon Jun 25, 2026
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:
After setting all display scaling values back to 100% and disabling mixed/fractional scaling, those
ClutterActormessages mostly disappeared. However, the actual screen freeze still happens. So I do not think theClutterActorwarning 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:
The unresponsive PID was
gnome-shell:System details:
Current NVIDIA module information:
I also previously reproduced the same issue with NVIDIA driver
595.71.05.I tried adding:
The parameter appeared in
/proc/cmdline, and/proc/driver/nvidia/paramsshowed:but
nvidia-smi -qstill 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
ClutterActormessages seem to be unrelated or only a secondary symptom.mnencia commentedon Jun 30, 2026
Tenth DIFR pmlock deadlock, now on kernel 7.0.12 (open 610.43.02,
NVreg_DynamicPowerManagement=0x00active). 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.cassert preceding it):A
RmHandleDNotifierEvent ... status=0x11fired 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 reportsNV2080_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:nvWriteGpEntry/nvPushKickoff) cancellable or time-bounded, so a stuck prefetch cannot pinnvkms_lockindefinitely and take the whole session down.DynamicPowerManagement=0x00remains 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.jvdillon commentedon Jul 12, 2026
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.
colonelpanic8 commentedon Jul 20, 2026
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 producesPFM_REQ_HNDLR_STATE_SYNC_CALLBACKassertions followed byheartbeat 0/GSP RM heartbeat timed out. There are no Xids orRmInitAdapterfailures and CUDA /nvidia-smiremain usable.A status-bar widget polling
nvidia-smi -q -xevery 10 seconds amplified the issue into a continuous log flood by repeatedly waking the suspended dGPU. Preventing those monitoring probes while/sys/.../power/runtime_statusissuspendedorsuspendingremoves that amplifier.Setting
options nvidia NVreg_DynamicPowerManagement=0x00has 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.mnencia commentedon Aug 24, 2026
Update on the local mitigation from our 2026-06-30 comment: the DIFR-disable patch (
nvDIFRAllocate()forced to returnNULLinnvkms-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.mnencia commentedon Aug 24, 2026
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 aNULLDIFR 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.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.
mnencia commentedon Sep 14, 2026
Eleventh occurrence, first one on
615.71.09(open kernel modules). Same signature as every prior sample:nvidia-modeset/kthread spinning innvWriteGpEntryvianvPushKickoff → PrefetchHelperSurfaceEvo → nvDIFRPrefetchSurfaces → DifrPrefetchEventDeferredWork, KMS thread blocked on the semaphore, no self-recovery (about 52 minutes before a forced reboot).nvidia-smistayed responsive throughout, as always with this deadlock.615.71.09bumps 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 withnvDIFRAllocate()still being byte-identical to610.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:1447assert 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.nvidia: force fine-grained runtime D3 so the idle dGPU powers off