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

Aperta
#1,626 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
C
Stelle
17.7k
Fork
2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/open-gpu-kernel-modules

Tutte le issue di NVIDIA/open-gpu-kernel-modules

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.