[LAU] jackdbus eating 100% cpu after a while

Len Ovens len at ovenwerks.net
Sat Feb 9 14:53:12 UTC 2013


On Sat, February 9, 2013 1:48 am, Florian Paul Schmidt wrote:
> Hi,
>
> I was a long term jackd1 user and my first action on a new linux
> installation (mostly using Ubuntu) was normally to remove pulseaudio as
> it was badly configured and/or buggy. Things have changed and I really
> started to like PA for everyday stuff. And then jackdbus came along
> which together with the device reservation API and the jackd sinks
> promised to make using these two things together more easy. This mostly
> works fine, except for the device reservation bug in PA which is easy to
> work around though:
>
> - Make sure no audio process is actively using the soundcard you want
> jackd to use
> - Run pulseaudio -k
> - Run jack_control start

There is a real fix in the pipe line... not sure when it will get into
releases. I find:
pasuspender --sleep 5 & ; jack_control start
Will allow me to start jackdbus even while pulse is streaming. Actually I
use pasuspender from qjackctl to do the same thing.

> I have noticed some issues with jackdbus though:
>
> a] jack_control start sometimes doesn't work at all after the first time
> it failed to aquire the device. A killall -9 jackdbus is in order to
> restore it

jack_control exit works for me. This is part of the bug above, when
jackdbus fails to get the device, the jackd part dies but the dbus part
doesn't (it seems,  I don't know the code well enough) It would be
interesting to compare this behaviour with jackd2.

> b] after some hours of operation jackdbus starts to eat 100% cpu on two
> of my four cores.

I have left jackdbus running for at least 5 days and have not seen this
show up. PA has been used during that time (audacious and fire fox) as
well as other jack clients. I would be interested to know if running jackd
instead of jackdbus is the same or different.

There are some patches on the way for jack2 in ubuntu as well. (in testing)

>
> Are these known issues? I use Ubuntu 12.10 and jackd:
>
> fps at mango 12:08:21 .../Games/Xonotic/ $ jackd -v
> jackdmp 1.9.9
> [...]

I am using the alpha 13.04 on this machine and 12.04 on another.
joe at studio1304:~$ jackd -v
jackdmp 1.9.9.4

The plan is that once the jackd patches are tested they will be SRU to
12.04 and 12.10.

-- 
Len Ovens
www.OvenWerks.net



More information about the Linux-audio-user mailing list