<div dir="ltr">Hi all,<div>I have issues when trying to connect via netjack2 an odroid embedded board (with linux debian, real time kernel) and a new macbookpro 2016 with OSX Sierra 10.12.4.</div><div><br></div><div>My goal is to send audio from the odroid board (master) to the mac (slave) using a direct ethernet connection. Basically I want to test the simple case of playing a file from the board and listen to the result on the loudspekers of the mac.</div><div><br></div><div>I verified that multicasting is enabled on both the board and the mac. From the mac I connect to the board via SSH. I have set static Ip addresses on both the board and the mac.</div><div><br></div><div>I am using the latest version of jack2 (jackdmp 1.9.11). Notably, I have not compiled jack2 with dbus as I am running jack headless (following the advise found on <a href="http://jrigg.co.uk/linuxaudio/jack2debian7.html">http://jrigg.co.uk/linuxaudio/jack2debian7.html</a>).</div><div><br></div><div><br></div><div>To implement the netjack2 connection I followed the instructions on the jack audio website <a href="https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2">https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2</a>. The result is that the slave keep waiting for a master.</div><div><br></div><div>These are the outputs I get:</div><div><br></div><div><br></div><div>On the master:</div><div>/usr/bin/jackd -P 70 -p96 -t 2000 -dalsa -dhw:CODEC -S -s -r48000 -p128 -n2</div><div>jack_load netmanager</div><div><p class="gmail-p1"><b></b></p>
<p class="gmail-p1"><br></p><div>jackdmp 1.9.11</div><div>Copyright 2001-2005 Paul Davis and others.</div><div>Copyright 2004-2015 Grame.</div><div>jackdmp comes with ABSOLUTELY NO WARRANTY</div><div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div>no message buffer overruns</div><div>no message buffer overruns</div><div>no message buffer overruns</div><div>JACK server starting in realtime mode with priority 70</div><div>self-connect-mode is "Don't restrict self connect requests"</div><div>creating alsa driver ... hw:CODEC|hw:CODEC|128|2|48000|0|0|nomon|swmeter|soft-mode|16bit</div><div>configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods</div><div>ALSA: final selected sample format for capture: 16bit little-endian</div><div>ALSA: use 2 periods for capture</div><div>ALSA: final selected sample format for playback: 16bit little-endian</div><div>ALSA: use 2 periods for playback</div><div>Starting Jack NetManager</div><div>Listening on '<a href="http://225.3.19.154:19000">225.3.19.154:19000</a>'</div><p class="gmail-p1"><br></p><p class="gmail-p1"><br></p><p class="gmail-p1"><br></p><p class="gmail-p1">on the slave:</p><p class="gmail-p1"><span style="font-family:helvetica;font-size:12px">jackd -R -d net</span><span style="font-family:helvetica;font-size:12px"> </span></p>







</div><div><div><br></div><div><br></div><div><div>jackdmp 1.9.11</div><div>Copyright 2001-2005 Paul Davis and others.</div><div>Copyright 2004-2016 Grame.</div><div>jackdmp comes with ABSOLUTELY NO WARRANTY</div><div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div>JACK server starting in realtime mode with priority 10</div><div>self-connect-mode is "Don't restrict self connect requests"</div><div>NetDriver started in async mode without Master's transport sync.</div><div>Waiting for a master...</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br class="gmail-Apple-interchange-newline">Any advise?<br></div><div><br></div><div>Actually, if can be of any help, I also tried to set the mac as master and the linux board as the slave. The result is that they seem to communicate, although jack on the mac crashes giving the error "<span style="font-family:helvetica;font-size:12px">Floating point exception: 8</span>":</div>







<div><br></div><div><br></div><div><br></div><div><br></div><div><div>On the master (mac):</div><div>jackd -P 70 -p96 -t 2000 -dcoreaudio  -s -r48000 -p128 -n2</div><div>jack_load netmanager</div><div><br></div><div><div><br class="gmail-Apple-interchange-newline">jackdmp 1.9.11</div><div>Copyright 2001-2005 Paul Davis and others.</div><div>Copyright 2004-2016 Grame.</div><div>jackdmp comes with ABSOLUTELY NO WARRANTY</div><div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div>JACK server starting in realtime mode with priority 70</div><div>self-connect-mode is "Don't restrict self connect requests"</div><div>Default input and output devices are not the same !!</div><div>Cannot open default device in duplex mode, so aggregate default input and default output</div><div>Separated input = 'Built-in Microphone'</div><div>Separated output = 'Built-in Output'</div><div>Clock drift compensation was asked but is not needed (devices use the same clock domain)</div><div>Ignore incorrect channel mapping value = 2</div><div>Input channel = 0 ==> JACK input port = 0</div><div>Input channel = 1 ==> JACK input port = 1</div><div>JACK output port = 0 ==> output channel = 0</div><div>JACK output port = 1 ==> output channel = 1</div><div>CoreAudio driver is running...</div><div>Starting Jack NetManager</div><div>Listening on '<a href="http://225.3.19.154:19000">225.3.19.154:19000</a>'</div><div>Takes physical 2 audio output(s) for slave</div><div>Takes physical 0 MIDI input(s) for slave</div><div>Takes physical 0 MIDI output(s) for slave</div><div>Sending parameters to ...</div><div>Floating point exception: 8</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>On the slave (linux board):</div><div>jackd -R -d net -a 192.168.117.129 -p 19000</div><div><br></div><div><br></div><div>jackdmp 1.9.11</div><div>Copyright 2001-2005 Paul Davis and others.</div><div>Copyright 2004-2015 Grame.</div><div>jackdmp comes with ABSOLUTELY NO WARRANTY</div><div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div>no message buffer overruns</div><div>no message buffer overruns</div><div>no message buffer overruns</div><div>JACK server starting in realtime mode with priority 10</div><div>self-connect-mode is "Don't restrict self connect requests"</div><div>NetDriver started in async mode without Master's transport sync.</div><div>Waiting for a master...</div><div>Initializing connection with ucas-MacBook-Pro-9.local...</div><div>Maximum number of input ports is reached for application ref = 0</div><div>driver: cannot register port for system:midi_playback_769</div><div>Can't allocate ports.</div><div>Initing net driver fails...</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Notably the result of jack_lsp on the slave is:</div><div><br></div><div>system:capture_1</div><div>system:capture_2</div><div>system:midi_playback_1</div><div>system:midi_playback_2</div><div>system:midi_playback_3</div><div>…..</div><div>system:midi_playback_766</div><div>system:midi_playback_767</div><div>system:midi_playback_768</div><div><br></div><div><br></div><div><br></div><div>It seams that there is a problem with the MIDI ports but I really can't understand how to solve this.</div><div><br></div><div><br></div><div></div></div><div><br></div><div><br></div><div><br></div><div>Thanks in advance</div><div><br></div><div><br></div><div>Cheers</div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>