gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

[NVIDIA DRM] GPU stuck in low-power state (~130W) after first game exit - requires gamescope restart

Open clintonruairi opened this issue 1 month ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • [x] The issue occurs on upstream gamescope without any modifications

Current Behavior

When running gamescope in embedded/DRM mode (gamescope-session), the first game launch after gamescope starts works perfectly - GPU runs at full power (~350W), smooth performance.

However, after exiting the game and launching any game again (same game or different), the GPU becomes stuck in a low-power state (~130W) despite high GPU utilization (90%+). Games run terribly (feels like 20fps) even though the GPU reports high utilization.

This persists for all subsequent game launches until gamescope is restarted or the system is rebooted.

First launch (works correctly):

clocks.current.memory [MHz], pstate, power.draw [W] 10251 MHz, P2, 350.22 W 10251 MHz, P2, 356.83 W 10251 MHz, P2, 355.75 W

Game runs smoothly at expected framerates. Second launch (broken):

clocks.current.memory [MHz], pstate, power.draw [W] 10251 MHz, P2, 103.91 W 10251 MHz, P2, 130.96 W

10251 MHz, P2, 132.85 W Game runs terribly despite 90%+ GPU utilization. Power draw is capped at ~130W instead of 350W+.

Key observations:

  • P-state remains P2 in both cases - it's the power draw that's wrong, not the performance state
  • Memory clocks are identical (10251 MHz) in both states
  • GPU utilization is high (90%+) in both cases, but power is severely limited
  • Restarting gamescope fixes the issue until the next game exit/relaunch cycle
  • Full system reboot also fixes it
  • Issue is not game-specific - happens with any game
  • Issue is not Proton-specific - persists across different Proton versions

Expected Behavior GPU should return to full-power operation when a new game is launched, regardless of whether a previous game was run in the same gamescope session.

Steps To Reproduce

  1. Boot into gamescope-session (embedded/DRM mode)
  2. Launch any game from Steam
  3. Verify game runs well, check nvidia-smi shows ~300-400W power draw
  4. Exit the game completely (back to Steam UI)
  5. Launch any game again (same or different)
  6. Observe severe performance degradation
  7. Check nvidia-smi - power draw is now stuck at ~130W despite high utilization

Hardware information

- Distro: CachyOS Linux (rolling)
- Kernel: 6.18.1-2-cachyos
- CPU: AMD Ryzen 7 7800X3D 8-Core Processor
- GPU: NVIDIA GeForce RTX 4090
- Driver Version: 580.119.02

Software information

- Desktop environment: gamescope-session (Steam Big Picture / embedded mode)
- Session type: DRM (embedded gamescope, no desktop environment)
- Gamescope version: 3.16.17 (gcc 15.2.1)
- Gamescope launch command(s): /usr/bin/gamescope --prefer-output * --xwayland-count 2 --hide-cursor-delay 3000 --fade-out-duration 200 --steam

Which gamescope backends have the issue you are reporting?

  • [ ] Wayland (default for nested gamescope)
  • [x] DRM (default for embedded gamescope, i.e. gamescope-session)
  • [ ] SDL
  • [ ] OpenVR

Logging, screenshots, or anything else

nvidia-smi during bad state shows no throttling reasons active:

Clocks Event Reasons Idle : Not Active Applications Clocks Setting : Not Active SW Power Cap : Not Active HW Slowdown : Not Active Sync Boost : Not Active SW Thermal Slowdown : Not Active Display Clock Setting : Not Active

PCIe link speed remains correct (16.0 GT/s) in both states.

Tested with completely stock gamescope-session config (no custom GAMESCOPECMD) - issue persists.

Attempting to force GPU clocks via nvidia-smi -lgc and nvidia-smi -lmc has no effect while in bad state.

Workaround: Restart gamescope between game sessions: systemctl --user restart [email protected]

Could not test nested gamescope - black screen on Nvidia + Wayland.

clintonruairi avatar Dec 16 '25 19:12 clintonruairi

I only have a Blackwell card now but I'll attempt to reproduce the issue in a bit. So far I can't reproduce this on 590.44.01 but let me try downgrading to 580.

matte-schwartz avatar Dec 17 '25 00:12 matte-schwartz

Thank you! Appreciate it

clintonruairi avatar Dec 20 '25 23:12 clintonruairi