Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
> > Cool, thanks. Even if there is an (easy) solution, it's good to submit the > point that Pd probably shouldn't stop working completely when a checkbox is > changed in the settings. :) Done! Em ter., 22 de mar. de 2022 às 13:28, Dan Wilcox escreveu: > Cool, thanks. Even if there is an

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
ysg> *From:* Pd-list on behalf of Bruno Rohde *Sent:* Tuesday, March 22, 2022 2:52:25 PM *To:* Dan Wilcox *Cc:* Pd-List *Subject:* Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04 Hi Dan, Iohannes solution (change "use callbacks&qu

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Jeppi Jeppi
Cc: Pd-List Subject: Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04 Hi Dan, Iohannes solution (change "use callbacks" state) seems to solve the problem. Anyway, I can open an issue to describe that in my case DSP only works with callbacks on. Thanks for the answer and instr

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Dan Wilcox
equ...@lists.iem.at wrote: > > Message: 4 > Date: Tue, 22 Mar 2022 16:33:24 +0100 > From: Christof Ressi mailto:i...@christofressi.com>> > To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > Subject: Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04 > Message-ID

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Dan Wilcox
Cool, thanks. Even if there is an (easy) solution, it's good to submit the point that Pd probably shouldn't stop working completely when a checkbox is changed in the settings. :) > On Mar 22, 2022, at 2:52 PM, Bruno Rohde wrote: > > Hi Dan, > > Iohannes solution (change "use callbacks"

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Miller Puckette via Pd-list
I think the bug report isn't needed, thanks. Meanwhile, yes, it would be appropriate to print a message that the delay got reset, and yes, please do throw it in the develop PR. thanks M On Tue, Mar 22, 2022 at 12:43:08PM -0300, Bruno Rohde wrote: > As it looks like you guys are working on a

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
As it looks like you guys are working on a quick and simple solution, I'll wait a bit to see if it's really necessary to file a bug. If it's still relevant, I can do it later. Em ter., 22 de mar. de 2022 às 12:33, Christof Ressi escreveu: > > Of course, now the displayed settings doesn't always

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
Of course, now the displayed settings doesn't always reflect the setting used internally. We could post a little notice that the delay setting has been capped. Probably also for the ASIO backend. But that's just cosmetics. @umlaeute: should I push the quick fix below to develop? Christof On

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Roman Haefeli
On Tue, 2022-03-22 at 16:00 +0100, Christof Ressi wrote: > > > I think the solution is simple: > > In jack_open_audio() replace > > if (advance_samples < DEFDACBLKSIZE) > advance_samples = DEFDACBLKSIZE; > with > > if (advance_samples < jack_blocksize) > advance_samples =

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
Actually, I just remember that I fixed a very similar issue with the ASIO backend. However, it was a bit more nasty, because Pd would simply crash if the "Delay" value was too low :-) My solution was too simply cap the value at the hardware blocksize:

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Roman Haefeli
On Tue, 2022-03-22 at 15:23 +0100, IOhannes m zmoelnig wrote: > On 3/22/22 15:06, Roman Haefeli wrote: > > On Tue, 2022-03-22 at 14:56 +0100, Christof Ressi wrote: > > > > Anyway, I can open an issue to describe that in my case DSP > > > > only > > > > works with callbacks on. > > > Yes, please!

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
> > Actually, there *is* a bug: Pd should not just output silence if the user > accidentally sets a too small value for "Delay". It should either clamp the > value or post a warning. It would be great if you could file a bug report. > Agreed, I'll file the bug report. Em ter., 22 de mar. de 2022

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
good that we could figure out the problem! So, that is not a bug, but maybe this limit should be clearly stated somewhere to avoid confusion. Actually, there *is* a bug: Pd should not just output silence if the user accidentally sets a too small value for "Delay". It should either clamp the

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
Thanks Christof and Roman for the clarification, now I understand it a little! Actually, before Pd 0.52, the polling scheduler did not really work > correctly together with the Jack backend, i.e. the "Delay" setting was > basically ignored and it just did double buffering. This has been fixed. >

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread IOhannes m zmoelnig
On 3/22/22 15:06, Roman Haefeli wrote: On Tue, 2022-03-22 at 14:56 +0100, Christof Ressi wrote: Anyway, I can open an issue to describe that in my case DSP only works with callbacks on. Yes, please! The Jack backend is supposed to work regardless of the "callback" setting. But not

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
On 22.03.2022 15:00, Roman Haefeli wrote: From my experience, setting it too low causes Pd to not process audio at all. In my experience, this value is below 5ms, but this probably depends on JACK's blocksize setting. This might actually explain the issue! @Bruno: what is you current value

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Roman Haefeli
On Tue, 2022-03-22 at 14:56 +0100, Christof Ressi wrote: > > Anyway, I can open an issue to describe that in my case DSP only > > works with callbacks on. > Yes, please! The Jack backend is supposed to work regardless of the > "callback" setting. But not regardless of the "delay (ms)" setting.

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Roman Haefeli
On Tue, 2022-03-22 at 10:45 -0300, Bruno Rohde wrote: > > Turn OFF (or ON) the "use callbacks" checkbox in the audio dialog. > > That did the trick, with callbacks ON DSP works. I never used it > before, and to be honest, I don't know what this does, but for now it > solved the problem. > Could

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
Anyway, I can open an issue to describe that in my case DSP only works with callbacks on. Yes, please! The Jack backend is supposed to work regardless of the "callback" setting. Christof On 22.03.2022 14:52, Bruno Rohde wrote: Hi Dan, Iohannes solution (change "use callbacks" state) seems

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Christof Ressi
Could you (or someone) explain briefly what this is for? If "callbacks" is ON, Pd runs directly in the audio callback. This gives you lower latencies, but less "leeway" for CPU fluctuations - unless you increase the hardware/jack buffer size accordingly. If "callbacks" is OFF, Pd uses a

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
Hi Dan, Iohannes solution (change "use callbacks" state) seems to solve the problem. Anyway, I can open an issue to describe that in my case DSP only works with callbacks on. Thanks for the answer and instructions, cheers Em ter., 22 de mar. de 2022 às 06:37, Dan Wilcox escreveu: > Yes,

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Bruno Rohde
> > Turn OFF (or ON) the "use callbacks" checkbox in the audio dialog. > That did the trick, with callbacks ON DSP works. I never used it before, and to be honest, I don't know what this does, but for now it solved the problem. Could you (or someone) explain briefly what this is for? Is there any

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread Dan Wilcox
Yes, please do so with all the relevant info: OS, behavior, steps you tried etc. > On Mar 22, 2022, at 3:00 AM, pd-list-requ...@lists.iem.at wrote: > > Do you think it's worth opening an issue on pd's github? Dan Wilcox @danomatika danomatika.com

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-22 Thread IOhannes m zmölnig
Am 21. März 2022 14:18:21 MEZ schrieb Bruno Rohde : anyone have any information about this problem? Any tips on how to >investigate the cause and solution for it? > Turn OFF (or ON) the "use callbacks" checkbox in the audio dialog. mfg.sfg.jfd IOhannes

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Bruno Rohde
> > You know that you can increase Pd's debugging level and/or > start it with the -verbose flag to get more detailed error messages. > Does Pd post anything there when you start DSP? Yes, I know, but there's no info about the problem, that's the main reason I came to ask here (for the first

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Peter P.
* Bruno Rohde [2022-03-21 18:20]: > I just installed the latest version enabling the "jammy" repo (the one that > has 0.52-1), and the result was the same, no DSP using Jack. > No luck so far :( But great that you tried it and hence gathered more information about your problem. You know that you

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Bruno Rohde
I just installed the latest version enabling the "jammy" repo (the one that has 0.52-1), and the result was the same, no DSP using Jack. No luck so far :( Em seg., 21 de mar. de 2022 às 13:14, Peter P. escreveu: > * Bruno Rohde [2022-03-21 16:31]: > > Hi Peter, > > > > > > > Bruno, which

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Peter P.
* Bruno Rohde [2022-03-21 16:31]: > Hi Peter, > > > > Bruno, which version of Pd is available on Ubuntu via the apt package > > manager? > > > > puredata/focal-updates,focal-updates,now 0.50.2-3ubuntu0.1 all [installed] Does Ubuntu have the latest and greatest Pd in its backports perhaps?

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Bruno Rohde
Hi Peter, > Bruno, which version of Pd is available on Ubuntu via the apt package > manager? > puredata/focal-updates,focal-updates,now 0.50.2-3ubuntu0.1 all [installed] Any reason you want to compile it yourself? > to use the latest version; compiling always worked, it is the first time I

Re: [PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Peter P.
Bruno, which version of Pd is available on Ubuntu via the apt package manager? On Debian it is $ apt --all-versions list puredata Listing... Done puredata/bullseye-backports,bullseye-backports,now 0.52.1+ds0-1~bpo11+1 all [installed] puredata/stable,stable 0.51.4-1 all

[PD] Pd 0.52-1 - frozen dsp and gui in ubuntu 20.04

2022-03-21 Thread Bruno Rohde
Hi friends, I have a problem running Pd 0.52-1 on Ubuntu Studio 20.04 using Jack. I compile the project the same way I always did, but in this version the DSP doesn't work (Test Audio and Midi), and the GUI partially works (on other patches). The last version I can run normally is 0.51.4 (0.52-0