# JUCEJack lacks an output in Arch

**URL:** <https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100>\
**Category:** Cabbage slugs\
**Created:** [21 June 2018 11:48 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100 "2018-06-21T11:48:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [21 June 2018 11:48 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/1 "2018-06-21T11:48:41Z")

</div>

(continued from [[FIXED] Chnset not working Cabbage-wide](http://forum.cabbageaudio.com/t/fixed-chnset-not-working-cabbage-wide))

To summarize, when JACK is selected as the audio device, JUCEJack doesn’t seem to talk properly to the rest of the JACK environment. It doesn’t have the option to connect out to system; on both of the computers I’ve tried this on, it only lists the PulseAudio JACK sink as an output option, but doesn’t actually output audio to it if that option is selected. Its appearance in the patchbay (Catia, in this case) is strange, with only stereo in and no out. Because of this, I am unable to get sound out of Cabbage through JACK (or at all, right now, since the other option ALSA doesn’t seem to want to send sound over HDMI which is the only way I can get it).

 ![](https://forum.cabbageaudio.com/uploads/default/original/2X/4/47b5d4a536fbe4095d4688b0d69fea4760be9eb2.png)

I’m using Cabbage compiled from commit b6b814b, Csound compiled from commit 94f0ca6, Cadence v0.9.0 with the ALSA → PulseAudio → JACK bridge, and Arch Linux with kernel v4.17.2.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [21 June 2018 12:46 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/2 "2018-06-21T12:46:06Z")

</div>

That’s more or less the exact same setup I have here yet I don’t have any issues. What happens if you try to save an instrument first, and then go to change the settings?

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [22 June 2018 01:32 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/3 "2018-06-22T01:32:05Z")

</div>

Huh, it doesn’t seem to make any difference. If I save an instrument, the instrument starts running, but the audio settings stay the same. I wonder what’s going on. 😕

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [22 June 2018 01:48 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/4 "2018-06-22T01:48:49Z")

</div>

So, the behavior I’m observing is basically identical to that described in [this thread](https://forum.juce.com/t/weird-behaviour-of-jack-ports-with-juce-demo/11194) on the JUCE forum. There’s some good news in this—if I disable output in the Cabbage audio settings so that the output ports appear on the JUCEJack module in the patchbay, and then manually connect the module to the system in, I can sometimes get sound out of it. Sometimes Cabbage crashes when I try this, but if I try repeatedly it seems like I can get it to work, so that’s great. Here’s what it looks like:

 ![](https://forum.cabbageaudio.com/uploads/default/original/2X/9/905c5be731f373c3860eab867a18f9a070d990c0.png)

It’s too bad that that thread didn’t get very far, though. 😔 Seems like a strange problem.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [22 June 2018 09:49 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/5 "2018-06-22T09:49:10Z")

</div>

I’m glad you found a solution of sorts, but its not great. I’ll take another look when I get a moment.

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [6 July 2018 17:15 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/6 "2018-07-06T17:15:50Z")

</div>

So, with the latest commit of Cabbage, things are a little better on my system; the Audio and MIDI settings panel displays output channels for JACK, so I don’t have to use the patchbay:

 ![](https://forum.cabbageaudio.com/uploads/default/original/2X/e/e6d9855c5bd66d6af0793a654860f53787e92306.png)

Unfortunately, Cabbage is still very unstable in this configuration. It crashes when I start an instrument about a third of the time.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 July 2018 11:55 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/7 "2018-07-10T11:55:10Z")

</div>

There is a big in the current git tip. I tried desperately to fix it before I left for a short vacation, but couldn’t find an elegant solution. I’ll be able to look into it again later this week. I’ll let you know.

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [10 July 2018 19:07 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/8 "2018-07-10T19:07:52Z")

</div>

Oh, that’s okay, thanks so much for all your hard work on this! I’ve been brushing up on my C++ and the workings of JUCE, so hopefully soon I’ll be able to contribute more deeply than just with bug reports and shell scripts.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [12 July 2018 14:29 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/9 "2018-07-12T14:29:03Z")

</div>

I think this is fixed now and the latest master branch should be stable again. Can you let me know? I had to update the entire audio graph when updating to the latest version of JUCE. I missed a few little things which were causing the node connections to get messed up. Try it out and let me know 😉

p.s. this version causes an assert on exit when run as a debug build, but it’s nothing to worry about. I will clean that up when I get a chance to delve into it a little more.

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [17 July 2018 05:52 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/10 "2018-07-17T05:52:57Z")

</div>

So, lovely news, Cabbage seems to be stable again! Since the latest commit it hasn’t crashed on me once. The audio settings panel looks the same as before, but it has all the necessary stuff so that doesn’t really bother me. Thanks so much!

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [17 July 2018 08:19 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/11 "2018-07-17T08:19:59Z")

</div>

Happy days. Thanks for testing 😀

---

<div class="post-metadata">

**Author:** ![spinnylights](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/spinnylights/32/372_2.png) [@spinnylights](https://forum.cabbageaudio.com/u/spinnylights)\
**Post date:** [18 July 2018 20:40 UTC](https://forum.cabbageaudio.com/t/jucejack-lacks-an-output-in-arch/1100/12 "2018-07-18T20:40:48Z")

</div>

Sure thing! 😁
