[620.73.04] Regression: nvidia_0 raw backlight resets to 31 after s2idle suspend/resume on RTX 5070 Mobile

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start by reproducing the reset on the reported RTX 5070 Mobile system: set /sys/class/backlight/nvidia_0/brightness to 100, suspend with systemctl suspend, then inspect brightness and actual_brightness after resume. Compare behavior with driver 615.78.08 and review the attached bug report for clues about the suspend/resume path. Done means both values retain their pre-suspend setting after s2idle resume; the issue names no source file or test.

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

描述

bug
NVIDIA Open GPU Kernel Modules Version

620.73.04 (CachyOS prebuilt package: linux-cachyos-nvidia-open 7.3.6-3; regression began in 620.70.06, worked properly on 615.78.08)

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

Description: Arch Linux

Kernel Release

Linux arch 7.3.6-3-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 27 Nov 2026 07:43:35 +0000 x86_64 GNU/Linux

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

GPU 0: NVIDIA GeForce RTX 5070 Laptop GPU (UUID: GPU-6fde4c7d-0f03-6c4c-9ede-5e79d9db324f)

Describe the bug

After upgrading from driver 615.78.08 to the 620.xx series (620.70.06 and 620.73.04), the internal panel backlight interface (/sys/class/backlight/nvidia_0/brightness, type raw) fails to preserve its pre-suspend value across s2idle sleep cycles.

When the laptop is configured in discrete GPU mode in BIOS, setting brightness to 100 (max_brightness = 100) and suspending via s2idle causes both /sys/class/backlight/nvidia_0/brightness and actual_brightness to reset to 31 upon resume. The Wayland compositor (kwin_wayland / KDE Plasma 6.8.3) continues reporting 100% until the brightness slider is manually adjusted, leaving the display visibly dim.

To Reproduce
  • Preconditions:
    • Laptop: HP OMEN Slim Gaming Laptop 16-an0xxx (Intel Core Ultra 7 255H + NVIDIA GeForce RTX 5070 Max-Q / Mobile 10de:2d18 rev a1)
    • BIOS (HP AMI F.14) set to Discrete GPU mode (dGPU driving internal eDP-1 1920x1200 @ 165 Hz panel directly)
    • Desktop session: KDE Plasma 6.8.3 Wayland (kwin_wayland), nvidia-suspend.service and nvidia-resume.service enabled
  • Steps:
    1. Boot into discrete GPU mode and verify /sys/class/backlight/nvidia_0/brightness and actual_brightness both equal 100.
    2. Put the system into s2idle sleep (systemctl suspend).
    3. Wake the laptop from s2idle.
    4. Inspect cat /sys/class/backlight/nvidia_0/{brightness,actual_brightness} immediately after resume.
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info
  • Expected behavior: /sys/class/backlight/nvidia_0/brightness and actual_brightness should retain their pre-suspend value (100) upon s2idle resume, matching the behavior observed on driver 615.78.08 (kernel 7.3.1-1).
  • Proprietary driver checkbox note: Because this hardware is an NVIDIA Blackwell (GB206M / RTX 5070 Mobile) GPU, the legacy proprietary kernel module does not support this architecture; only the open GPU kernel modules (nvidia-open) are supported.
  • Workaround verified: Manually saving /sys/class/backlight/nvidia_0/brightness in a systemd/system-sleep hook prior to s2idle entry and writing it back 0.5s after s2idle exit restores the expected panel brightness cleanly.
主要语言
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 摘要。