Today I was testing some Oram snapshots in Vangelis. Most work fine, but a snapshot of 8 chains with a Dexed engine in each gave problems.
The snapshot is an attempt to emulate a Yamaha TX816 (8 DX7 synths in one rack), just like a MiniDexed.
All chains share the same midi channel and sound together. I added 4 ZS3 subsnapshots, to select different instruments.
When I load the snapshot on Oram it takes less than 6 seconds. The same snapshot on Vangelis takes more than 50 seconds to load.
To rule out the possibility of porting Oram problems to Vangelis, I created a new Vangelis image without any adaptations or tweaks.
On this setup I started a new simpler snapshot from scratch with 8 Dexed engines and factory presets, but no ZS3’s. Loading of this snapshot (see below) takes more than 30 seconds.
Loading of the snapshot gives journal warnings:
Aug 07 18:44:25 zynthian startx[1348]: WARNING:zynthian_gui.busy_thread_task: Clients have been busy for longer than 30s: {'set_chain_state', 'add_processor', 'load snapshot'}
Aug 07 18:44:27 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 17, delay: 94.0us
Aug 07 18:44:28 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 18, delay: 233.0us
Aug 07 18:44:28 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 19, delay: 227.0us
Aug 07 18:44:28 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 20, delay: 87.0us
Aug 07 18:44:28 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 21, delay: 118.0us
Aug 07 18:44:28 zynthian systemd[1]: Stopping qmidinet.service - QMidiNet Service...
Aug 07 18:44:28 zynthian systemd[1]: qmidinet.service: Deactivated successfully.
Aug 07 18:44:28 zynthian systemd[1]: Stopped qmidinet.service - QMidiNet Service.
Aug 07 18:44:28 zynthian startx[1348]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 22, delay: 102029.0us
This is on a custom V5 clone with a fresh install and updated today. As mentioned, snapshots with other engines work fine.
I hope this can be reproduced by others.
030-Dexed x 8.zss (101.3 KB)
EDIT:
When I load the original (4 ZS3) snapshot, Zynthian can’t shutdown. It stops with
Aug 08 09:32:35 zynthian startx[1293]: ERROR:zynthian_chain_manager.remove_processor: Chain None doesn't exist!
Aug 08 09:32:35 zynthian startx[1293]: zynmixer ended
Aug 08 09:32:36 zynthian startx[1293]: free(): invalid pointer
Aug 08 09:32:36 zynthian startx[1261]: ./zynthian.sh: line 373: 1293 Aborted ./zynthian_main.py
Aug 08 09:32:36 zynthian startx[1261]: *******************
Aug 08 09:32:36 zynthian startx[1261]: EXIT STATUS => 134
Aug 08 09:32:36 zynthian startx[1261]: *******************
and then the Zynthian UI is started again. Only if I load another snapshot it can shutdown.
In my eyes, it looks like memory corruption.
Kind regards,
Hans.