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

            Bug ID: 487895
           Summary: Plasmashell, kwin_x11 and Xorg high CPU usage after
                    switching virtual desktops with an auto-hide panel
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: rpbik...@xs4all.nl
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY
Plasmashell seems to cause high CPU use in kwin_x11 and Xorg. Typical CPU use
is ~ 25 % kwin_x11, ~ 15% Xorg and ~ 10 % plasmashell. The CPU use continues
for several minutes, without user interaction or any screen activity.

Doing a 'kill -STOP pid' / 'kill -CONT pid' pause test from a remote shell
shows that when either kwin_x11 or Xorg is paused, plasmashell's CPU use
continues. When plasmashell is paused, both kwin_x11 and Xorg stop using CPU. 

It is triggered by switching to another virtual desktop using a shortcut or a
touchpad gesture. It's related to the panel. Making the panel visible (it has
auto-hide enabled), either by mouse movement or the META key, stops the CPU
use. Switching virtual desktops starts it again. Switching virtual desktop
using the pager in the panel has no effect on CPU, probably because then the
panel is already visible.

The panel has start button, (full) task manager, virt. desktop pager, system
tray and digital clock.

STEPS TO REPRODUCE
1. Have a panel on auto-hide
2. Have 'top' running in a konsole or any other cpu indicator and verify there
is no significant CPU use
3. Switch to another virtual desktop and back.
4. Observe double digit CPU use in kwin_x11, plasmashell and Xorg
5. Wait as long as you like.
6. Briefly make the panel visible
7. Observe the CPU use drop.

OBSERVED RESULT
High CPU use, lasting several minutes.

EXPECTED RESULT
Brief CPU use, than idle.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.8.10-300.fc40.x86_64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 7,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: Dell Inc.
Product Name: XPS 13 9360

ADDITIONAL INFORMATION
- Version 6.0.4 also had this behaviour. Previous 6.0.x were never on this
laptop.
- It's 100 % repeatable
- 'plasmashell --replace' or 'kwin_x11 --replace' have no effect.

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

Reply via email to