Bug 499373

Summary: Spectacle wakes up the dGPU and keeps it powered on if nvidia-vaapi-driver is installed
Product: [Applications] Spectacle Reporter: Valeri <v19930312>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 24.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Valeri 2025-02-01 00:22:19 UTC
SUMMARY
On an AMD iGPU + Nvidia dGPU setup Spectacle will power on the dGPU when it's launched and will keep it active while open if and only if nvidia-vaapi-driver (libva-nvidia-driver on arch) is installed. This results in increased start time and power draw.

STEPS TO REPRODUCE
1. Install nvidia-vaapi-driver
2. Launch spectacle

OBSERVED RESULT
dGPU will get powered up and stay that way until spectacle is closed. Spectacle will also launch slower than it does without nvidia-vaapi-driver.

EXPECTED RESULT
dGPU will stay powered down or at least will power down soon after spectacle starts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Frustratingly, neither nvtop nor nvidia-smi show spectacle as using the dGPU, making it relatively hard to understand why is it staying powered up.
Comment 1 Noah Davis 2025-02-01 03:16:00 UTC
Seems like https://bugs.kde.org/show_bug.cgi?id=476866

*** This bug has been marked as a duplicate of bug 476866 ***