NVIDIA / NVIDIA/open-gpu-kernel-modules

RTX 3070 Mobile (10de:249d (rev a1)): GSP heartbeat 0 timeout

Open
#1,099 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

595.58.03

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
  • I confirm that this does not happen with the proprietary driver package.
Operating System and Version

CachyOS (rolling)

Kernel Release

linux-cachyos-nvidia-open 6.19.11-1

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Hardware: GPU

NVIDIA GeForce RTX 3070 Laptop GPU (UUID: GPU-1f4fe1c1-dcf5-5d77-0f42-3193deeb6119)

Describe the bug

While setting up CachyOS on my Razer Blade 14 (2021), I kept seing these errors in dmesg:

[   27.411646] NVRM: _kgspIsHeartbeatTimedOut: Heartbeat timed out, currentTimeMs 1870886560 heartbeat 0 heartbeatWithOffsetMs 0 diff 1870886560 timeout 5200
[   27.411650] NVRM: _kgspRpcRecvPoll: GSP RM heartbeat timed out

I suspected that this would be at least part of the problem why my laptop would not go to any sleep state at all.

However, using the proprietary 580xx driver packages (580.142), this error went away immediately and all I had to do was to tune a few module parameters. But, this particular one, the GSP heartbeat failing, was gone instantly.

To Reproduce

Install CachyOS in default configuration with KDE Plasma. Upon boot and login, tail the kernel messages with dmesg -w. You should see, almost immediately, that the heartbeat is failing.

In this state, nvidia-powerd or just calling nvidia-smi also have a chance to lock up and cause a kernel message dump about a task hanging forever.

Bug Incidence

Always

nvidia-bug-report.log.gz

// I am reporting this ticket in post, sorry... I did not know this tool existed. But I'll see to reproduce the issue and send in the log a little later.

More Info

The laptop's exact specification is: Razer Blade 14 - RZ09-0370

The newest BIOS is installed (via UEFI method).

I documented my entire workarounds and reasons in this Reddit post.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the heartbeat timeout on the Razer Blade 14 with CachyOS, then collect the requested nvidia-bug-report.log.gz alongside dmesg output. Check the behavior of nvidia-powerd and nvidia-smi while the timeout occurs, and compare it with the proprietary 580.142 driver. Done means the open driver no longer reports the GSP heartbeat timeout or leaves these commands hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.