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

Aberta
#1,626 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
c, linux

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
C
Estrelas
17.7k
Forks
2k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/open-gpu-kernel-modules

Todas as issues de NVIDIA/open-gpu-kernel-modules

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.