Re: [Jack-Devel] JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error

PrevNext  Index
DateWed, 08 Jan 2014 16:40:08 +1030
From Jonathan Woithe <[hidden] at just42 dot net>
ToAlexandros Drymonitis <[hidden] at gmail dot com>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToAlexandros Drymonitis Re: [Jack-Devel] JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error
Follow-UpHanspeter Portner Re: [Jack-Devel] JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error
Follow-UpJohn Mills Re: [Jack-Devel] JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error
On Tue, Jan 07, 2014 at 06:57:10PM +0200, Alexandros Drymonitis wrote:
> On Tue, Jan 7, 2014 at 6:38 PM, Jonathan Woithe <[hidden]> wrote:
> > On Tue, Jan 07, 2014 at 06:31:51PM +0200, Alexandros Drymonitis wrote:
> > > I'm running jack to use my firewire sound card (presonus firebox) with pure
> > > data running this in the terminal: $ jackd -dfirewire
> > > and jack runs with the firewire. But when I open pure data in another
> > > terminal window with this $ pd -rt -jack
> > > I get this in jack's terminal:
> > > JackEngine::XRun: client = pure_data_0 was not run: state = 2
> > > JackAudioDriver::ProcessGraphAsyncMaster: Process error
> > > and the audio every now and then quits for half or a whole second and then
> > > comes back.
> >
> > I *think* this indicates an issue in PureData.  However, if others more
> > familiar with jackd messages indicate that it's a problem within FFADO I'll
> > take this up.  If it is a FFADO problem it would be best to take the
> > discussion to the ffado-user mailing list (detail are in the "Contact" link
> > the ffado.org.
> >
> > After the dropout, is PureData usable and does the Firebox play back
> > PureData
> > audio?
> >
> Yes Pure Data is usable and the Firebox does play the Pure Data audio

Hmm, interesting.  Do you only see the dropouts when you *start* PureData. 
If so then it would appear that the problem might be associated with
application startup or some issue with the way PureData does things while
its jack system is starting up.

> > > I also tried jack with audacity and I got drop outs there as well.
> >
> > Is the error message similar?  If it is it would tend to suggest that the
> > problem is not within PureData or audacity.
> >
> There's no error printed when I open Audacity, but when I close it this is
> printed in Jack's terminal:
> JackProcessSync::LockedTimedWait error usec = 426660 err = Connection timed
> out
> JackEngine::ClientDeactivate wait error ref = 3 name = PortAudio
> 
> No idea if this should be or not..

No, me neither.

> also, when I quit Pd though, I get this
> in Jack's terminal:
> JackEngine::XRun: client = pure_data_0 was not run: state = 1
> JackAudioDriver::ProcessGraphAsyncMaster: Process error
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe
> Cannot write socket fd = 44 err = Broken pipe

I don't run PureData myself.  It would be interesting to hear whether others
see this.  This in turn may provide a clue as to whether it is related in
some way to the start up glitch.

> > > I'm on ubuntu 12.04 with jack 1.9.8
> > > Can anyone help me out?
> >
> > It would be worth trying a lowlatency kernel if you're not already using
> > one.  This should be available via the Ubuntu package manager.
> >
> Hmm, I'm a noob to Linux, some tips on how to do this? what should I type
> in the synaptic package manager? If I type lowlatency I get a bunch of
> stuff (linux-headers-lowlatenct, linux-image-lowlatency etc.)

Hopefully an ubuntu user can chime in here.  I'd have to see a full list of
the "lowlatency" matchs and guess based on name.

Regards
  jonathan
PrevNext  Index

1389161433.18566_0.ltw:2, <20140108061008.GI2874 at marvin dot atrad dot com dot au>