[kde] [Bug 463549] New: Plasma with PRIME Render Offload wakes up my NVIDIA card when launching a KDE app on integrated GPU

Victorien Tronche bugzilla_noreply at kde.org
Wed Dec 28 14:35:21 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=463549

            Bug ID: 463549
           Summary: Plasma with PRIME Render Offload wakes up my NVIDIA
                    card when launching a KDE app on integrated GPU
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: victorien.tronche at gmail.com
  Target Milestone: ---

SUMMARY
Latest NVIDIA Drivers offers a good support of PRIME Render Offload. When not
used, the NVIDIA card "turns off" in D3cold power state. State can be checked
with cat /sys/class/drm/card1/device/power_state.

In KDE PLASMA, the card wakes up (state D0) when launching or closing somes
apps. It's the same for every KDE app (dolphin, discover...). The card status
is D0 when launching after a while it comes back to D3cold. Even if the NVIDIA
card is not used (nvidia-smi show no process). It's the same when you close an
app causing abnormal battery drain. 

I don't know if it's a Kde or a Nvidia bug, but pure QT apps or GTK4 apps
behave correctly : the card stays in D3cold state.



STEPS TO REPRODUCE
1. Open a terminal run "watch cat /sys/class/drm/card1/device/power_state"
2. Wait for a while. Your card switch to D3cold
3. Open dolphin
4.  Your card switch to D0
5.   Wait for a while. Your card switch back to D3cold
6. Open dolphin
7.  Your card switch to D0
8.   Wait for a while. Your card switch back to D3cold

I made a video of the bug (too big to be uploaded here):
https://cloud.zadafrik.com/s/AF6rcWAG4ENJsak

EXPECTED RESULT
 The card should stay in D3cold, as it's not used.

SOFTWARE/OS VERSIONS
KDE Plasma Version 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
NVIDIA Drivers : 525.60.11

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list