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

Ouverte
#1,626 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
c, linux

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
C
Étoiles
17.7k
Forks
2k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de NVIDIA/open-gpu-kernel-modules

Toutes les issues de NVIDIA/open-gpu-kernel-modules

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.