620.70.06: RTX 5060 Laptop (GB206M): PCIe link permanently fails on D3cold wake (AER UnsupReq), GPU disappears and poweroff hangs,in the rogG18FM

未关闭
#1,560 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, linux

调研方向

Start by reviewing the PCIe AER and D3cold wake logs in the issue, then trace the GPU power management and PCIe recovery paths in the open kernel module source. Reproduce the wake sequence with RTD3 enabled and collect the requested nvidia-bug-report log if available. Done means waking the GPU no longer permanently breaks its PCIe link or causes the reported shutdown hang.

由索引模型根据 Issue 内容生成。

描述

bug
NVIDIA Open GPU Kernel Modules Version

620.70.06

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

fedora45

Kernel Release

Linux 7.3.3-300.fc45.x86_64

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 5060 Laptop GPU

Describe the bug

When the dGPU is in D3cold, waking it can permanently kill its PCIe link. Reproduced on three consecutive boots, each time within seconds of a GPU wake (Steam launch, Plasma logout, or a plain nvidia-smi -L after idle):

kernel: pcieport 0000:00:01.1: AER: Uncorrectable (Non-Fatal) Error message received from 0000:00:01.1
kernel: pcieport 0000:00:01.1: PCIe Bus Error: severity=Uncorrectable (Non-Fatal)
kernel: pcieport 0000:00:01.1:   device [1022:14db] error status/mask=00100000/00400000
kernel: pcieport 0000:00:01.1:   [20] UnsupReq          | Receiver    | Transaction Layer (First)
kernel: pcieport 0000:00:01.1: AER:   TLP Header: 0x00000000 0x00000000 0x00000000 0x00000000
kernel: snd_hda_intel 0000:01:00.1: AER: can't recover (no error_detected callback)
kernel: NVRM: GPU 0000:01:00.0: PCIe link reported as permanently failed; GPU remains inaccessible
kernel: pcieport 0000:00:01.1: AER: device recovery failed

Consequences:

  • nvidia-smi -L returns No devices found; the GPU is gone until reboot.
  • The Plasma session exits in the same second as the link failure.
  • nvidia-powerd spins and floods the journal: 787,530 lines in one boot, 8.9M messages suppressed in another; 3m46s CPU; it is unkillable (D state) even with SIGKILL.
  • Poweroff then takes 4m31s:
20:44:35 systemd-logind: poweroff requested ...
20:45:20 systemd[1]: nvidia-powerd.service: State 'stop-sigterm' timed out. Aborting.
20:45:35 systemd[1]: [email protected]: State 'stop-sigterm' timed out. Aborting.
20:45:35 systemd[1]: [email protected]: Killing process 4014 (nvidia-smi) with signal SIGKILL.
20:46:05 systemd[1]: nvidia-powerd.service: State 'stop-watchdog' timed out. Killing.
20:47:36 systemd[1]: nvidia-powerd.service: State 'final-sigterm' timed out. Aborting.
20:48:21 systemd[1]: nvidia-powerd.service: State 'final-watchdog' timed out. Killing.
20:49:06 systemd[1]: Failed unmounting home.mount - /home
20:49:06 systemd[1]: Reached target poweroff.target - System Power Off.

Boot-time assertion, present even when no link failure occurs:

NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PlatformRequestHandler failed to get platform power mode from SBIOS @ platform_request_handler_ctrl.c:2118
NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PshareStatus @ platform_request_handler_ctrl.c:1505

Failure timestamps (UTC+8): 20:14:04, 20:40:40, 21:06:30. The first one was during Steam startup, the second during logout, the third during an nvidia-smi query after idle.

To Reproduce
  1. Boot with supergfxd in Hybrid mode and RTD3 enabled (NVreg_DynamicPowerManagement=3).
  2. Let the dGPU go to D3cold.
  3. Wake it (nvidia-smi -L, start Steam, or log out/in).
  4. The AER/NVRM sequence above appears within seconds.
Bug Incidence

Once

nvidia-bug-report.log.gz

尚未附上;如果需要,我可以提供。 系统目前正在运行以下变通办法,因此可以再次访问GPU。

More Info

No response

主要语言
C
星标
17.7k
派生
2k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/open-gpu-kernel-modules 的其他 Issue

查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。