! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mixer plugin uses 100% cpu for no apparent cause
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description David 2009-04-03 04:03:31 CEST
If I add a mixer plugin to my panel, it works fine. The volume is controlled properly and the CPU does not max out.

Some time later, I repeatedly notice it has begun using 100% of both my cores. 

I have an onboard sound chipset that dmixes properly with alsa. I do not use a sound daemon of any kind. I also have a (mostly-unsupported by Linux) Creative X-Fi sound card which is plugged in but unused. The plugin detects the following sound cards:

NVidia CK804 (Alsa mixer) - this is the onboard chipset that I use all the time.
Monitor Integrated Webcam (Alsa mixer) - one of my DFP microphones
pcsp (Alsa mixer) - I have no idea what this is.
Monitor Integrated Webcam (Alsa mixer) - one of my DFP microphones (dual monitors)
Realtek ALC850 rev 0 (OSS Mixer) - I'm assuming this could be my X-Fi, but it really looks like something else. In any case, I've not seen it before.

That's the list exactly as I'm given it. I haven't been able to find out what causes the mixer to go crazy. My sound card is not disconnecting as in bug 4962, but I think it may be a related problem, so I would suggest taking both bugs into account.

Thanks for all of your hard work. All of us appreciate XFCE.

Other information:
Linux atlas 2.6.28-ARCH #1 SMP PREEMPT Tue Mar 17 06:42:43 UTC 2009 i686 Dual Core AMD Opteron(tm) Processor 165 AuthenticAMD GNU/Linux
Motherboard containing audio chipset: Asus A8n-SLI-Premium
Exact version of plugin and panel:
xfce4-mixer 4.6.0-2
xfce4-panel-4.6.0-1
Comment 1 David 2009-04-05 22:09:06 CEST
Hello again.

I wanted to update this bug, because I now know that it is directly related to bug 4962. The plugin works properly without issue until I turn off my monitors (something I do when I go away from my PC). When I come back, and turn them on, I notice the CPU is at maximum usage. This is because the USB microphone/hub/webcam imbedded in the monitors is one of the available devices to control using the mixer plugin. As soon as they are detached, it is the same issue as in bug 4962 - the CPU load goes up immensely, as though the plugin is trying to check or configure the microphones that were powered off. And obviously when they are powered back on, it still freaks out. Hope this helps.
Comment 2 Forest 2009-08-21 08:26:48 CEST
I have the same problem on xubuntu jaunty.
Comment 3 charlie-tca 2010-01-09 14:03:47 CET
This bug has been reported on Ubuntu Launchpad as:
 https://bugs.launchpad.net/bugs/417778

It is possible the root causes of both this bug and bug 4962 are the same.
Comment 4 cmeerw 2010-01-09 17:04:58 CET
I think this is caused by https://bugzilla.gnome.org/show_bug.cgi?id=507527
Comment 5 Alex Riesen 2010-10-03 12:40:27 CEST
(In reply to comment #4)
> I think this is caused by https://bugzilla.gnome.org/show_bug.cgi?id=507527

You're right (well, not caused by, but is related to).
There are changes on the bug, and a workaround (attached to the discussion).
Comment 6 Robby Workman editbugs 2014-11-16 08:34:09 CET
Looks like this was a gstreamer bug that was fixed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=614545
Comment 7 Robby Workman editbugs 2014-11-16 09:25:19 CET
*** Bug 5460 has been marked as a duplicate of this bug. ***

Bug #5183

Reported by:
David
Reported on: 2009-04-03
Last modified on: 2014-11-16
Duplicates (1):
  • Kasm279 xfce4-mixer-plugin uses 100% CPU randomly

People

Assignee:
Jannis Pohlmann
CC List:
7 users

Version

Attachments

Additional information