RTX 4070 Laptop (Ada): power capped at <=35 W after an AC transition, cleared only by a module reload; the SBIOS platform power query is never retried
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c, linux
- Área
- operating-systems, performance
Línea de trabajo
Start in platform_request_handler_ctrl.c at the two assertion sites, :2118 (PlatformRequestHandler failing to read the platform power mode from SBIOS) and :1505 (PshareStatus), and trace where the returned NV_ERR_INVALID_DATA is turned into a latched power ceiling rather than being retried. Reading PlatformRequestHandler and the AC-transition notification path is the prerequisite; the reporter's repro A (load, unplug, replug) reproduces it in about two seconds on the attached hardware. Done means a failed SBIOS query no longer latches a cap — either retried or treated as recoverable — and the 15–25 W collapse after replug no longer occurs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
On laptops running the open kernel modules, the dGPU can end up capped at
≤35 W while the SM clock stays high (P0, ≥2000 MHz). nvidia-smi reports
Idle: Active as the only clock-event reason, every named throttle reason
(SW Power Cap, HW Slowdown, HW Thermal Slowdown, Board Limit,
Reliability) is Not Active, the GPU sits at 39–48 °C, and the enforced limit
is still displayed as 115–133 W. The cap survives suspend/resume and does not
clear on its own; reloading the driver restores full power immediately.
It is not vendor-specific. The same failure, with the same
PlatformRequestHandler / SBIOS assertions, has been reported on:
| vendor / model | GPU | reported cap | source |
|---|---|---|---|
| Lenovo ThinkPad P14s Gen 6 | RTX PRO 1000 Blackwell | 25 W | #1310 |
| Lenovo LOQ 15AHP10 | RTX 5050 Laptop | below max TGP | #1393 |
| Lenovo LOQ 15IRX10 | RTX 5050 Laptop | 35 W of 100 W | forum 385103 |
| Razer Blade 16 | RTX 4070 Laptop | ~25 W of 80 W | forum 384084 |
| Acer Nitro ANV15-51 | RTX 4050 Laptop | same assertions, cap not quantified | forum 375988 |
| MSI Crosshair 16 HX (this report) | RTX 4070 Laptop | 15.8–25.7 W | here |
(An HP OMEN Max 16 case with the same symptom was root-caused to the Linux
hp-wmi driver rather than the NVIDIA module, so it is not counted here.)
What this report adds to those: an Ada machine, a bug report captured while
latched, a per-second timeseries of the collapse after an AC transition, and
the observation that a full module reload clears it with no reboot and no new
assertions.
The cap appears when the driver is running while the AC adapter is absent and
the GPU is loaded, and the adapter then returns. Unloading and reloading the
modules clears it completely with no reboot, and the reload logs no new
assertions — so the SBIOS query that fails at the transition succeeds seconds
later, and the driver never retries it.
This machine
The numbers in this report come from one MSI Crosshair 16 HX; the failure itself
is the cross-vendor one above.
Platform
| Laptop | MSI Crosshair 16 HX D14VGKG (MS-15P2) |
| BIOS | E15P2IMS.110 |
| CPU | Intel i7-14700HX |
| GPU | NVIDIA GeForce RTX 4070 Laptop 8 GB (Ada, 10de:2820), VBIOS 95.06.35.00.21, 115 W base TGP / 140 W max |
| Graphics mode | hybrid MUX, internal panel on the iGPU, dGPU at 01:00.0 |
| OS | Arch Linux, kernel 7.3.4-zen2-1-zen (stable; also seen on 7.3.4-arch1-1) |
| Driver | nvidia-open-dkms 620.73.04 and 620.70.06 — both affected |
nvidia-powerd |
running; stopping it is not a fix |
Symptom
| state | power | SM clock | P-state | clocks_event_reasons.active |
|---|---|---|---|---|
| healthy, AC, bf16 matmul | 132–139 W | 2535–2550 MHz | P0 | 0x400 |
| healthy, AC, FP32 burn | 77–80 W | 2550 MHz | P0 | 0x400 |
| latched, AC, any load | 15.8–25.7 W | 2175 MHz | P0 | 0x1 |
nvidia-smi -q names 0x1 Idle: Active, i.e. the driver reports the GPU as
idle while it is at P0, at 2175 MHz, under 100 % utilization. Every other named
reason (SW Power Cap, HW Slowdown, HW Thermal Slowdown,
HW Power Brake Slowdown, SW Thermal Slowdown, Board Limit, Reliability)
reports Not Active, and the GPU sits at 39–44 °C.
The enforced limit is not lowered. From the attached bug report, captured at
16.09 W / 100 % util / P0:
GPU Ceiling Power Limit
Current Power Limit : 133.16 W
Default Power Limit : 115.00 W
Max Power Limit : 140.00 W
Min Power Limit : 5.00 W
So the driver believes it may draw 133 W and delivers 16 W. The clamp is
downstream of the limit that nvidia-smi can read or set (nvidia-smi -pl is
rejected with "Changing power management limit is not supported in current scope
for GPU").
The assertion log at the transition (620.73.04):
NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025)
returned from PlatformRequestHandler failed to get platform power mode from SBIOS
@ platform_request_handler_ctrl.c:2118
NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025)
returned from PshareStatus @ platform_request_handler_ctrl.c:1505
NVRM: nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025)
returned from PlatformRequestHandler failed to get target temp from SBIOS
@ platform_request_handler_ctrl.c:2175
:2118 and :1505 fire in pairs, once per query, for as long as the adapter
state is changing (14 and 13 times in this boot); :2175 fires once at module
init.
Reproduction
A. Unplug and replug with the GPU under load. This is the path that happens
in practice, and it needs no reboot.
Boot on AC, start any sustained load, then pull the charger. The GPU falls to the
battery budget (22–45 W, clock drops, 0x24). Plug the charger back in, and the
card goes to P0 and then collapses within about two seconds:
t after replug power SM clock P-state mask
0 s 57.69 W 2295 MHz P0 0x4
1 s 27.72 W 2565 MHz P0 0x400
2 s 15.86 W 2175 MHz P0 0x1
3 s 15.82 W 2175 MHz P0 0x1
4 s 15.79 W 2175 MHz P0 0x1
...
The assertion pairs appear at the same second. Replugging again, or leaving it on
AC, does not recover it. The attached bug report was captured in this state.
B. Boot with the charger absent, then plug in. Reproduced on every battery
boot attempted (3 of 3, across both driver versions). The adapter is offline at
module init:
$ journalctl -b -k | grep ADP1
kernel: ACPI: AC: AC Adapter [ADP1] (off-line)
The GPU idles normally on battery (2.9–3.2 W, 210 MHz, P8). After plugging the
charger in and loading the GPU it settles at 25.4–25.7 W, 2175 MHz, P0, 0x1,
and stays there for as long as the machine is up — still 25.7 W 63 minutes later,
across an S3 suspend/resume cycle.
Note that a battery boot with the GPU left idle while unplugged did not latch
in one attempt, whereas the same flap with the GPU loaded latched within one
second. Load, not charge state, is the variable in our data.
What does not help
nvidia-smi -pm 1(persistence mode), PowerMizer "Prefer maximum performance"nvidia-smi -lgc(clock reporting changes, power does not)powerprofilesctl set performance, CPU governorperformance- suspend to RAM and resume (the idle state briefly looks healthy, the first load
drops straight back to ≤35 W) - stopping
nvidia-powerdunder load (memory clock and P-state recover, power
stays low) - driver 620.73.04 vs 620.70.06 — identical behaviour
What fixes it: full module re-init, no reboot
Stopping the graphical session, stopping nvidia-powerd, unloading the four
modules and loading them again clears the cap completely, including about a
minute after the replug:
$ systemctl isolate multi-user.target # compositor must release the DRM nodes
$ systemctl stop nvidia-powerd # holds /dev/nvidiactl and /dev/nvidia0
$ modprobe -r nvidia_drm nvidia_modeset nvidia_uvm nvidia
$ modprobe nvidia && modprobe nvidia_drm modeset=1
$ systemctl start nvidia-powerd
# no new NV_ERR_INVALID_DATA assertions during the reload
$ nvidia-smi --query-gpu=power.draw,clocks.sm,pstate --format=csv,noheader
134.31 W, 2550 MHz, P0
134.78 W, 2550 MHz, P0
135.06 W, 2550 MHz, P0
Verified three times. Requirements: the compositor must be stopped rather than
merely VT-switched, and nvidia-powerd must be stopped first because it holds
/dev/nvidiactl and /dev/nvidia0 without appearing in nvidia-smi's process
list.
The observation I think matters
The re-init succeeds immediately after the replug and logs no new assertion,
so at that moment the SBIOS is returning a valid platform power mode — the same
query that failed at the transition and again when the GPU was first loaded
afterwards. Two consequences:
- the firmware answer is not permanently broken; and
- the driver does not retry the query once it has failed, so a transient failure
becomes a persistent ≤35 W ceiling until the module is reloaded.
If that reading is correct, retrying the platform-mode query (or treating a
failed one as recoverable instead of latching a power ceiling) would resolve this
class of report on platforms whose firmware answers badly during an AC
transition.
Related reports
The table at the top covers the other affected machines. Two further items matter
for triage:
- #1360 — assertion-only report, described there as "boot-only cosmetic". On
these machines the assertions are not cosmetic: they accompany a 5× power cap. - PR #1402 skips the init-time system-limit update, which removes the assertion
lines but not the cap. PR #1531 re-reads the dynamic budget on
Notify(NPCF, 0xC0); its description states that an invalid SBIOS answer is
unchanged, which is the state here.
Developer-forum threads, all with the same assertions:
- RTX 5050 Laptop, Lenovo LOQ 15IRX10, 595.91.07 —
https://forums.developer.nvidia.com/t/rtx-5050-laptop-lenovo-loq-15irx10-power-limit-stuck-at-35-w-max-100-w-without-nvidia-powerd-sbios-platformrequesthandler-errors-595-91-07/385103 - RTX 4070 Laptop, Razer Blade 16, 615.71.09 — power ~25 W of an 80 W ceiling,
same assertions at boot —
https://forums.developer.nvidia.com/t/rtx-4070-laptop-razer-blade-16-persistent-board-limit-clock-cap-display-corruption-above-60hz-driver-615-71-09-platformrequesthandler-sbio/384084 - RTX 4050 Laptop, Acer Nitro ANV15-51,
:2175target-temp assertion —
https://forums.developer.nvidia.com/t/nvrm-failed-to-get-target-temp-from-sbios-failed-to-get-platform-power-mode-from-sbios-on-rtx-4050-laptop-gpu/375988
Attachments
nvidia-bug-report.log.gz— captured while latched: 16.09 W, 100 %
utilization, P0, 2175 MHz, 43 °C,Idle: Active,Current Power Limit 133.16 W, 28NV_ERR_INVALID_DATAassertions.
I can provide acpidump, a healthy-state report for comparison, or test a
candidate patch on this machine (Ada, hybrid, both triggers reproduce on demand).
- Lenguaje dominante
- C
- Estrellas
- 17.7k
- Forks
- 2k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/open-gpu-kernel-modules
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Los mantenedores suelen responder en 1 día
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootPosiblemente ocupada @SammyTourani la tomó hace 69 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/open-gpu-kernel-modules
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Jstar269/nakagawa-recomp#3753 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
ly05010419/MacNativeGames#2474 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Life-Framework/Life-Framework#7017 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
gjrtimmer/jetson-nvmpi#170 ·