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

            Bug ID: 497668
           Summary: Continous power usage and battery draining
                    (plasmashell & kwin).
    Classification: Plasma
           Product: plasmashell
           Version: git-stable-Plasma/6.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-performance
          Assignee: plasma-b...@kde.org
          Reporter: apd...@hotmail.com
  Target Milestone: 1.0

Created attachment 176755
  --> https://bugs.kde.org/attachment.cgi?id=176755&action=edit
Debug log of plasmashell.

SUMMARY

When plasmashell is set to auto-hide, it is common to enter an infinite loop
and cause high CPU usage and power draining. There is a number of situations
that will trigger the bug, like receiving a notification from network
connection.

This caused significant battery drain in both laptops tested. The issue
persists in both the kde-neon-testing and kde-neon-user. I will attach a log
with my finding later.

The behaviour can be triggered easily in any KDE neon live cd or Kubuntu. It
affects both X11 and Wayland.

I have checked the C++ source and found that plasmashell is receiving an
infinite number of UpdateRequests. Will attach a log soon.

STEPS TO REPRODUCE
1.  On neon live cd, boot and open a terminal with top. 
2. Open panel settings and set visibility to Auto Hide
3. Close settings and keep mouse outside of panel.

    *OR*
1.   Set plasmashell to auto-hide. Enter airplane mode  with keyboard shortcut.
Exit airplane mode with keyboard. 
2. When notification about network connection is received and panel is hidden,
plasmashell enters an infinite loop that consumes cpu together with kwin. 

The behaviour is back to normal when the panel is shown by moving the mouse at
the bottom of the screen.


OBSERVED RESULT

Unnecessary CPU usage and battery drain.

EXPECTED RESULT

No/little CPU usage when user idle.


SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  6.2.3 (additionally affects all KDE Plasma versions tested
so far >6).
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

Screenshot 1
Plasmashell debug log.

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

Reply via email to