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

            Bug ID: 407196
           Summary: plasmashell wakes up a lot (eating CPU and battery) on
                    stock configuration
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: d...@dosowisko.net
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY

Seems like Application Launcher widget is somewhat responsible for elevated CPU
(and battery) usage on plasmashell.

STEPS TO REPRODUCE
1. Run a vanilla clean Plasma session.
2. Wait a but until everything finishes launching and becomes idle.
3. Attach strace to a running plasmashell process ("sudo strace -f -p `pidof
plasmashell`")

OBSERVED RESULT
Lots of repeated polls with timeout values less than 20ms, easily eating
significant amounts of CPU (around 5% here).

EXPECTED RESULT
Some occasional polls, plasmashell achieving <1% CPU usage when idle.

--------------------------------------
Afterwards (additional info gathered when investigating):

STEPS TO REPRODUCE
1. Remove Application Launcher widget from the default panel.
2. Add it back.

OBSERVED RESULT
plasmashell becomes way more CPU friendly.

--------------------------------------

STEPS TO REPRODUCE
1. Restart plasmashell.

OBSERVED RESULT
plasmashell becomes CPU hungry again.

EXPECTED RESULT
plasmashell should still be CPU friendly.

--------------------------------------

STEPS TO REPRODUCE
1. Remove Application Launcher.
2. (optionally) Add Application Menu.
3. Restart plasmashell.

OBSERVED RESULT
Plasma is still CPU friendly 

SOFTWARE/OS VERSIONS

Tested with latest (2019-05-03) Neon Developer Edition ISO.

ADDITIONAL INFORMATION

All the steps above suggest that something is wrong with Application Launcher
widget, but only when it's loaded together with Plasma and/or panel (adding it
with a default panel causes the same result as restarting whole Plasma).

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

Reply via email to