# 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.
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
Same pulseaudio, but plugin is 0.2.4. I'll test the earlier one.
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?
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.
Sounds like mgorny got to the bottom of the issue, and there's not anything for x11@ to do.
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(+)
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>