# "WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!"

**URL:** <https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190>\
**Category:** Using Zynthian\
**Created:** [January 5, 2021, 9:48pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190 "2021-01-05T21:48:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 5, 2021, 9:48pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/1 "2021-01-05T21:48:09Z")

</div>

Hi, I’ve had my Zynthian v4.1 kit for a couple of months now and midi keep pausing, if I wait several seconds it may begin again. While it’s stopped no sound it transmitted, no midi signal indicated on the console meter.?  
I’ve reset the unit several times, cleared all layers with only my MPK mini connected still the problem returns. Other symptoms are it hold on to the last note played until I reboot or use the ‘PANIC function’, midi doesn’t return until I reboot. Please advise.

Here’s what I seen in the UI log.

Jan 05 20:37:40 zynthian startx[494]: Jack::MidiBufferMixdown - invalid source buffer  
Jan 05 20:39:13 zynthian startx[494]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Jan 05 21:34:27 zynthian startx[497]: ERROR:zynthian\_engine\_linuxsampler.lscp\_send\_single: FAILED lscp\_send\_single(LOAD INSTRUMENT ‘/zynthian/zynthian-data/soundfonts/sfz/Bass/Rickenbacker/bass\_slap.sfz’ 0 0  
Jan 05 21:34:27 zynthian startx[497]: ): [Errno 104] Connection reset by peer

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [January 5, 2021, 10:01pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/2 "2021-01-05T22:01:03Z")

</div>

It could be a bad SD card. Have you tried with another one? A good one. I normally use SanDisk Ultra and it works pretty nice.

Regards,

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [January 5, 2021, 10:01pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/3 "2021-01-05T22:01:48Z")

</div>

BTW, could you send a screen shot of your webconf dashboard?

Thanks!

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 6, 2021, 2:59pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/4 "2021-01-06T14:59:11Z")

</div>

Thanks for the extremely quick reply! That’s interesting, I had a SanDisk Ultra 32Gb in there originally, and during troubleshooting swapped it for a SanDisk Ultra 16Gb, my impression is it got worst (maybe due to reduced buffer space?).  
[Screenshot 2021-01-06 at 14.11.56|690x320](https://discourse.zynthian.org/uploads/short-url/kLCA3lubwnNLN85O42pOge7DP1C.png)  
I’ve ordered a SanDisk Extreme 128G which will arrive later today, I’ll report back.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [January 6, 2021, 3:10pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/5 "2021-01-06T15:10:26Z")

</div>

The screenshot, please …

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 6, 2021, 3:13pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/6 "2021-01-06T15:13:52Z")

</div>

![Screenshot 2021-01-06 at 14.11.56](https://discourse.zynthian.org/uploads/default/original/2X/9/918d9637eefad2bec363e404eafddc7715d820a8.png)

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 21, 2021, 8:52pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/7 "2021-01-21T20:52:28Z")

</div>

Hi folks,  
Can I have some help with this ongoing problem, still getting loads of 'zynthian startx[498]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN! Symptoms, midi pauses and after a few minutes it’ll return, or it’ll hold a note and I’m forced to use the PANIC function. Despite,

1. replacing my SanDisk Ultra with a SanDisk Extreme 64Gb.
2. Fresh install
3. Removing all and redefining several times my layer definitions.

I have three keyboards connected, Yamaha ND-32 USB midi ch1, MPK mini II USB midi ch6, Roland PC 160a midi6 midi IN, and SONUUS guitar synth (midi ch3, 5, 7and 9), I’ve removed the SONUUS out of the loop), issue still exists.  
I’m loosing the faith, please advise.

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [January 21, 2021, 9:16pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/8 "2021-01-21T21:16:37Z")

</div>

hi,  
this could be a power issue. Are the keyboards powered by the raspberry pi through the usb connection or are they self powered ?  
Are youn using a strong power supply and a good usb-c power cable (official raspberry pi are known to be good) ?

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [January 21, 2021, 9:34pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/9 "2021-01-21T21:34:30Z")

</div>

In webconf navigate to Hardware-\>Audio and enable Advanced View then tick, Limit USB speed to 12Mb/s: .

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 21, 2021, 10:30pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/10 "2021-01-21T22:30:04Z")

</div>

Thanks for your quick replies,

1. Zynthian is from the official v4 kit using an ‘official’ raspberry pi 4 USB type C logo’d powered plug, but I will try another.
2. MPK mini is the only keyboard usb powered by the Zynthian, the rest are self powered (have there own PSUs).
3. I have tried reducing USB speed to 12 mb/s historically, but not since the rebuild with the extreme SDcard. I’m concerned its more fundamental than that, I’m at worst playing triads on one or two keyboards at a time and it will pausing ☹  
I will reduce USB speed in the morning and report back! Do you think I could have a hardware issue? They guy on YouTube with the sequencer and keyboard is pushing his zynthian much harder than I’m playing mine with a couple chords?

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 22, 2021, 9:55pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/11 "2021-01-22T21:55:42Z")

</div>

Finally, got somewhere, as suggested I tried slowing the midi down to 12Mb/s which made no difference. I swapped the PSU with another of the same type as supplied with my pi 400 and ‘BINGO’.  
I was able to play for a few hours without interruption, well done to the guy who suggested it 🙂

The PSU’s are both the official pi supplies however, the one supplied with the Zynthian is a Euro two pin supply which I needed to add a 3-pin adapter for the UK socket, where as the replacement has a UK 3-pin plug, otherwise they are the same specification. I’ll try the original (with the 3 pin adapter) again to see if the issue returns

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [January 23, 2021, 4:18pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/12 "2021-01-23T16:18:30Z")

</div>

> [@zz9alfa](#):
>
> Euro two pin supply

Maybe since leaving the EU we have diverged in supply voltages again with Europe dropping back down to 220V and UK ramping back up to 240V. 😉😆

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [January 23, 2021, 7:10pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/13 "2021-01-23T19:10:25Z")

</div>

Yeah, could also be due to the queuing at Folkestone.

The rotten thing is, I’ve swapped back to the original and was able to play uninterrupted for an hour. 🤨

Maybe the main socket? Still investigating, NO I’M NOT; pleased its bl00dy working 🙂

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [January 25, 2021, 10:24am UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/14 "2021-01-25T10:24:53Z")

</div>

I have a theory that zynthians sometimes feel the need for a bit of attention.

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [February 19, 2021, 11:29pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/15 "2021-02-19T23:29:21Z")

</div>

Have you got ant further advise on this topic, I have been silently suffering from this condition for months. I’ve spent loads of time troubleshooting incase it’s something I could resolve myself. Followed your recommendation (and more by using an SanDisk Extreme SD rather than the SanDisk Ultra I had before. I’ve even bought a 120Gb SSD and am booting from that with all this issues that causes, each update?). One suggestion suggested replacing the PSU, did that, still the same problem! Is there a diagnostic service you provide? I’ve now spent far too much on this device and all it brought is frustration, please help.

Still getting “Feb 19 23:14:43 zynthian startx[606]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!”.

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [February 19, 2021, 11:44pm UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/16 "2021-02-19T23:44:26Z")

</div>

![Screenshot 2021-02-19 at 23.40.15](https://discourse.zynthian.org/uploads/default/original/2X/d/d04e847afce4cf13fd87a4b89057e61e1b30999f.jpeg)

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [February 20, 2021, 12:16am UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/17 "2021-02-20T00:16:31Z")

</div>

After a reboot! nothing being played!

 ![Screenshot 2021-02-20 at 00.12.26](https://discourse.zynthian.org/uploads/default/original/2X/1/12fd1b6e1d42928b81211f495c0e4d60e43fba87.jpeg)

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [February 20, 2021, 1:20am UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/18 "2021-02-20T01:20:36Z")

</div>

Please, could you try these steps:

- Burn a fresh SD card with the latest stable image.
- Boot the zynthian and update. Don’t connect anything to the zynthian. Only the ethernet cable.
- When update is completed and Zynthian UI is running again … do you see the XRuns?
- Then, connect and test your MIDI controllers one by one, to see if some of them is overloading the zynthian.

Cheers!

---

<div class="post-metadata">

**Author:** ![zz9alfa](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/zz9alfa/32/5461_2.png) [@zz9alfa](https://discourse.zynthian.org/u/zz9alfa)\
**Post date:** [February 22, 2021, 8:38am UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/19 "2021-02-22T08:38:10Z")

</div>

Okay, thanks for the reply. I performed the following,

1. Removed all cables,
2. Burnt a fresh SD card with the latest stable image,
3. Connected Ethernet only, booted up and performed update,
4. Watched UI log for any “warnings”
5. After 17 minutes with no “warning messages”, I plugged in my AKIA MPK mini top USB3 port,  
5b. began configuring a layer and noticed a red triangle warning on the console and a subsequent  
review of the UI log shows, “WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio  
XRUN!”
6. Plug in my MPK mini into the bottom USB2 port, configure a layer and play for a few minutes, where I see no more “warnings”.
7. Plug in my DR-880 drum machine, play a sequence and this produces lots of,  
“Feb 22 07:45:27 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:27 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:27 zynthian startx[21239]: Jack::MidiBufferMixdown - invalid source buffer  
Feb 22 07:45:34 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:34 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:34 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:34 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:35 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:36 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!  
Feb 22 07:45:37 zynthian startx[21239]: WARNING:zynthian\_autoconnect.cb\_jack\_xrun: Jack Audio XRUN!”

This suggests that my Zynthian is not rebust enough to accept midi at a throughput generated by a sequencer or fast keyboard playing, yet I see an example of it here, [Zynthian Multi-timbric Demo with ZAQuencer - Feat. BBoy Zyndancer - YouTube](https://www.youtube.com/watch?v=dj5jG5Xq834)  
The worry is that the error was initally reproduced with my MPK mini on its own!!!

Is my Zythian faulty?

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [February 22, 2021, 10:50am UTC](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190/20 "2021-02-22T10:50:03Z")

</div>

Some observations to try and help us troubleshoot.

- Was the update from the web-ui, zynscreen gui or did you ssh in?
- You mention that you play for a few minutes but not that you created a layer, Some engines do create a lot of xruns depending on the patch, notably Surge. (I saw before you were using linuxsampler though, which should be fine)
- You also say you plugged in the DR-880, but not say where you plugged it in, or if you unplugged the MPK beforehand.

[Next page](https://discourse.zynthian.org/t/warning-zynthian-autoconnect-cb-jack-xrun-jack-audio-xrun/5190.md?page=2)
