<div dir="ltr">Dear Chris,<div>many thanks. Yes we would really need some feedback from jack developers at this point.</div><div><br></div><div>If someone can direct me towards some specific procedures to solve the problem I would be grateful. <br></div><div><br></div><div>I have already verified that multicast is enabled on my mac (latest macbook pro October 2016 with OS X Sierra 10.12.4), </div><div>both on wireless and ethernet (with adaptor...) ports.</div><div><br></div><div>Cheers</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 5:28 PM, Chris Caudle <span dir="ltr"><<a href="mailto:chris@chriscaudle.org" target="_blank">chris@chriscaudle.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 2, 2017 8:11 am, Frodo Jedi wrote:<br>
> Regarding your questions, I have never truncated the commands outputs.<br>
<br>
</span>OK, maybe the coreaudio backend just doesn't dump out as much information<br>
as the ALSA backend.  Just looks odd because on an ALSA machine you<br>
usually get confirmation of what format and sample rate was set (sometimes<br>
the hardware does not support what you requested, and the ALSA backend<br>
will adjust to find the closest setting allowed by the hardware).<br>
<span class=""><br>
> I did various trials, I report the outputs below.<br>
<br>
</span>I see some variations in output even when it looks like the jackd<br>
parameters are the same.  I don't quite understand why that might happen.<br>
<br>
Trial 1 and 2 show this:<br>
<span class=""><br>
> TRIAL 1 ------------------------------<wbr>----------------------<br>
> On the master (Mac computer)<br>
> sh-3.2# jackd -P 70 -p96 -t 2000 -dcoreaudio  -s -r48000 -p128 -n2 -Cno<br>
> -Pyes<br>
</span>...<br>
<span class="">> CoreAudio driver is running...<br>
> Starting Jack NetManager<br>
</span><span class="">...<br>
> Floating point exception: 8<br>
<br>
</span>So after netmanager is loaded jackd dies with an exception.  Searching<br>
google references to that exception number indicates that it can be<br>
triggered by divide by 0 errors for integer or floating point, it is not<br>
exclusively a floating point error.<br>
<br>
Trial 2 looks like the same startup parameters were used for jackd, but no<br>
exception that time, but the netmanager crashes with bad socket<br>
parameters:<br>
<span class=""><br>
> TRIAL 2 ------------------------------<wbr>----------------------<br>
> On the master (Mac computer)<br>
> sh-3.2# jackd -P 70 -p96 -t 2000 -dcoreaudio  -s -r48000 -p128 -n2 -Cno<br>
> -Pyes<br>
</span>...<br>
<span class="">> CoreAudio driver is running...<br>
> Starting Jack NetManager<br>
> Listening on '<a href="http://225.3.19.154:19000" rel="noreferrer" target="_blank">225.3.19.154:19000</a>'<br>
> Sending parameters to ...<br>
> Can't set net buffer sizes : Invalid argument<br>
> SetParams error...<br>
<br>
</span>I don't see anything on the jackd command line to explain why they failed<br>
in two different ways.<br>
I think someone with more experience with jackd on Mac will need to chime in.<br>
<br>
I don't think you need to spend any time even starting jack on the odroid<br>
yet.<br>
<span class=""><br>
> TRIAL 1 ------------------------------<wbr>----------------------<br>
> On the master (Mac computer)<br>
</span><span class="">...<br>
> Floating point exception: 8<br>
<br>
</span><span class="">> TRIAL 2 ------------------------------<wbr>----------------------<br>
> On the master (Mac computer)<br>
</span>...<br>
<span class="">> SetParams error...<br>
> Can't init new NetMaster...<br>
<br>
</span><span class="">> TRIAL 3-----------------------------<wbr>-----------------------<br>
> On the master (Mac computer)<br>
</span>...<br>
<span class="">> Sending parameters to ...<br>
> Can't set net buffer sizes : Invalid argument<br>
> SetParams error...<br>
> Can't init new NetMaster...<br>
<br>
</span>> TRIAL 4 ------------------------------<wbr>----------------------<br>
<span class="">> The result are the same of before.,...<br>
<br>
> TRIAL 5 ------------------------------<wbr>----------------------<br>
</span><span class="">> On the master (Mac computer)<br>
</span>> Floating point exception: 8<br>
<br>
> TRIAL 6 ------------------------------<wbr>----------------------<br>
<span class="">> Can't set net buffer sizes : Invalid argument<br>
> SetParams error...<br>
> Can't init new NetMaster...<br>
<br>
</span>You obviously are not going to be able to get the odroid to connect to the<br>
Mac until jackd can start the netmanager without crashing on the mac.<br>
<br>
Nothing obvious stands out as a cause, what is needed is more verbose<br>
output from jackd to help determine the underlying cause of the crash in<br>
netmanager.<br>
<br>
I don't know how directly comparable the messages from a linux computer<br>
are to a mac build, but I had some trouble getting multicast packets<br>
passed between machines, you may see if omping is available for MacOS, it<br>
will verify that multicast traffic is enabled between the two devices.  I<br>
had to build it for my ARM device running debian, it was available from<br>
the Fedora repositories for my workstation.  Building from source was<br>
simple on my ARM device, I just copied the source over and ran make, no<br>
configuration necessary.<br>
<br>
This article indicates that multicast is not enabled by default on MacOS:<br>
<a href="http://blogs.agilefaqs.com/2009/11/08/enabling-multicast-on-your-macos-unix/" rel="noreferrer" target="_blank">http://blogs.agilefaqs.com/<wbr>2009/11/08/enabling-multicast-<wbr>on-your-macos-unix/</a><br>
<br>
That article is several years old, it may not be accurate for current<br>
versions of MacOS, but definitely something to check.   On my linux<br>
machines I got output messages to the effect that there seemed to be a<br>
network problem, which is the point I went off and found omping and<br>
figured out my firewall problems.  The messages on MacOS don't seem nearly<br>
as helpful.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Chris Caudle<br>
<br>
<br>
</font></span></blockquote></div><br></div>