[PD] -nosleep works only without -jack (was: [solved] glitches when streaming UDP)

Miller Puckette msp at ucsd.edu
Thu Feb 1 17:45:33 CET 2018


I think it should still work, as long as you're polling jack and not
using callbacks.  (That should be a choice on the audio settings panel).

cheers
Miller

On Thu, Feb 01, 2018 at 04:57:28PM +0100, Roman Haefeli wrote:
> On Mit, 2018-01-31 at 09:32 +0100, katja wrote:
> > 
> > 
> > On Wed, Jan 31, 2018 at 1:22 AM, Roman Haefeli <reduzent at gmail.com>
> > wrote:
> > > 
> > > 
> > > I'm a bit unsure about the -nosleep option. What is it supposed to
> > > do?
> > > I thought it would make Pd burn as many CPU cycles as it can get.
> > > And
> > > your mail from 2015 suggests a similar behavior. I run it like
> > > this:
> > > 
> > > pd -noprefs -nosleep -rt -jack -channels 2
> > > 
> > > and it still only runs at 3% of a core with the [adc~]-[dac~]
> > > patch.
> > > This is with Pd-0.48-1 (git 3417d9036).
> > When running pd Pd-0.48-1 with option -nosleep on my core2 machine,
> > CPU load is 100% on one (switching) core. Seems like the -nosleep
> > option does not have the same effect on all hardware. 
> 
> I just figured out now that -nosleep indeed works, also on my hardware.
> But it does _not_ when using -jack backend. Can anyone confirm?
> 
> > That may be an indicator of the underlying problem causing audio drop
> > out.
> 
> Definitely. I wonder how Pd is different from other jack clients.
> 
> Roman



> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list