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

Abierto
#1,626 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
c, linux

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
C
Estrellas
17.7k
Forks
2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/open-gpu-kernel-modules

Todos los issues de NVIDIA/open-gpu-kernel-modules

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.