# On-Screen Status Info on Zynthian-UI: CPU-load, MIDI-IN, xrun, undervoltage & overtemperature

**URL:** <https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829>\
**Category:** Software Updates\
**Created:** [March 17, 2019, 4:22am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829 "2019-03-17T04:22:28Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [March 19, 2019, 1:13pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/22 "2019-03-19T13:13:38Z")

</div>

Hi @C0d3man!

I’ve been testing Pianoteq with other zynthians, playing very very hard and it’s really difficult to get a XRun without using the sustain pedal. FYI, I’m using the 6.4.1 version that IMHO, performs better than older ones.

Regards,

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [March 19, 2019, 2:26pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/23 "2019-03-19T14:26:37Z")

</div>

I get xruns anytime. Just play the lower keys very fast, loud and many.  
I think it has always been like that though. But now you see it, when you get one as well

---

<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:** [March 19, 2019, 3:15pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/24 "2019-03-19T15:15:38Z")

</div>

@mheidt,

- What instrument are you using? Any?
- Are you using a RBPi3 B+?
- Are you sure you have not the “V” flag (undervoltage) in the status area? 😉

Regards,

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [March 19, 2019, 3:25pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/25 "2019-03-19T15:25:05Z")

</div>

It’s only Steinway D. MkII is fine.  
I don’t use other pianos.  
And no, 6A is enough and I only see M and X  
And it’s on both Audioinjector Zynthians.  
I don’t use PT on the original one.  
And yes B+

---

<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:** [March 19, 2019, 3:36pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/26 "2019-03-19T15:36:09Z")

</div>

Could you test with the original zynthian?  
I would like to know if it’s related with AudioInjector …

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:** [March 19, 2019, 4:26pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/27 "2019-03-19T16:26:43Z")

</div>

@C0d3man …

Are you using some RT optimization (CPU sets or so …) on your zynthian?

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:** [March 19, 2019, 4:38pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/28 "2019-03-19T16:38:21Z")

</div>

OK! I’ve optimized the refresh\_update function to reduce the CPU usage by Zynthian-UI and recuce system calls that can block process (vcgencmd??). Please, tell me if you feel some improvement …

If not, try to totally disable de status refresh, but i can’t note any difference 😉

Regards,

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [March 19, 2019, 4:42pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/29 "2019-03-19T16:42:59Z")

</div>

> [@jofemodo](#):
>
> If not, try to totally disable de status refresh, but i can’t note any difference 😉

> [@wyleu](#):
>
> It could be another webconf advanced display config or it’s a benevolent dictator declaration.

Tee Hee.

I’d say less, but twenty characters … 😃

---

<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:** [March 19, 2019, 4:54pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/30 "2019-03-19T16:54:24Z")

</div>

> [@wyleu](#):
>
> It could be another webconf advanced display config or it’s a benevolent dictator declaration.

Of course it can be an option … but … if it has **absolutely no impact** in performance, i don’t see any reason to be an option. In the other hand, if we suspect or have a reasonable doubt of that, we should add an option 😉

Regards,

---

<div class="post-metadata">

**Author:** ![sadkermit](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/sadkermit/32/1616_2.png) [@sadkermit](https://discourse.zynthian.org/u/sadkermit)\
**Post date:** [March 19, 2019, 6:34pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/31 "2019-03-19T18:34:57Z")

</div>

@jofemodo 👏👏👏  
thanks a lot! this new on-screen status function is not just waaay cool but also saved my mental health: it’s about a month I’m having issues (pops, crackles and all the xruns related miseries) with Pianoteq and Linuxsampler, yesterday I did an update and after what am I reading on the display? The RED V!! I immediately thrashed the “high quality” 2.4A power supply I was using, dashed out the door to buy a new one (3.1A this time) and now everything works as it should! Soooo happy and in love again with my Zynthian! 😍

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [March 19, 2019, 6:58pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/32 "2019-03-19T18:58:32Z")

</div>

yes, i have two 2.5A…one works and the other doesn’t…a new power supply it will be…

---

<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:** [March 19, 2019, 7:00pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/33 "2019-03-19T19:00:23Z")

</div>

> [@sadkermit](#):
>
> Soooo happy and in love again with my Zynthian! 😍

Ohhh! I’m really happy of seen the utility of this new feature!! Great!! 😊

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [March 19, 2019, 7:09pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/34 "2019-03-19T19:09:24Z")

</div>

> [@jofemodo](#):
>
> Could you test with the original zynthian?  
> I would like to know if it’s related with AudioInjector …

I tested with a ZynthianOS on the original and it works far better.

Now I am trying the ZynthianOS on an Audioinjector Zynthian.  
But jack doesn’t play with me yet.

Cannot open ZynMidiRouter client  
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock  
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock  
ZynMidiRouter: Error connecting with jack server.  
ZynMidiRouter: MIDI tuning frequency set to 440 Hz (8192)  
./zynthian.sh: line 127: 1179 Segmentation fault ./zynthian\_gui.py

---

<div class="post-metadata">

**Author:** ![spurkopf](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/spurkopf/32/13199_2.png) [@spurkopf](https://discourse.zynthian.org/u/spurkopf)\
**Post date:** [March 19, 2019, 8:34pm UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/35 "2019-03-19T20:34:28Z")

</div>

Again, this is so helpful! After the update, I also found that “v” is almost constantly lit. Although a “3 A” power supply is connected to the Zynthian. I have exchanged it with the power supply of my Libreelec box (also 3A) and zynthian runs as if he is on dope. 🤩  
…obviously 3A is not equal to 3A 🤨

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [March 21, 2019, 8:07am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/36 "2019-03-21T08:07:20Z")

</div>

> [@jofemodo](#):
>
> OK! I’ve optimized the refresh\_update function to reduce the CPU usage by Zynthian-UI and recuce system calls that can block process (vcgencmd??). Please, tell me if you feel some improvement …

It’s a little bit better for me (RPi3B - no plus!) but it’s nood ass good as “before”. I can’t see any undervoltage flag. I think I will setup the whole system again. Perhaps I have done something I can’t remeber what causes my trouble.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [March 21, 2019, 8:27am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/37 "2019-03-21T08:27:42Z")

</div>

I’m looking for 1 Farad capacitor at 20 Volts. . . (quite why I wont settle for 0.47F I don’t know) to see if it will cure the occasional xruns on my pianoteq rig with the Hifiberry amp +.

[Actually . . . .](https://www.ebay.co.uk/i/183111553311?chn=ps)

A fairly long hard look at the possibility of driving the hifiberry amp2 device from a Makita battery supply…

All kinds of interesting stuff including a design flaw 😃

[Here’s someone going the other way . . .](https://www.instructables.com/id/18v-Makita-LXT-Power-Pack-Cordless-to-Corded-Conve/)

---

<div class="post-metadata">

**Author:** ![Axeman](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/axeman/32/278_2.png) [@Axeman](https://discourse.zynthian.org/u/Axeman)\
**Post date:** [March 21, 2019, 10:00am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/38 "2019-03-21T10:00:26Z")

</div>

> [@wyleu](#):
>
> A fairly long hard look at the possibility of driving the hifiberry amp2 device from a Makita battery supply…

I don’t see any particular problem doing such a thing … Actually, with my “Roland D5-ZYn” i’m thinking about doing a full battery operated machine… there is an awful lot of empty space inside the D5 case 🙂

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [March 21, 2019, 10:08am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/39 "2019-03-21T10:08:57Z")

</div>

The hifiamp2 with control 1 speakers was 7 kilograms, the LI-Ion batteries are certainty a more attractive proposition from the lugging around point of view!

The nice thing about doing the zynthian amp2 battery thing is you have a transportable off grid grand piano !! 😃 Which is why the idea of an distributed audio net is interesting because I can finally get an audio in with jack and a hifi berry amp2.  
So you can handle a mic as well!  
Not bad for a diversion from a “can we see Xruns displayed?” discussion is it?

I hope the xrun issue is power supply related, because I am using the power supply supplied by hifiberry for the amp2 and I’d like to think this wasn’t below our performance threshold. It’s probably as much of a test as we could give it . . . .

---

<div class="post-metadata">

**Author:** ![Axeman](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/axeman/32/278_2.png) [@Axeman](https://discourse.zynthian.org/u/Axeman)\
**Post date:** [March 21, 2019, 10:34am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/41 "2019-03-21T10:34:44Z")

</div>

> [@wyleu](#):
>
> The hifiamp2 with control 1 speakers was 7 kilograms,

Roadies’ problem, not mine. And it could be worse: I could have an original Leslie speaker 🤣🤣

But I was thinking of something a little smaller than those JBL speakers… actually an headphone amp. There’s always the little problem that if someone listen my playing, I have to kill him then… 😝

Back to the topic: are you powering the rPI from the amp2? If I see right from the picture, amp2 uses a TPS54232 regulator, that has an output up to 2A, and I don’t see some “beefy” capacitors on the amp. So, you may be slightly underpowering the rPI in some situation.

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [March 21, 2019, 10:42am UTC](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829/42 "2019-03-21T10:42:39Z")

</div>

> [@Axeman](#):
>
> Roadies’ problem, not mine. And it could be worse: I could have an original Leslie speaker 🤣🤣

Hammond organs were most feared . . .

> [@Axeman](#):
>
> Back to the topic: are you powering the rPI from the amp2?

Yep. Seems the most sensible approach. I assume hifiberry have got nicely compressed hifi audio in mind rather than live un-adulterated Steinway D ( wyleu minor’s sulky selection from amongst the piano’s . . . )  
The giveaway will be turning down the volume on the zynth ( no mucking around with external PA…) . If it’s power supply there will be a maximum volume (regrettable but acceptable I suppose), whilst if it’s something more pernicious (like I seem to see with the MDA DX10 I’ve now got access to…) then you will see the errors whatever the volume…

I suspect a ‘decent cap’ around the amp might help issues a little, but most Power Amp design of the past forty or so years has been about Power Supply design so perhaps it’s best left as a nice option on the hifiberry amp3 . . .

Much to play with. . .

[Previous page](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829.md?page=1)

[Next page](https://discourse.zynthian.org/t/on-screen-status-info-on-zynthian-ui-cpu-load-midi-in-xrun-undervoltage-overtemperature/2829.md?page=3)
