<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/09/2017 05:34 PM, sqweek wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM104AWemwg6hg9_C0wx9OcigtkNHAnePmsFBFHELkfZvFhy4w@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On 9 July 2017 at 22:21, alex <span
              dir="ltr"><<a href="mailto:adrcki@gmail.com"
                target="_blank" moz-do-not-send="true">adrcki@gmail.com</a>></span>
            wrote:
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              Indeed that seems like a reason. I'm SSHing into to Odroid
              with -X so I can launch Pd with its GUI, so I tried to SSH
              without -X and jack wouldn't start, but then SSHing back
              with -X made jack start.<br>
              <br>
              Can you post an example of how I should start jack with a
              startup mechanism that's run by my graphical environment?
              I'm not really following there...</blockquote>
            <div><br>
            </div>
            <div>Having the graphical environment start jackd assumes
              that there is a graphical environment running on the
              Odroid, which I don't believe is the case here? Using -X
              with ssh forwards X11 connection attempts on the Odroid to
              the X server on your local machine, but since dbus afaik
              isn't network transparent[1] the DISPLAY you end up with
              via ssh -X will I think not be useful for the dbus side of
              jack. So you can probably get away with setting DISPLAY to
              something arbitrary in your init script, like:</div>
            <div><br>
            </div>
            <div>DISPLAY=:0 jackd -dalsa ...</div>
          </div>
        </div>
      </div>
    </blockquote>
    That did it, kind of... Jack is starting and Pd too, but I get no
    sound. The DSP does go on (there's an LED on the synth I've built
    that goes on when Pd's DSP is on) but I can't hear anything.<br>
    Now though, I can SSH into the Odroid without -X and the script
    launching jack and Pd works and sounds works fine.<br>
    <br>
    This is jack's log:<br>
    <br>
    jackdmp 1.9.10<br>
    Copyright 2001-2005 Paul Davis and others.<br>
    Copyright 2004-2013 Grame.<br>
    jackdmp comes with ABSOLUTELY NO WARRANTY<br>
    This is free software, and you are welcome to redistribute it<br>
    under certain conditions; see the file COPYING for details<br>
    JACK server starting in realtime mode with priority 10<br>
    audio_reservation_init<br>
    Acquire audio card Audio1<br>
    creating alsa driver ...
    hw:USB|hw:USB|512|2|48000|2|4|nomon|swmeter|-|32bit<br>
    configuring for 48000Hz, period = 512 frames (10.7 ms), buffer = 2
    periods<br>
    ALSA: final selected sample format for capture: 32bit integer
    little-endian<br>
    ALSA: use 2 periods for capture<br>
    ALSA: final selected sample format for playback: 32bit integer
    little-endian<br>
    ALSA: use 2 periods for playback<br>
    JackEngine::XRun: client = pure_data_0 was not finished, state =
    Triggered<br>
    Jack main caught signal 15<br>
    JackAudioDriver::ProcessGraphAsyncMaster: Process error<br>
    JackEngine::XRun: client = pure_data_0 was not finished, state =
    Triggered<br>
    JackAudioDriver::ProcessGraphAsyncMaster: Process error<br>
    Released audio card Audio1<br>
    audio_reservation_finish<br>
    <br>
    <br>
    But this is the log when the script is run manually (and sound works
    properly):<br>
    <br>
    jackdmp 1.9.10<br>
    Copyright 2001-2005 Paul Davis and others.<br>
    Copyright 2004-2013 Grame.<br>
    jackdmp comes with ABSOLUTELY NO WARRANTY<br>
    This is free software, and you are welcome to redistribute it<br>
    under certain conditions; see the file COPYING for details<br>
    JACK server starting in realtime mode with priority 10<br>
    audio_reservation_init<br>
    Acquire audio card Audio1<br>
    creating alsa driver ...
    hw:USB|hw:USB|512|2|48000|2|4|nomon|swmeter|-|32bit<br>
    configuring for 48000Hz, period = 512 frames (10.7 ms), buffer = 2
    periods<br>
    ALSA: final selected sample format for capture: 32bit integer
    little-endian<br>
    ALSA: use 2 periods for capture<br>
    ALSA: final selected sample format for playback: 32bit integer
    little-endian<br>
    ALSA: use 2 periods for playback<br>
    Jack main caught signal 15<br>
    JackEngine::XRun: client = pure_data_0 was not finished, state =
    Triggered<br>
    JackAudioDriver::ProcessGraphAsyncMaster: Process error<br>
    Released audio card Audio1<br>
    audio_reservation_finish<br>
    <br>
    <br>
    So, what could the issue be now?<br>
  </body>
</html>