Skip to content

[Bug] RTX 5050 Mobile (GB107): Open Kernel Module fails to handle ACPI power source change during s2idle, resulting in GPU bus detachment and shutdown/reboot hang (non-zero usage count) #1209

Closed

Description

@kavyanshjoshi-debug

NVIDIA Open GPU Kernel Modules Version

595.80

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

Fedora 44 workstation

Kernel Release

7.0.12-201.fc44.x86_64

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

Nvidia RTX 5050

Describe the bug

When the system is placed into modern standby (s2idle), plugging or unplugging the AC power adapter triggers an ACPI power state change. The open-source nvidia module completely fails to handle this Power Source change event (returns status=0x11).

Because the module panics, it immediately drops the GPU from the PCIe bus and attempts to forcibly unbind it. Upon waking, the display turns on via the AMD iGPU, but the NVIDIA GPU is completely detached (nvidia-smi returns no devices found).

Because nvidia-drm still has active memory allocations tied to the Wayland session
or display manager, the forceful removal creates a zombie device. Subsequent attempts to cleanly reboot or shutdown the system result in an infinite kernel hang because the kernel cannot unbind the device due to a non-zero usage count.

Hardware Profile

  • Device: Lenovo LOQ Laptop
  • CPU: AMD Ryzen 7
  • GPU: NVIDIA GeForce RTX 5050 Mobile (8GB GDDR7, Architecture: Blackwell)
  • RAM: 16 GB DDR5 5600MHz

To Reproduce

Exact Steps to Reproduce

  • Boot the laptop normally with AC power connected (Hybrid Graphics mode active in BIOS).
  • Close the laptop lid to trigger system suspend (s2idle / S0ix).
  • While the lid is closed, physically unplug the AC power adapter (triggers ACPI state change).
  • Reconnect the AC power adapter.
  • Open the laptop lid to wake the system. The screen will successfully turn on via the AMD iGPU.
  • Open a terminal and run nvidia-smi
  • Attempt to sudo reboot or sudo shutdown now.

Expected vs. Actual Behavior

Expected Behavior: The driver gracefully handles the power source change while in s2idle, resumes the RTX 5050 normally upon lid open, and allows for a clean system shutdown.

Actual Behavior: nvidia-smi crashes stating no devices are found. The shutdown command hangs the system indefinitely at the console screen, requiring a hard force-power-off via the physical power button.

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

Hardware Profile

  • Device: Lenovo LOQ Laptop
  • CPU: AMD Ryzen 7
  • GPU: NVIDIA GeForce RTX 5050 Mobile (8GB GDDR7, Architecture: Blackwell)
  • RAM: 16 GB DDR5 5600MHz

Kernel Log & Failure Trace

The point of failure during the ACPI state change triggers the following dmesg / journalctl output:

The Power State Panic:

Jun 19 00:51:18 Kavy-fedora-loq kernel: NVRM: rm_power_source_change_event: rm_power_source_change_event: Failed to handle Power Source change event, status=0x11
Jun 19 00:51:18 Kavy-fedora-loq kernel: amdgpu 0000:05:00.0: [drm] PCIE GART of 512M enabled (table at 0x000000801FD00000).
Jun 19 00:51:18 Kavy-fedora-loq kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Removing device
Jun 19 00:51:18 Kavy-fedora-loq kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver

The Zombie Device / Shutdown Hang Condition:

Jun 19 00:51:19 Kavy-fedora-loq kernel: nvidia-modeset: nvidia-modeset: ACPI reported no NVIDIA native backlight available; attempting to use ACPI backlight.
Jun 19 00:51:19 Kavy-fedora-loq kernel: NVRM: Attempting to remove device 0000:01:00.0 with non-zero usage count!

Attempted Mitigations (Failed)

  1. Systemd NV Power Services: Enabled nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service, alongside setting the module parameters:
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_DynamicPowerManagement=0x02
options nvidia NVreg_EnableS0ixPowerManagement=1

Result: The crash still occurs exactly as described above.
2. Forcing Proprietary Module: Attempted to swap akmod-nvidia-open for the closed-source akmod-nvidia.
Result: The driver architecture still natively forces the open RM kernel module for the RTX 50-series (Blackwell), so the panic persists.
3. BIOS MUX Switch: Changing the BIOS from "Dynamic Graphics" to "Discrete Graphics Only".
Result: This successfully bypasses the bug, confirming this is strictly a power-routing/Optimus handoff issue within the open module.

Activity

  1. added
    bug
    on Jun 18, 2026
  2. kavyanshjoshi-debug commented on Jun 19, 2026

    @kavyanshjoshi-debug
    Author

    Important Context: This issue began immediately after installing a 'Critical' GPU VBIOS update provided by Lenovo via Vantage. It appears the Open Kernel Module is failing to parse or handle the ACPI/D3cold power state handoffs defined in the new VBIOS tables.

  3. francoism90 commented on Jun 20, 2026

    @francoism90

    Could you link to the GPU/VBIOS support page? It should be listed on their website.

  4. kavyanshjoshi-debug commented on Jun 20, 2026

    @kavyanshjoshi-debug
    Author

    I was lenovo smart iGPU setting that was turning off the dGPU.
    I contacted lenovo support and they fixed it

  5. cavanaug commented on Sep 18, 2026

    @cavanaug

    Same rm_power_source_change_event ... status=0x11 on a different hybrid laptop; opened as a new issue rather than reopening this one.

    This ticket was closed as a Lenovo iGPU/BIOS setting, and the follow-on here was GPU detach + shutdown hang on Blackwell. The machine in #1372 is Intel Tiger Lake + TU117 T1200 (10de:1fbc), HP ZBook Fury G8, Thunderbolt 4 undock with the lid already closed:

    • 0x11 is NV_ERR_GPU_NOT_FULL_POWER in nvstatuscodes.h
    • GPU stays in nvidia-smi (no bus detach / usage-count removal)
    • nv_pm_notifier returns NOTIFY_BAD, so s2idle/hibernate is aborted (Operation not permitted) and stays that way until reboot

    Driver: nvidia-open 610.57.04, UseKernelSuspendNotifiers=1, PreserveVideoMemoryAllocations=0.

    Details and journal: #1372

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions