# String feedback example xruns on Linux

**URL:** <https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208>\
**Category:** Cabbage Stew\
**Created:** [11 April 2016 21:41 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208 "2016-04-11T21:41:00Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rampoina](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rampoina](https://forum.cabbageaudio.com/u/Rampoina)\
**Post date:** [11 April 2016 21:41 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/1 "2016-04-11T21:41:00Z")

</div>

Hi,

I’m only getting xruns and no sound running the string feedback example on Linux, using Jack, no matter how high I set the Frames/Period and Periods/Buffer. No sound also on ALSA.

On an unrelated note, I’m using a tiling window manager (awesome wm) and JUCE does some really weird things (for example the examples button is unusable after the first time you click it).  
The first time I compiled it (I don’t remember which version), the window didn’t even show anything.

---

<div class="post-metadata">

**Author:** ![Rampoina](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rampoina](https://forum.cabbageaudio.com/u/Rampoina)\
**Post date:** [11 April 2016 22:26 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/2 "2016-04-11T22:26:21Z")

</div>

I built from the lastest develop branch, using

> ./buildCabbage “/usr/local/include/csound/” “/usr/local/lib/csound/” “/home/me/VST3/”

it failed with:

> In file included from ../../JuceLibraryCode/modules/juce\_audio\_processors/juce\_audio\_processors.cpp:152:0:  
> ../../JuceLibraryCode/modules/juce\_audio\_processors/format\_types/juce\_VSTPluginFormat.cpp:49:44: fatal error: pluginterfaces/vst2.x/aeffectx.h: No such file or directory  
> #include “pluginterfaces/vst2.x/aeffectx.h”

It seems that it doesn’t find the VST directory even though I have it:

> ls -l ~/VST3/pluginterfaces/vst2/aeffectx.h  
> -rw-r–r-- 1 me me 65211 Nov 12 16:10 /home/me/VST3/pluginterfaces/vst2.x/aeffectx.h

However it seems that it compiles anyways, I tried it and the string feedback example works!

The JUCE issues with my window manager are still prevalent though

---

<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:** [11 April 2016 22:32 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/3 "2016-04-11T22:32:16Z")

</div>

JUCE seems to have an issue with different windows managers on Linux. What windows manager did you say you were using?

---

<div class="post-metadata">

**Author:** ![Rampoina](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rampoina](https://forum.cabbageaudio.com/u/Rampoina)\
**Post date:** [11 April 2016 22:42 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/4 "2016-04-11T22:42:29Z")

</div>

[awesome wm](https://awesomewm.org/)

---

<div class="post-metadata">

**Author:** ![Rampoina](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rampoina](https://forum.cabbageaudio.com/u/Rampoina)\
**Post date:** [11 April 2016 22:47 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/5 "2016-04-11T22:47:23Z")

</div>

The main problem is that after opening an example the examples dropdown doesn’t work, so you have to restart cabbage to try another example, the other dropdowns seem to work though.

---

<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 April 2016 13:34 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/6 "2016-04-12T13:34:39Z")

</div>

I’ll have a look through the JUCE forums and see if anyone has had an similar problems. But this looks like a JUCE/Linux problem rather than a Cabbage specific one. Anyhow, I’m glad you got the string feedback example to work. It’s great!

---

<div class="post-metadata">

**Author:** ![Rampoina](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rampoina](https://forum.cabbageaudio.com/u/Rampoina)\
**Post date:** [12 April 2016 16:11 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/7 "2016-04-12T16:11:47Z")

</div>

It most likely is a JUCE problem. Those kind of bugs happen quite frequently with more “alternative” gui toolkits using tiling window managers.

I found something about nativeFileChooser but it seems this is not the problem (and you already have an option for that)  
I’ll look a bit more.

Any ideas why it’s not finding the VST files? I don’t need it right now but I may want to create a VST in the future.

The string feedback example is indeed pretty nice.

---

<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 April 2016 17:48 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/8 "2016-04-12T17:48:51Z")

</div>

Can you try passing the complete full path for the VST3 sdk?

---

<div class="post-metadata">

**Author:** ![gsenna](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@gsenna](https://forum.cabbageaudio.com/u/gsenna)\
**Post date:** [12 April 2016 18:13 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/9 "2016-04-12T18:13:31Z")

</div>

He seems to be passing the full path, isn’t he? As a workaround he could copy “pluginterfaces/vst2/\*” (dir, sub-dir and headers) into “JuceLibraryCode/modules/juce\_audio\_processors/format\_types/”. I remember doing that to solve the problem in old versions.

---

<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 April 2016 18:39 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/10 "2016-04-12T18:39:57Z")

</div>

I never heard of that one before, but worth a try I guess. Sorry, you’re right, he is passing the full path. I need to download the vst3 sdk and get this sorted. I’m still using the 2.4 one!

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [13 April 2016 11:13 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/11 "2016-04-13T11:13:19Z")

</div>

It’s interesting that this example was being discussed. I tried it out, using the most recent build on both Windows and Mac, and found it to be non-working on both!

After some fiddling around I traced the problem to this line in instr 1:

```
 krefl	=	1-ksustain ; string damping (derived from sustain value). Higher values = more damping. Range 0 - 1

```

Simply commenting out this line and retyping:

```
krefl = 1-ksustain

```

fixed the problem on both platforms so I assumed it must be some parsing quirk involving tabs or a hidden character, but even after further fiddling I haven’t been able to pinpoint what it was. Paranormal intervention probably.  
(On Windows there is also our friend the linsegr bug but is easily worked-around and will hopefully be gone altogether shortly.)  
I’ll keep looking into this and try and find out exactly what it was, but I thought I’d mention it in case you have any ideas.

---

<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:** [13 April 2016 11:54 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/12 "2016-04-13T11:54:43Z")

</div>

Works here with the latest version on Windows? Uploaded lalst night. v1.0.04  
I did recently fix a silly bug that causing some parsing issue. It was something I introduced a while back, but didn’t pop u often. Anyhow, it’s gone now and this example runs fine for me. I will try to get an OSX update out soon.

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [13 April 2016 12:48 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/13 "2016-04-13T12:48:37Z")

</div>

Sorry, how do I get v1.0.04? The Windows version on the main site (64 bit) is v1.0.00 and seems to exhibit the problem.

---

<div class="post-metadata">

**Author:** ![gsenna](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@gsenna](https://forum.cabbageaudio.com/u/gsenna)\
**Post date:** [13 April 2016 13:24 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/14 "2016-04-13T13:24:40Z")

</div>

> [@Latest beta packages available here (updated links)](http://forum.cabbageaudio.com/t/latest-beta-pacakges-available-here/114):
>
> Cabbage packages are created remotely each time a commit is made to the Cabbage GIT develop repository. These builds are beta and can be accessed [here](https://dev.azure.com/rorywalsh/cabbage/_build?view=runs) Just follows the steps shown here: Please do not report issues to this thread. Report them to the Cabbage Slugs section of the forum; and please reference to reference the build tag if you can.

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [13 April 2016 13:59 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/15 "2016-04-13T13:59:19Z")

</div>

Of course it’s there, thanks. I was just thinking that maybe a parsing error fix should be pushed to the official release as soon as possible, but perhaps there are other issues with the beta version that prevent that. I was just thinking back to a new-user comment on the main Csound list recently, saying that he was almost put off sticking with Csound on account of seg. faults. Non-working examples in the official release might present a similar problem.

---

<div class="post-metadata">

**Author:** ![gsenna](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@gsenna](https://forum.cabbageaudio.com/u/gsenna)\
**Post date:** [13 April 2016 14:09 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/16 "2016-04-13T14:09:01Z")

</div>

Should the betas be published in the Downloads page also? In the long run, are we going to see Stable/Unstable releases?

---

<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:** [13 April 2016 15:17 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/17 "2016-04-13T15:17:29Z")

</div>

I would like to roll out a new release as soon as possible, but the hold up with Csound6.07 is what’s preventing this from happening. As soon as it is released I’ll have to update all the packages. But, I do realise that we have tested about 4 minor releases since the last official release, so it’s high time that we got one out.

I have got through most of the outstanding bugs, so perhaps I will just go ahead over the next few days and create a release. OSX and Linux are not a problem. I’ll test Mike’s Windows package again in the next few days and see if everything is compatible with the latest Cabbage. If it is, then maybe I’ll just go for it.

> [@gsenna](#):
>
> Should the betas be published in the Downloads page also? In the long run, are we going to see Stable/Unstable releases?

But wouldn’t we need a stable version for this to happen! 😉 I might add a link to the sticky on the forum from the main page. At least users can go there and try the latest packages if they do find a problem.

---

<div class="post-metadata">

**Author:** ![gsenna](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/a88e4f/32.png) [@gsenna](https://forum.cabbageaudio.com/u/gsenna)\
**Post date:** [13 April 2016 16:17 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/18 "2016-04-13T16:17:01Z")

</div>

Under Linux, Cabbage is pretty stable in my opinion. Most of the time the bugs (the ones that force you to restart or at least reload the instrument) seem to be in the editor. Windows is a different thing. With v1.0 you sometimes open an instrument and “Cabbage has stopped working…” or something like that. You open it again and it works. ¯\_(ツ)\_/¯

---

<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:** [13 April 2016 18:05 UTC](https://forum.cabbageaudio.com/t/string-feedback-example-xruns-on-linux/208/19 "2016-04-13T18:05:33Z")

</div>

It seems far better now than it was back in v1.0.0. But I agree, Windows needs more love!
