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

            Bug ID: 381280
           Summary: Increased CPU usage with Qt 5.9
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: j...@kde.org
                CC: bhus...@gmail.com, mgraess...@kde.org,
                    plasma-b...@kde.org
  Target Milestone: 1.0

I'm seeing increased CPU usage from both kwin_x11 and plasmashell after I
updated "everything" after several months of no updates. Now both kwin_x11 and
plasmashell consume >20% of CPU time according to htop, and the cooling fan
spin on an idle system.

I'm on Gentoo Linux with kernel 4.9.31, xorg-server-1.19.3, xorg-x11-7.4-r2,
mesa 17.1.1, Qt 5.9 from git (last week's), kf5 and plasma-* from git master as
of last week. I'm using KMS with an integrated Intel Skylake GPU (i5-6300U,
Thinkpad T460s).

Initially everything works well. After I dock the machine and kscreen switches
to an external screen (which happens to be bigger in resolution), both
plasmashell and kwin_x11 put increased load on the CPUs. Stuff gets fixed when
I log out and log back in while docked. When I un-dock and re-dock after that
(and the screen switches), the increased CPU load is back there.

I tried looking into `perf top` for both kwin_x11 and plasmashell, but I don't
see anything that is suspicious to my untrained eyes.

I've heard some rumors on IRC about Qt sending expose events that it should not
be sending. I have no clue whether the bug is in Plasma, Qt, Mesa or somewehere
else. I know that it is not in the kernel because I see the same behavior on
4.9.18 that I used to run before. However, because I'm seeing this high load in
plasma apps, I'm reporting the bug here.

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

Reply via email to