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

            Bug ID: 471493
           Summary: Discrete GPU is not turning off when using on-demand
                    mode in Wayland session
    Classification: Plasma
           Product: kwin
           Version: 5.27.6
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ilk...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Discrete GPU is not turning off when using on-demand mode in Wayland session.

***


STEPS TO REPRODUCE
1.  Open a Wayland session
2.  Check compositor is enabled and discrete GPU is  on-demand mode.  
3.  Connect an external monitor that uses discrete GPU, observe the card is
turned on ( cat runtime_status)
4.  Disable the monitor using display configuration widget

OBSERVED RESULT
Discrete GPU is still  turned on and high power consumption
To check this I use:   cat
/sys/bus/pci/devices/0000:01:00.0/power/runtime_status

EXPECTED RESULT
In about 30 seconds discrete GPU should be turned off
NOTES:  
a. Same steps on X11 works as expected. 
b. If the monitor is physically disconnected (at step 4) then it works as
expected. 
c. Interestingly, after step 4 if I go to compositor settings and change any
setting and apply then GPU turns off as expected.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Kubuntu 
(available in About System)
KDE Plasma Version:  5.27.6
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to