Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
Roman
On Mit, 2017-04-12 at 16:02 +0100, Niccolò Granieri wrote:
Does the attached modified version of your test patch still exhibit the problem?
Yes, same exact problem.
On 12 Apr 2017, at 16:01, Roman Haefeli reduzent@gmail.com wrote:
Does the attached modified version of your test patch still exhibit the problem?
Roman
On Mit, 2017-04-12 at 13:02 +0100, Niccolò Granieri wrote:
I cannot with the same Pd version on Linux. I wonder whether it is related to the high refresh rate of the number boxes.
Does the GUI freeze still occur if the the update rate of the number boxes (not that of actual data going through the wire!) is throttled?
Hi Roman, I'm not quite sure how I would throttle the number boxes, can you be more specific?
Is wish more likely the bottleneck on some platforms, but not on others? Is wish using 100% of a CPU core when the freeze happens?
Actually Pd drops in CPU usage after the freeze happens. From 40% to 0,8%. But the GUI is completetly frozen and the audio has up to a 5second delay!
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 12 Apr 2017, at 12:55, Roman Haefeli reduzent@gmail.com wrote:
On Die, 2017-04-11 at 18:33 +0200, Damian Stewart wrote:
Fwiw I can reproduce exactly the behaviour that Niccolò is seeing here. OSX 10.12.3, pd vanilla 0.47.1 64 bit.
I cannot with the same Pd version on Linux. I wonder whether it is related to the high refresh rate of the number boxes.
Does the GUI freeze still occur if the the update rate of the number boxes (not that of actual data going through the wire!) is throttled?
Is wish more likely the bottleneck on some platforms, but not on others? Is wish using 100% of a CPU core when the freeze happens?
(Sorry if I'm repeating what IOhannes already said)
Roman
p.s.: Why is this on pd-dev?
On 11 Apr 2017, at 00:56, Niccolò Granieri granieriniccolo@gmail.com wrote:
Hello Pd-dev mailing list,
I am writing, for the first time, to point out an issue I'm having with incoming OSC data in Pd and DSP being turned on.
The problem occurs when, while receiving OSC data from inside my machine (thus using a localhost), I turn on DSP. The OSC data stops flowing until I don't turn the DSP off.
The only workaround I found to solve this issue is to run two separate instances of Pd: the first one that will act as an OSC parser, not having the need to turn on DSP. Once the data is parsed, the data is sent to a second instance of Pd via FUDI protocol (netsend) where it can coexist with DSP on without causing any issues.
This unfortunately brings up the amount of computing power needed.
I was wondering if anyone encountered the same problem before, and if there was any better solution.
Thanks in advance, glad to be in this mailing list,
Niccolò
Pure Data 0.47.1 - 64 bit
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
<Test_Patch_Automated_throttled.pd>
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
On 12 Apr 2017, at 16:06, Roman Haefeli reduzent@gmail.com wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
Roman
On Mit, 2017-04-12 at 16:02 +0100, Niccolò Granieri wrote:
Does the attached modified version of your test patch still exhibit the problem?
Yes, same exact problem.
On 12 Apr 2017, at 16:01, Roman Haefeli reduzent@gmail.com wrote:
Does the attached modified version of your test patch still exhibit the problem?
Roman
On Mit, 2017-04-12 at 13:02 +0100, Niccolò Granieri wrote:
I cannot with the same Pd version on Linux. I wonder whether it is related to the high refresh rate of the number boxes.
Does the GUI freeze still occur if the the update rate of the number boxes (not that of actual data going through the wire!) is throttled?
Hi Roman, I'm not quite sure how I would throttle the number boxes, can you be more specific?
Is wish more likely the bottleneck on some platforms, but not on others? Is wish using 100% of a CPU core when the freeze happens?
Actually Pd drops in CPU usage after the freeze happens. From 40% to 0,8%. But the GUI is completetly frozen and the audio has up to a 5second delay!
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 12 Apr 2017, at 12:55, Roman Haefeli reduzent@gmail.com wrote:
On Die, 2017-04-11 at 18:33 +0200, Damian Stewart wrote:
Fwiw I can reproduce exactly the behaviour that Niccolò is seeing here. OSX 10.12.3, pd vanilla 0.47.1 64 bit.
I cannot with the same Pd version on Linux. I wonder whether it is related to the high refresh rate of the number boxes.
Does the GUI freeze still occur if the the update rate of the number boxes (not that of actual data going through the wire!) is throttled?
Is wish more likely the bottleneck on some platforms, but not on others? Is wish using 100% of a CPU core when the freeze happens?
(Sorry if I'm repeating what IOhannes already said)
Roman
p.s.: Why is this on pd-dev?
> > On 11 Apr 2017, at 00:56, Niccolò Granieri > granieriniccolo@gmail.com wrote: > > Hello Pd-dev mailing list, > > I am writing, for the first time, to point out an issue I'm > having > with incoming OSC data in Pd and DSP being turned on. > > The problem occurs when, while receiving OSC data from > inside > my > machine (thus using a localhost), I turn on DSP. The OSC > data > stops > flowing until I don't turn the DSP off. > > The only workaround I found to solve this issue is to run > two > separate instances of Pd: the first one that will act as an > OSC > parser, not having the need to turn on DSP. Once the data > is > parsed, the data is sent to a second instance of Pd via > FUDI > protocol (netsend) where it can coexist with DSP on without > causing > any issues. > > This unfortunately brings up the amount of computing power > needed. > > I was wondering if anyone encountered the same problem > before, > and > if there was any better solution. > > Thanks in advance, glad to be in this mailing list, > > Niccolò > > Pure Data 0.47.1 - 64 bit > > > > _______________________________________________ > Pd-dev mailing list > Pd-dev@lists.iem.at > https://lists.puredata.info/listinfo/pd-dev _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
<Test_Patch_Automated_throttled.pd>
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 2017-04-12 17:13, Niccolò Granieri wrote:
It's an issue that Pd has when it receives a big stream of OSC data.
just to clarify the wording: we are not really talking about significant data rates ("big stream") here; even when sending at 1ms, you are still well below 1Mbit...
fgamsdr IOhannes
On Mit, 2017-04-12 at 16:13 +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
Now we have some more data points and we know the problem is not platform dependent. OTOH, I have trouble reproducing the issue on Linux (also on a Lenovo, if that matters at all) and on OS X 10.10.5.
It seems unlikely to me that this issue is related to the data being OSC formatted. Does it happen with FUDI messages as well?
Also, what you call 'big stream of OSC data' is still far smaller than with what I often deal with in Pd and I don't experience and DSP issues or GUI freezes. I'm lost here...
Roman
It seems unlikely to me that this issue is related to the data being OSC formatted. Does it happen with FUDI messages as well?
No it doesn't. In fact the workaround I found is to receive OSC data in one istance of Pd, send it via FUDI protocol to another one where i can then do some audio processing.
On 12 Apr 2017, at 16:37, Roman Haefeli reduzent@gmail.com wrote:
On Mit, 2017-04-12 at 16:13 +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
Now we have some more data points and we know the problem is not platform dependent. OTOH, I have trouble reproducing the issue on Linux (also on a Lenovo, if that matters at all) and on OS X 10.10.5.
It seems unlikely to me that this issue is related to the data being OSC formatted. Does it happen with FUDI messages as well?
Also, what you call 'big stream of OSC data' is still far smaller than with what I often deal with in Pd and I don't experience and DSP issues or GUI freezes. I'm lost here...
Roman
On Mit, 2017-04-12 at 16:46 +0100, Niccolò Granieri wrote:
It seems unlikely to me that this issue is related to the data being OSC formatted. Does it happen with FUDI messages as well?
No it doesn't. In fact the workaround I found is to receive OSC data in one istance of Pd, send it via FUDI protocol to another one where i can then do some audio processing.
Ah, you already said that, sorry. It's getting more and more interesting, but that doesn't make me any less lost.
Roman
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
thanks Miller
On Wed, Apr 12, 2017 at 04:13:13PM +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
[etc]
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
Here it is!
On 12 Apr 2017, at 16:45, Miller Puckette msp@ucsd.edu wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
thanks Miller
On Wed, Apr 12, 2017 at 04:13:13PM +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
[etc]
Cool, thanks.
As reported before this works on linux - I'll be able to test it on Mac tomorrow when I can get onto one.
cheers Miller
On Wed, Apr 12, 2017 at 04:47:22PM +0100, Niccolò Granieri wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
Here it is!
On 12 Apr 2017, at 16:45, Miller Puckette msp@ucsd.edu wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
thanks Miller
On Wed, Apr 12, 2017 at 04:13:13PM +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
[etc]
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Hello Miller & Dev. list,
I was wondering if there has been any breakthrough on the issue.
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 12 Apr 2017, at 17:35, Miller Puckette msp@ucsd.edu wrote:
Cool, thanks.
As reported before this works on linux - I'll be able to test it on Mac tomorrow when I can get onto one.
cheers Miller
On Wed, Apr 12, 2017 at 04:47:22PM +0100, Niccolò Granieri wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
Here it is!
On 12 Apr 2017, at 16:45, Miller Puckette msp@ucsd.edu wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
thanks Miller
On Wed, Apr 12, 2017 at 04:13:13PM +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
[etc]
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
iI'm stuck on something else at the moment...
cheers M
On Wed, Apr 19, 2017 at 08:43:29PM +0100, Niccolò Granieri wrote:
Hello Miller & Dev. list,
I was wondering if there has been any breakthrough on the issue.
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 12 Apr 2017, at 17:35, Miller Puckette msp@ucsd.edu wrote:
Cool, thanks.
As reported before this works on linux - I'll be able to test it on Mac tomorrow when I can get onto one.
cheers Miller
On Wed, Apr 12, 2017 at 04:47:22PM +0100, Niccolò Granieri wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
Here it is!
On 12 Apr 2017, at 16:45, Miller Puckette msp@ucsd.edu wrote:
Sorry to jump in late - can someone supply a patch that causes this to fail? I looked for the original one but it seems to have been scrubbed from the archive.
thanks Miller
On Wed, Apr 12, 2017 at 04:13:13PM +0100, Niccolò Granieri wrote:
Just a wild guess: It looks like your localhost connection is slow for some reason. Is there some anti virus software installed? If so, does the problem still occur when anti virus is stopped?
No antivirus installed on my Mac. Also, I can assure you that it's not a slow localhost problem. It's happening also on another Mac, and a Lenovo running Linux. It's an issue that Pd has when it receives a big stream of OSC data.
[etc]
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
On 2017-04-19 21:43, Niccolò Granieri wrote:
Hello Miller & Dev. list,
I was wondering if there has been any breakthrough on the issue.
i'd suggest to create a bug-report (either at [1] or [2], i don't know which is the preferred one)
gamsdr IOhannes
[1] https://github.com/pure-data/pure-data/ [2] https://sourceforge.net/p/pure-data/bugs/
if github is now the preferred bug-tracker, i could re-direct https://bugs.puredata.info to there...
Hello Pd list,
the plot thickens! After a few tests, it turns out the GUI freeze is not caused by OSC formatting itself, but from large amounts of data in whatever format.
With a small python script sending FUDI formatted messages, the problem is the same!
Updated report on the bug here: https://github.com/pure-data/pure-data/issues/55 https://github.com/pure-data/pure-data/issues/55 __________________________________________________________________
Niccolò Granieri | Integra Lab | Birmingham Conservatoire (BCU) Twitter: @GranieriNiccolo | www.niccologranieri.com | www.integra.io |
On 20 Apr 2017, at 09:53, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2017-04-19 21:43, Niccolò Granieri wrote:
Hello Miller & Dev. list,
I was wondering if there has been any breakthrough on the issue.
i'd suggest to create a bug-report (either at [1] or [2], i don't know which is the preferred one)
gamsdr IOhannes
[1] https://github.com/pure-data/pure-data/ [2] https://sourceforge.net/p/pure-data/bugs/
if github is now the preferred bug-tracker, i could re-direct https://bugs.puredata.info to there...
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev