Skip to content

Periodic ACPI NVPCF notifications runtime-resume GB205 laptop GPU from D3cold #1300

Open

Description

@awalterwiley

NVIDIA Open GPU Kernel Modules Version

610.57.04 (nvidia-open-dkms 610.57.04-1)

Proprietary-driver comparison

Not applicable: this is a Blackwell GB205 laptop GPU, which requires the open
kernel modules. A same-version proprietary-kernel-module comparison is not
available.

Operating System and Version

Omarchy 4.0.0-1 (Arch Linux based)

Kernel Release

Linux zeph 7.1.8-arch1-3 #1 SMP PREEMPT_DYNAMIC Tue, 11 Aug 2026 09:16:08 +0000 x86_64 GNU/Linux

This is a stable, non-RC Arch kernel.

Hardware

  • Laptop: ASUS ROG Zephyrus G14 GU405AR
  • BIOS: GU405AR.302
  • iGPU: Intel Panther Lake (xe, PCI 8086:b0a0)
  • dGPU: NVIDIA GeForce RTX 5070 Ti Laptop GPU / GB205
  • dGPU PCI functions: 10de:2f58 at 0000:01:00.0, HDA 10de:2f80 at 0000:01:00.1
  • Graphics mode: Hybrid/PRIME; Intel drives the internal display

Describe the bug

While running on battery, ACPI notifications delivered through the NVIDIA
platform device at \_SB.NPCF periodically runtime-resume an otherwise idle
RTX 5070 Ti from D3cold. The resume path is inside the NVIDIA open module's
ACPI notification handling, not a userspace GPU query.

Both NVIDIA PCI functions normally remain runtime_status=suspended and
power_state=D3cold. PRIME offload works, and the GPU returns to D3cold about
25 seconds after a workload exits. Nevertheless, a kernel ftrace kprobe on
nv_pmops_runtime_resume captured the following spontaneous resume:

kworker/10:2-271 [010] .....: g14_nv_resume: (nv_pmops_runtime_resume+0x4/0x70 [nvidia])
 <stack trace>
 => kprobe_trace_func
 => kprobe_dispatcher
 => kprobe_ftrace_handler
 => crypto_ccm_module_init
 => nv_pmops_runtime_resume
 => __rpm_callback
 => rpm_callback
 => rpm_resume
 => __pm_runtime_resume
 => pci_device_shutdown
 => nv_indicate_not_idle
 => os_ref_dynamic_power
 => RmUnixRmApiPrologue
 => rm_acpi_notify
 => acpi_ev_notify_dispatch
 => acpi_os_execute_deferred
 => process_one_work
 => worker_thread
 => kthread
 => ret_from_fork
 => ret_from_fork_asm

The platform device is present and functional:

$ cat /sys/bus/acpi/devices/NVDA0820:00/path
\_SB_.NPCF
$ cat /sys/bus/acpi/devices/NVDA0820:00/status
15

A controlled ten-minute battery run at 60 Hz and power-saver, without
nvidia-smi, NVML monitors, or user interaction, recorded three wake cycles:

11:32:51 Enabling HDA controller
11:36:03 Enabling HDA controller
11:39:49 Enabling HDA controller

Each cycle kept the GPU in D0 for roughly 20–25 seconds. Whole-laptop draw rose
from a D3cold median of 9.20 W to approximately 15–19 W during those cycles.
The full-run median was 9.30 W, but the wakeups raised the mean to 11.00 W.

This appears to be the same ACPI/NVPCF wake path reported in #860, now
reproduced on GB205 with 610.57.04. It may also be related to the Blackwell
\_SB.NPCF integration problems in #1162, although that issue primarily
describes Dynamic Boost/PMO construction rather than periodic RTD3 wakeups.

To Reproduce

  1. Boot the GU405AR in Hybrid mode on battery with NVIDIA open 610.57.04.
  2. Keep both functions runtime-managed:
    power/control=auto for 0000:01:00.0 and 0000:01:00.1.
  3. Close all explicit NVIDIA workloads and wait until both functions report
    runtime_status=suspended and power_state=D3cold.
  4. Do not run nvidia-smi, NVML-based widgets, nvtop, or repeated PCI config
    probes.
  5. Trace nv_pmops_runtime_resume and wait. A firmware notification reaches
    rm_acpi_notify, calls os_ref_dynamic_power, and resumes the GPU.
  6. The GPU returns to D3cold after the transient, then repeats the cycle a few
    minutes later.

The issue reproduced three times during one ten-minute measurement and again
within 50 seconds during a separate bounded ftrace capture.

Bug incidence

Always on battery during the observed tests; timing is periodic but not fixed.

Expected behavior

An ACPI/NVPCF notification that does not require GPU work should not take a
runtime-suspended GPU out of D3cold. The driver should avoid acquiring a
dynamic-power reference when the notification can be handled or rejected
without powering the GPU.

Additional information

  • NVreg_DynamicPowerManagement=3 resolves to fine-grained RTD3.
  • nvidia-persistenced is inactive.
  • nvidia-powerd is active, but it does not prevent D3cold; it logs that SBIOS
    requested disabling the Dynamic Boost DC controller.
  • The NVIDIA HDA function also reaches D3cold.
  • The internal display and desktop renderer are Intel/Xe.
  • No ACPI-table override or driver parameter workaround has been applied.

nvidia-bug-report.log.gz

Generated immediately after reproduction:

nvidia-bug-report-g14-nvpcf.log.gz

SHA-256:
19646df16707c9c966ca3ee47c4de9e928873895ea53f63e1ac20fa9685fa9da

Activity

  1. lars76 commented on Aug 16, 2026

    @lars76

    This is related to my PR #1299. On my machine (GA403UI) the per-1% battery tick arrives via the _SB.NPCF platform device. Your stack shows the wake entering through rm_acpi_notify, a notification on the GPU's own ACPI device, which #1299 intentionally leaves untouched. So #1299 alone will probably not stop your wakes.

    #1181 also guards that handler and would likely silence your wakes, but it drops the notification. The notification tells the driver to read new settings from the firmware (for example a new GPU temperature target). If it is dropped, the driver keeps the old settings, because nothing re-reads them later. The safer solution is probably to extend the defer-and-replay pattern from #1299 to this handler as well. I have not done that because my machine only reproduces the NPCF path, so I could not test it.

    On my laptop these wakes cost about 20% of battery runtime, and judging by #860, #905 and #1201 the same thing hits a lot of hybrid laptops. That is why I ended up fixing it myself in the way that made most sense to me. Where the fix should finally live is of course NVIDIA's call.

  2. GITErnesO commented on Sep 4, 2026

    @GITErnesO

    I can reproduce what appears to be the same issue on an ASUS TUF Gaming A16 with an Ada RTX 4050 Laptop GPU, but with a much higher NVPCF notification frequency.
    System

    • ASUS TUF Gaming A16 FA607NUG
    • BIOS: FA607NUG.306 (latest available BIOS)
    • AMD Ryzen 7 7445HS
    • AMD Radeon 740M iGPU
    • NVIDIA GeForce RTX 4050 Laptop GPU (AD107M, 10de:28e1)
    • NVIDIA HDA function: 10de:22be
    • Linux Mint (Ubuntu Noble base)
    • Kernel: 7.0.0-31-generic
    • Cinnamon / X11
    • PRIME hybrid / render-offload configuration

    Drivers tested

    The behavior is reproducible with:

    • 595.84 open kernel modules
    • 595.84 proprietary kernel modules
    • 610.43.02 proprietary kernel modules

    I am currently back on 595.84 open.

    ACPI NPCF device
    This system exposes:

    _SB_.NPCF
    status: 15

    modalias: acpi:NVDA0820:
    with the driver bound at:

    /sys/devices/LNXSYSTM:00/LNXSYBUS:00/NVDA0820:00/driver

    Runtime D3 status: Enabled (fine-grained)
    Video Memory: Active

    GPU Hardware Support:
    Video Memory Self Refresh: Supported
    Video Memory Off: Supported

    The GPU does successfully enter runtime suspend. However, it normally remains suspended for a second and then a wakeup.

    Then traced nv_acpi_nvpcf_event directly. The 0xC0 notifications arrive in pairs approximately every 22–24 seconds:

    bpftrace:

    rpm_resume
    pci_resume_one
    __pci_walk_bus
    pci_walk_bus
    pci_resume_bus
    pci_pm_runtime_resume
    __rpm_callback
    rpm_callback
    rpm_resume
    __pm_runtime_resume
    pci_device_shutdown
    nv_indicate_not_idle
    os_ref_dynamic_power
    rm_acpi_nvpcf_notify
    nv_acpi_nvpcf_event
    acpi_ev_notify_dispatch

    I then traced nv_acpi_nvpcf_event directly. The 0xC0 notifications arrive in pairs approximately every 22–24 seconds:

    17:56:29 NVPCF type=0xc0 comm=kworker/4:1 pid=133
    17:56:30 NVPCF type=0xc0 comm=kworker/4:2 pid=507
    17:56:52 NVPCF type=0xc0 comm=kworker/10:2 pid=1769
    17:56:53 NVPCF type=0xc0 comm=kworker/10:1 pid=157
    17:57:16 NVPCF type=0xc0 comm=kworker/4:2 pid=507
    17:57:16 NVPCF type=0xc0 comm=kworker/4:1 pid=133

    Out of curiosity, removed NVIDIA from XOrgs list and:

    $ xrandr --listproviders
    Providers: number : 1
    Provider 0: id: 0x59 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 7 associated providers: 0 name:AMD Radeon 740M Graphics @ pci:0000:66:00.0

    nvidia-smi without procecesses and still a wakeup from suspend.

    BIOS current, killed nvidia-persistence, applet, DRM, and mostly everything :).

    And still, it wakes from suspend every 22 seconds.

  3. nhagedorn1-a11y commented on Oct 8, 2026

    @nhagedorn1-a11y

    Same bug on ASUS ProArt P16 H7606WX (RTX 5090 Laptop, 10de:2c18), BIOS H7606WX.304, driver 615.71.09 open, kernel 6.18.55.

    Here the trigger is EC Query 0xB6 → _QB6 → STPL() → Notify(NPCF, 0xC2) + Notify(NPCF, 0xC0) on every 1% battery drop. Below 50% STPL writes identical values each time, so the notifications carry no new information. Each one costs ~24s awake at ~10W extra (11.3W vs 21.2W system draw), ≈1.6W average.

    Confirmed by patching only _QB6 to Noop in the DSDT: three consecutive % drops produced zero wakes.

    +1 for #1299 / #1181.

  4. Frnib commented on Oct 27, 2026

    @Frnib

    Same issue on Ampere, so it is not Blackwell-specific.

    System

    • Razer Blade 14 (RZ09-0370), BIOS 1.06 (2021-06-07)
    • AMD Ryzen (Cezanne) iGPU + RTX 3080 Laptop (GA104M, 10de:249c)
    • 615.78.08 open kernel modules, kernel 7.2.11-zen1, KDE Plasma 6.8.1 Wayland
    • NVreg_DynamicPowerManagement=0x02, Runtime D3 status: Enabled (fine-grained)

    Behavior
    No clients on the dGPU (fuser empty, nvidia_drm refcount 0, nvidia-powerd/nvidia-persistenced stopped, no displays on the dGPU). The GPU suspends and is resumed ~1 s later in a fixed ~23 s cycle, on AC and on battery: 72.4 s active vs. 2.5 s suspended over 75 s on battery.

    16:36:07.351 suspended
    16:36:08.260 resuming
    16:36:30.379 suspended
    16:36:31.289 resuming
    16:36:53.708 suspended
    16:36:54.314 resuming
    

    Every rpm_resume of 0000:01:00.0 in a 50 s trace comes from the NPCF device (NVDA0820:00):

    kworker/0:2-208  967.968940: rpm_resume: 0000:01:00.0 flags-0 cnt-1 ...
     => rpm_resume
     => __pm_runtime_resume
     => pci_device_shutdown
     => nv_indicate_not_idle
     => os_ref_dynamic_power
     => rm_acpi_nvpcf_notify
     => acpi_ev_notify_dispatch
     => acpi_os_execute_deferred
    

    Wakes at 967.97, 990.91 and 1013.84 s. Here the notifications come in on the NPCF path (rm_acpi_nvpcf_notify), not rm_acpi_notify, so the defer-and-replay approach from #1299 looks like it should cover this machine.

    Current workaround: unload the nvidia modules and remove the PCI device while on battery.

    nvidia-bug-report.log.gz follows in the next comment.

  5. Frnib commented on Oct 27, 2026

    @Frnib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions