Chain Manager screen lock up on Vangelis (Resolved)

And now zynthian-amp5.local has caught it again…

Low voltage symbol was on yesterday on the cajon but that has disappeared today . .
seen fault in both states.

We appear to be constructing a zynthian zombie moot

Could somebody, please, write their march or would it be more of a shuffle…?

SUCCESS!!

zynthian-cajon7.local which isn’t connected to hdmi isn’t infected. I’m operating it over vnc purely.

zynthian-amp5.local has the lugy and does have an hdmi monitor attached and it can be triggered from VNC, OSC encoders or Mouse.

It looks like it’s the connection of an HDMI monitor that is triggering it.

But you have to turn the machine off. A reboot or systemctl doesn’t clear it.

A machine with no HDMI monitor springs back into life over VNC only.

Is everybody else getting the issue on HDMI? My working machine is running a 7" touchscreen…?

Less soup for anyone that does…

1 Like

Hi everyone! My Chain Manager issue shows up on Pi5, with both HDMI screen and HDMI touchscreen. As of now, I am unable to measure the CPU cores usage with htop, because both my concerned installations are frozen in a release-less state by @riban’s line commad. How could I possibly reinstate the update process to the current testing release? (and possibly revert to the frozen mode without breaking the system beyond repair?)

Cheers :rainbow:

Here I am! My displays on the suspicious/non-functional setups are an Arzopa 16" HDMI and a Waveshare touch 16" HDMI (with USB-A touch connection).

My access root is

1/ Enable VNC in webconf UI options
2/ Save settings
3/ Turn off
4/ Unplug HDMI components
5/ Turn machine on with hdmi unplugged and access machine from VNC Gui option that should appear in INterface screen.

A mouse will significantly help the process.

Alright @wyleu, this is a useful system recovery workaround, but in this way we loose direct screen visualisation and onscreen workflow, adding significant CPU overhead and operational latency with VNC…

Agreed. But we have, at least pinned it down to a specific area with something hat can put the GUI on a screen somewhere. Quite how much load VNC puts onto the machine above and beyond maintaining possibly 2 HDMI monitors is something for someone to measure. . .

Pi4 versus Pi5 would also play a factor in such situations, involving loads.

For the cajon application after a couple of unsuccessful attempts to hook up an HDMI monitor to the device I prefer VNC access over a wirelessly connected tablet. The wires simply don’t work in a field without being stood on and yanked in incidents involving the word SORRY!

It’s a functioning system and even with the display corpsed the audio stuff works but you loose the ability to modify and shut down involves access via webconf at the easist.

But the inability to use an HDMI monitor is a serious handicap, and needs attention.
Don’t know quite how it intercts with other display configs and whether or not plugging an hdmi monitor into that specific rig.

Version v5.0 removed HDMI access from the zynthian so a case could be made that it isn’t a supported output but it does seem worthy of a little attention at the moment.

1 Like

The fact is going backwards vangelis to:

git checkout 58814e8126f3ba0c340f0f36089a0083e0a672a8

my setup (HDMI+USB) is working. So, something changed that affects HDMI functionality. The weird thing is, why only fails when accesing chain options?.

I wonder if others HDMI setup works in current Vangelis?

1 Like

I already tried to ascertain this, by asking publicly a while ago: not sure anyway of how many custom Vangelis setups with HDMI screen are being experimented with at the moment. And it has perplexed me too, why the management subsystem of the overhauled UI only fails when Chain Manager is evoked. Maybe, something related to the new and sophisticated drag - place - set interactive processor actions devised by @riban?

Now that we have the suspicion of HDMI triggering the issue, I can try to reproduce and if successful, it will assist with debugging the problem. I will look at it over the next few days.

2 Likes

I dunno if i’m late or if this is irrelevant, but i om this custom:


And Chain Manager is working fine!

BUT i did have some freeze issues a week ago. I have a reflashed (yesterday) SD card, since i had lost the ability to update due to a missing file

I just tried with my test machine which is a RPi5. Connecting just HDMI to this does not trigger the problem… not to try with a RPi4.

@riban, what steps should I undertake, to bring in the wilds again one of my custom Pi5 setups with HDMI?

A command to undo

git checkout 58814e8126f3ba0c340f0f36089a0083e0a672a8

and restore the normal Vangelis testing sequence (would something like git checkin work?).

The idea is to try and swap the HDMI monitors, while concurrently reaching the UI through VNC and measuring CPU cores usage, and see if it changes the behaviour of the Chain Manager lock.

Cheers

1 Like

To return to the current vangelis development branch:

cd /zynthian/zynthian-ui
git checkout vangelis
git pull
1 Like

Fine, thank you :+1:. I will try this. :slight_smile:

I have configured a V4 with RPi4:

HARDWARE
Raspberry Pi 4 Model B Rev 1.4
Audio: ZynADAC
Display: Generic HDMI/DSI Display
Wiring: CUSTOM
I2C: MCP23017@0x20, MCP23017@0x21, ADS1115@0x48

with V5 profile and all switch pins = “-1”. Monitor is connected to HDMI 0. Mouse cursor is enabled.

SOFTWARE
zyncoder: vangelis (a4b603f)
zynthian-ui: vangelis (a226f7b)
zynthian-sys: vangelis (93ab9f7)
zynthian-data: vangelis (5db26bd)
zynthian-webconf: vangelis (f55fba2)

USB hub with mouse and QWERTY keyboard. Cold boot by inserting power.

I managed to reproduce the problem! (It took these exact steps - particularly the cold boot.)

2 Likes

For how strange it may sound, this is a relief :wink:, because at least we have a solid debugging base to start from!

1 Like

I don’t know if this Will help to isolate the issue but very rarely clicking chain options works. If you go back and trigger again then fails. The issue occurs not only powering on, It occurs as well rebooting and systemctl restart zynthian.

1 Like

Thanks for everyone’s perseverance here. I have just pushed a fix for this to vangelis. Please update and test.

The cause was some bad code trying to resize text to fit in a box. The trigger was the screen resolution which changes when attaching to some HDMI monitors.

I hope this fixes your issues. Sorry it took so long but it was a tricky thing to diagnose without the trigger conditions.

8 Likes

I just pushed a fix for an error showing Chain Manager view at some screen resolutions. @smespresati please check to see if this fixes your issue.

4 Likes

Well done!

You can skip the evening meal …!

I’m off to a morris dancing moot.

The Cajon, may well be seeing some street action with Vangelis aboard.

3 Likes