[PD] lag when starting sub-process
ift.gab at gmail.com
Tue Nov 12 20:21:06 CET 2019
just a short followup - on mac "-noprefs" makes a huge difference!
On Tue, Nov 12, 2019 at 8:01 PM iftah gabbai <ift.gab at gmail.com> wrote:
> thank you both for the answers, i am using the nogui tag since im building
> for a headless rpi, i will try to see if the noprefs makes a difference, i
> have a script that launches pd when my sound.target is reached on the rpi
> and it takes 4-5 seconds only when booting, if i start the script manually
> its almost instantaneous and no lag is present in linux so it might be
> actually related to something else
> On Tue 12. Nov 2019 at 18:09, Miller Puckette <msp at ucsd.edu> wrote:
>> Pd sometimes seems to take several seconds to start up on MacOs. It once
>> started up very quickly. I haven't figured out if this is a change in
>> or in Pd.
>> And yes, the owing Pd instance has to wait for the sub-process to get
>> so that will freeze it for a few seconds.
>> It migth help to clear out unneeded "libraries" (start the subprocess with
>> -noprefs and explicitly add the ones you want). Also it will always speed
>> things up to run the sub-process "-no-gui" whenever you don't need to see
>> On Tue, Nov 12, 2019 at 03:52:51PM +0100, Christof Ressi wrote:
>> > <html><head></head><body><div style="font-family: Verdana;font-size:
>> > <div>if the pd~ subprocess blocks (beyond the specified latency), then
>> the parent process blocks as well, so the behavior you describe is
>> expected. It's simply not possible to spawn pd subprocesses in a
>> realtime safe manner (yet).</div>
>> > <div>
>> > <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px
>> 10px; border-left:2px solid #C3D9E5; word-wrap: break-word;
>> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
>> > <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 12.
>> November 2019 um 15:25 Uhr<br/>
>> > <b>Von:</b> "iftah gabbai" <ift.gab at gmail.com
>> > <b>An:</b> Pd-List <Pd-list at lists.iem.at><br/>
>> > <b>Betreff:</b> [PD] lag when starting sub-process</div>
>> > <div name="quoted-content">
>> > <div>hey there, im experiencing a lag in my main patch when i
>> start a pd~ sub process. on my i7 quad core 16gb macbook pro its about 4-5
>> seconds until pd is running again and on an rpi 3 its about the same.
>> is this a known thing? and if so, is there a workaround?
>> > <div> </div>
>> > <div>best</div>
>> > </div>
>> > _______________________________________________ Pd-list at lists.iem.at
>> mailing list UNSUBSCRIBE and account-management -> <a href="
>> https://lists.puredata.info/listinfo/pd-list" target="_blank">
>> > </div>
>> > </div>
>> > </div></div></body></html>
>> > _______________________________________________
>> > Pd-list at lists.iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list