Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577252 - x11-themes/gtk-engines-xfce: removal (was: 3: some apps are spamming X11 with render requests)
Summary: x11-themes/gtk-engines-xfce: removal (was: 3: some apps are spamming X11 with...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-11-20
Assignee: XFCE Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2016-03-12 23:07 UTC by Michał Górny
Modified: 2019-12-07 03:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-12 23:07:56 UTC
# ps -ax | grep 719
  719 ?        Sl    73:32 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so 19 10485793 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system

It seems to constantly show 10-15% CPU use in htop. The only other process having similar CPU use is X11. We should investigate this.
Comment 1 Jason Zaman gentoo-dev 2016-03-14 03:42:01 UTC
what version of pulse and the plugin do you have? I dont have any problems with it. My laptop has ~4days of uptime and the the plugin has 5 seconds of CPU time.

media-sound/pulseaudio-8.0
xfce-extra/xfce4-pulseaudio-plugin-0.2.3
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-14 06:41:05 UTC
Same pulseaudio, but plugin is 0.2.4. I'll test the earlier one.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-14 22:04:26 UTC
It happens with all older versions too, with and without USE=keybinder. A similar (yet a bit smaller) issue happens with pavucontrol too, so it seems it's something coming from pulseaudio or gtk+ or...

With some stracing, I was able to figure out it's constantly receiving messages from /tmp/.X11-unix/X0. This is interrupting the poll() sleep instantly and receiving all those messages is causing huge CPU load.

@x11, any idea what that could be and where to look next?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-14 22:33:04 UTC
Did some more debugging and it turned out to be problem with xfce gtk3 themes submitting a lot of render requests. Switching to Adwaita reduced CPU load to none.
Comment 5 Matt Turner gentoo-dev 2017-02-25 23:14:16 UTC
Sounds like mgorny got to the bottom of the issue, and there's not anything for x11@ to do.
Comment 6 Larry the Git Cow gentoo-dev 2019-10-20 20:18:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba38cac24be43445fcafbddfe7b8d7657938f74b

commit ba38cac24be43445fcafbddfe7b8d7657938f74b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-10-20 20:18:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-10-20 20:18:53 +0000

    package.mask: Last rite x11-themes/gtk-engines-xfce
    
    Bug: https://bugs.gentoo.org/577252
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 7 Arfrever Frehtes Taifersar Arahesis 2019-12-07 03:23:23 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef5fcc5a783af93eafa9b34a78b8fb2177f3263

commit 8ef5fcc5a783af93eafa9b34a78b8fb2177f3263
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2019-11-20 16:58:15 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-11-20 17:27:39 +0000

    'x11-themes/gtk-engines-xfce: drop last-rited package
    
    Signed-off-by: Aaron Bauman <bman@gentoo.org>