PulseAudio + Jack

Felipe Sateler fsateler at gmail.com
Thu May 13 00:22:50 UTC 2010


On Wed, May 12, 2010 at 19:07, Adrian Knoth <adi at drcomp.erfurt.thur.de> wrote:
> On Mon, May 10, 2010 at 12:04:17AM +0200, Adrian Knoth wrote:
>
>> > So, Adrian says Jack2 + PulseAudio is the philosopher's stone. Well,
>> > maybe not. However, I'm having issues.
>> > Jack2 is supposed to negotiate the soundcard with pulseaudio. However,
>> > I need to manually deactivate pulseaudio card output to start jack.
>> I tried it on my laptop yesterday. qjackctl wasn't able to start jackd
>> one or two times, but then, out of a sudden, it worked. Terminating
>> jackd also worked, mplayer was playing all the time to pulseaudio.
>>
>> Looks like a race condition or some kind of first-time hiccup. Now I
>
> I've been discussing this problem with nedko.
>
> Does "jack_control exit" solves the problem? It did for me, however, we
> now have a ticket for this:
>
>   http://trac.jackaudio.org/ticket/175
>
> (check your qjackctl message window for the Input/output error message)

I'm not getting that error.. I'm getting (After an almost eternal run
of Saving settings to...):

Wed May 12 20:07:52 2010: Starting jack server...
Wed May 12 20:07:52 2010: JACK server starting in realtime mode with priority 20
Wed May 12 20:07:52 2010: Acquired audio card Audio0
Wed May 12 20:07:52 2010: creating alsa driver ...
hw:0|hw:0|64|2|44100|0|0|nomon|swmeter|-|32bit
Wed May 12 20:07:52 2010: Using ALSA driver HDA-Intel running on card
0 - HDA Intel at 0xfe9fc000 irq 21
Wed May 12 20:07:52 2010:  [1m [31mERROR: the playback device "hw:0"
is already in use. Please stop the application using it and run JACK
again [0m
Wed May 12 20:07:52 2010:  [1m [31mERROR: Cannot initialize driver [0m
Wed May 12 20:07:52 2010:  [1m [31mERROR: JackServer::Open() failed with -1 [0m
Wed May 12 20:07:53 2010:  [1m [31mERROR: Failed to start server [0m
Wed May 12 20:07:53 2010:  [1m [31mERROR: Failed to start server [0m


>
> In addition, the current DBUS code in svn trunk is wrong, Lennart
> (author of Pulseaudio) has confirmed it, so upstream surely needs to fix
> it, probably like this:
>
>   http://repo.or.cz/w/jack2.git/commitdiff/c779cb96cc2aaffb5bb268e45feec11be0c832fa
>
>
> There's also another changeset that adds more debugging output to find
> out why a dbus reservation is failing:
>
>   http://repo.or.cz/w/jack2.git/commitdiff/fee353b6392e6b0de8038d7ffbcb4686891dc56d
>
>
> I'll add both patches to the Debian package.

I'm currently building with both patches to test it.


-- 

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list