[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2019-02-22 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=396345

Vlad Zagorodniy  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #25 from Vlad Zagorodniy  ---
Marking as worksforme because there wasn't any activity for a while and also
because cpu usage is normal on my machine.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-09-12 Thread Anton
https://bugs.kde.org/show_bug.cgi?id=396345

Anton  changed:

   What|Removed |Added

 CC||anton.li...@gmail.com
 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #24 from Anton  ---
I have the same issue after updating from 5.12 to 5.13.
I found that switching to Xrender lowers my CPU usage to 2%-3%.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=396345

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #23 from john Terragon  ---
Created attachment 113903
  --> https://bugs.kde.org/attachment.cgi?id=113903=edit
props after

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #22 from john Terragon  ---
Created attachment 113902
  --> https://bugs.kde.org/attachment.cgi?id=113902=edit
props before

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #21 from Martin Flöser  ---
Actually I wanted the props of same window before and after activating it.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #20 from john Terragon  ---
Sorry, you probably wanted the props of one firefox window. I used xprop. You
can find the props, ver 5.12 and 5.13, for the same window in the attachments
above.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #19 from john Terragon  ---
Created attachment 113897
  --> https://bugs.kde.org/attachment.cgi?id=113897=edit
props 5.13

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #18 from john Terragon  ---
Created attachment 113896
  --> https://bugs.kde.org/attachment.cgi?id=113896=edit
props 5.12

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #17 from john Terragon  ---
I assumed you wanted the events for both 5.12 and 5.13. You can find them in
the attachments above. They have been generated by the same firefox window.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #16 from john Terragon  ---
Created attachment 113895
  --> https://bugs.kde.org/attachment.cgi?id=113895=edit
events 5.13

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-12 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #15 from john Terragon  ---
Created attachment 113894
  --> https://bugs.kde.org/attachment.cgi?id=113894=edit
events 5.12

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-11 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #14 from Martin Flöser  ---
Can you compare the wm_hints property?

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-11 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #13 from john Terragon  ---
Isn't that something that an application can set/change to give a suggestion to
the wm (the hint part...)?

Anyways, let me know if there's something else I can try. I sync'ed the two
roots with another system, a desktop one (and more recent, a 4770k I think). I
see the same behavior, it's about triple the cpu usage by kwin 5.13 wrt to
5.12.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-11 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #12 from Martin Flöser  ---
It changes WM_HINTS property. I need to check, but my feeling is that this is
not allowed.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-11 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #11 from john Terragon  ---
Created attachment 113888
  --> https://bugs.kde.org/attachment.cgi?id=113888=edit
events for the activation of one firefox window

You can find the events in the attachment.

I have that wm setting that give focus to the window under the pointer
 and the events that you see in the file have been generated by


1) moving the cursor on the window

2) clicking on the window

3) moving the cursor on another window

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #10 from Martin Flöser  ---
try to activate a firefox window. I get significantly more events when doing
that.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #9 from john Terragon  ---
And, if I move the pointer on and off any firefox window when I'm xev'ing one
of them, then xev says

ColormapNotify event, serial 18, synthetic NO, window 0x67b,
colormap 0x602, new NO, state ColormapInstalled

ColormapNotify event, serial 18, synthetic NO, window 0x67b,
colormap 0x602, new NO, state ColormapUninstalled

Don't know if it's relevant.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #8 from john Terragon  ---
I wrote the following before reading your new comment (and I got a "mid air
collision" from the bugtracker when I tried to post it :) ):


-
Anyways, I went ahead and tried xev. So, I did the following:


1) wmctrl -lp to get all the winids of firefox's windows


2) xev -id on each and everyone of them (just to be sure)


When I do "xev -id " xev just stand there without reporting
anything which I guess means the window  isn't generating any event,
right?


Anything else I can try?

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #7 from Martin Flöser  ---
If we know which property causes the issue, then we can look into what changed
in KWin.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #6 from john Terragon  ---
If that's the reason, why doesn't firefox "victimize" kwin 5.12?
I have now two root filesystems (I use btrfs). Both of them have the same
packages and at the same versions. Except one root has plasma 5.12 and the
other has plasma 5.13.
And the problem is only with plasma 5.13...

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #5 from Martin Flöser  ---
I see, so the problem is probably with firefox, not with KWin. KWin is just a
victim of the stupid things firefox does. You can use xev -id  to monitor which events it creates. I assume it's constantly updating e.g.
window title.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-10 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #4 from john Terragon  ---
Disabling the blu effect brings down the cpu usage by about 7%, which leaves it
still above 30. 


And, btw, the only things that the blur effects blurs are the plasma
decorations. Windows are not blurred, not even when they become
semi-transparent when I drag them around. 


Another possible clue: 30 dolphin windows do not cause kwin to use much cpu, 30
firefox windows (and all pretty much static, that is without any change of the
content like in ads, animation etc) cause the 40% cpu activity.


Right now we are at 80% cpu activity for kwin!
Also firefox seems to have higher cpu activity (higher than it has under 5.12).

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-09 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #3 from Martin Flöser  ---
Please try disabling the blue effect

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-09 Thread john Terragon
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #2 from john Terragon  ---
Created attachment 113852
  --> https://bugs.kde.org/attachment.cgi?id=113852=edit
support info

Here it is.

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

[kwin] [Bug 396345] high cpu activity after upgrade from 5.12 to 5.13

2018-07-09 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=396345

--- Comment #1 from Martin Flöser  ---
Please provide the output of qdbus org.kde.KWin /KWin supportInformation

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