Boot Screen Error

Hi everybody, complete noob here.

Received a zynthian kit as a gift and am trying to get everything working together. I assembled the hardware as well as I could and got to a boot screen error. Everything in the webconf looks right to me, but again complete noob:

Jul 25 23:33:11 zynthian startx[1160]: xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support)
Jul 25 23:33:11 zynthian startx[1160]: Current version of pixman: 0.36.0
Jul 25 23:33:11 zynthian startx[1160]: Before reporting problems, check http://wiki.x.org
Jul 25 23:33:11 zynthian startx[1160]: to make sure that you have the latest version.
Jul 25 23:33:11 zynthian startx[1160]: Markers: (--) probed, (**) from config file, (==) default setting,
Jul 25 23:33:11 zynthian startx[1160]: (++) from command line, (!!) notice, (II) informational,
Jul 25 23:33:11 zynthian startx[1160]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jul 25 23:33:11 zynthian startx[1160]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 25 23:33:11 2020
Jul 25 23:33:11 zynthian startx[1160]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jul 25 23:33:11 zynthian startx[1160]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jul 25 23:33:13 zynthian systemd[1]: Stopping Zynthian User Interface...
Jul 25 23:33:13 zynthian startx[1160]: Terminated
Jul 25 23:33:14 zynthian startx[1160]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Jul 25 23:33:14 zynthian startx[1160]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Jul 25 23:33:14 zynthian startx[1160]: Zooming image by 100%...done
Jul 25 23:33:14 zynthian startx[1160]: Merging...didn't find evidence of prior run.
Jul 25 23:33:14 zynthian startx[1160]: done
Jul 25 23:33:14 zynthian startx[1160]: Building XImage...done
Jul 25 23:33:19 zynthian startx[1160]: error: failed to open file /zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl (No such file or directory)
Jul 25 23:33:19 zynthian startx[1160]: lilv_world_load_file(): error: Error loading file `file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl'
Jul 25 23:33:19 zynthian startx[1160]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl
Jul 25 23:33:22 zynthian startx[1160]: Cannot connect to server socket err = No such file or directory
Jul 25 23:33:22 zynthian startx[1160]: Cannot connect to server request channel
Jul 25 23:33:22 zynthian startx[1160]: jack server is not running or cannot be started
Jul 25 23:33:22 zynthian startx[1160]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 25 23:33:22 zynthian startx[1160]: libjackpeak failed to start jack client: 17
Jul 25 23:33:23 zynthian startx[1160]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Jul 25 23:33:23 zynthian startx[1160]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Jul 25 23:33:23 zynthian startx[1160]: Zooming image by 100%...done
Jul 25 23:33:23 zynthian startx[1160]: Merging...done
Jul 25 23:33:23 zynthian startx[1160]: Building XImage...done

Any help would be awesome to just get me past the boot screen. Thanks!

1 Like

Hi @danny4213, welcome to the fun house. It looks like JACK isn’t staying which may be due to incorrect sound card selection. First thing is to check you have selected the correct kit from the Hardware menu in webconf.

Thanks riban. I have the audio injector sound card and that is what I have selected in the webconf. I don’t have a kit selected because I believe what I was gifted was more pieces than a complete kit. I already had the sound card.

Any other suggestions you think I could try? Is there a way for me to disable/enabled certain things at a time to root cause the problem? Thanks again.

Disconnect the audio card and see if you can start the device up as audio dummies. That will prove the rig and make sure there isn’t a problem with the io cables which tend to be where problems often occur.
A zynth that can’t start jack normally won’t run the gui but you can get on from the webconf as you have done so you know some processes are running.
Audio injector cards can be temperamental especially after upgrades but I haven’t managed to damage one yet. A good test of the audio injector is burn a raspbian ssd and see if it works with that.

It’s frustrating because you start questioning things but do try making a new zynth ssd cos I’ve had problems that a reburn of the ssds cures.

Just don’t take it personally it’s just tech. Something is preventing it starting but when it’s cleared it won’t remember! The debug gui window can be very helpful and there is logging on via ssh, stopping the Zynthian process, systemctl stop zynthian, CD into /zynthian/Zynthian-ui and run python zynthian_gui. py. That way you get to see the python error that stops the gui…

Oh and some photos really help. That’s how we often catch the reversed edge connectors and such like.

Hi !

I encountered exactly the same issue after a fresh install on a bare Rpi with a waveshare 3.5 A screen.

I had exactly the same behavior and same logs.

The issue really seems to come from jack.

Here what I’ve done from now :

  • aplay -l

root@zynthian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

  • changed in /usr/share/alsa/alsa.confparams defaults.ctl.card and defaults.pcm.card from 0 to 1 (my generic USB card number)
  • start jack specifying my card number: jackd -Rd alsa -d hw:1 -r 48000 -p 1024 -n 2

UI Starts !!!

But failed after few seconds :

Here are jack output :

root@zynthian:~# jackd -Rd alsa -d hw:1 -r 48000 -p 1024 -n 2
jackdmp 1.9.14
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2019 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:1|hw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
JackGraphManager::Disconnect not connected port_src = 11 port_dst = 7
JackGraphManager::Disconnect not connected port_src = 13 port_dst = 5
JackGraphManager::Disconnect not connected port_src = 13 port_dst = 7
JackGraphManager::Connect already connected port_src = 4 port_dst = 31
JackGraphManager::Connect already connected port_src = 6 port_dst = 31
JackGraphManager::Connect already connected port_src = 37 port_dst = 34
JackGraphManager::Connect already connected port_src = 11 port_dst = 5
JackGraphManager::Disconnect not connected port_src = 11 port_dst = 7
JackGraphManager::Connect already connected port_src = 14 port_dst = 36
JackGraphManager::Disconnect not connected port_src = 13 port_dst = 5
JackGraphManager::Disconnect not connected port_src = 13 port_dst = 7
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 19 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = jackpeak notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 28 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe

and so one …

And here are UI log from web UI :

Jul 26 21:42:45 zynthian startx[18667]: Building XImage...done
Jul 26 21:42:50 zynthian startx[18667]: error: failed to open file /zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl (No such file or directory)
Jul 26 21:42:50 zynthian startx[18667]: lilv_world_load_file(): error: Error loading file `file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl'
Jul 26 21:42:50 zynthian startx[18667]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl
Jul 26 21:42:52 zynthian startx[18667]: libjackpeak registering as 'jackpeak'.
Jul 26 21:42:52 zynthian startx[18667]: libjackpeak created input ports
Jul 26 21:42:53 zynthian startx[18667]: Invalid card number.
Jul 26 21:42:53 zynthian startx[18667]: ERROR:zynthian_engine_mixer.get_controllers_dict: Command 'amixer -M -c 0' returned non-zero exit status 1.
Jul 26 21:42:53 zynthian startx[18667]: ERROR: PatternManager failed to open file for load /zynthian/zynthian-my-data/sequences/patterns.zynseq
Jul 26 21:43:05 zynthian systemd[1]: zynthian.service: Stopping timed out. Terminating.
Jul 26 21:43:05 zynthian systemd[1]: zynthian.service: Control process exited, code=killed, status=15/TERM
Jul 26 21:43:05 zynthian startx[18667]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jul 26 21:43:05 zynthian startx[18667]: after 1009 requests (751 known processed) with 0 events remaining.
Jul 26 21:43:05 zynthian startx[18667]: Zyncoder: Zynswitches poll thread created successfully
Jul 26 21:43:05 zynthian startx[18667]: zynseq: Jack samplerate: 48000
Jul 26 21:43:05 zynthian startx[18667]: zynseq: Jack buffer size: 1024
Jul 26 21:43:05 zynthian startx[18667]: ZynMidiRouter: MIDI tuning frequency set to 440 Hz (8192)
Jul 26 21:43:05 zynthian startx[18667]: zynseq exit
Jul 26 21:43:05 zynthian startx[18667]: xinit: connection to X server lost
Jul 26 21:43:05 zynthian startx[18667]: [1B blob data]
Jul 26 21:43:05 zynthian startx[18667]: waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Jul 26 21:43:06 zynthian startx[18667]: xinit: unexpected signal 15
Jul 26 21:43:06 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 21:43:06 zynthian systemd[1]: zynthian.service: Failed with result 'timeout'.
Jul 26 21:43:06 zynthian systemd[1]: Stopped Zynthian User Interface.
Jul 26 21:43:06 zynthian systemd[1]: Started Zynthian User Interface.
Jul 26 21:43:06 zynthian startx[18899]: X.Org X Server 1.20.4
Jul 26 21:43:06 zynthian startx[18899]: X Protocol Version 11, Revision 0
Jul 26 21:43:06 zynthian startx[18899]: Build Operating System: Linux 4.15.0-48-generic armv8l Raspbian
Jul 26 21:43:06 zynthian startx[18899]: Current Operating System: Linux zynthian 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l
Jul 26 21:43:06 zynthian startx[18899]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:14:B3:D4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Jul 26 21:43:06 zynthian startx[18899]: Build Date: 05 June 2019 12:49:54PM
Jul 26 21:43:06 zynthian startx[18899]: xorg-server 2:1.20.4-1+rpt1 (https://www.debian.org/support)
Jul 26 21:43:06 zynthian startx[18899]: Current version of pixman: 0.36.0
Jul 26 21:43:06 zynthian startx[18899]: Before reporting problems, check http://wiki.x.org
Jul 26 21:43:06 zynthian startx[18899]: to make sure that you have the latest version.
Jul 26 21:43:06 zynthian startx[18899]: Markers: (--) probed, (**) from config file, (==) default setting,
Jul 26 21:43:06 zynthian startx[18899]: (++) from command line, (!!) notice, (II) informational,
Jul 26 21:43:06 zynthian startx[18899]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jul 26 21:43:06 zynthian startx[18899]: (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 26 21:43:06 2020
Jul 26 21:43:06 zynthian startx[18899]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jul 26 21:43:06 zynthian startx[18899]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jul 26 21:43:07 zynthian startx[18899]: ./zynthian.sh: line 55: /sys/class/backlight/*/bl_power: No such file or directory
Jul 26 21:43:07 zynthian systemd[1]: Stopping Zynthian User Interface...
Jul 26 21:43:07 zynthian startx[18899]: Terminated
Jul 26 21:43:08 zynthian startx[18899]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Jul 26 21:43:08 zynthian startx[18899]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Jul 26 21:43:08 zynthian startx[18899]: Zooming image by 100%...done
Jul 26 21:43:08 zynthian startx[18899]: Merging...didn't find evidence of prior run.
Jul 26 21:43:08 zynthian startx[18899]: done

It seems that the card number is not right ( Jul 26 21:42:53 zynthian startx[18667]: Invalid card number. )but I’m stuck there and need help :slight_smile:

Many thanks !!!

BR,

Uru

It might be this:

@Baggypants Thanks, but even with this change I get the same results and same kind of logs :

root@zynthian:~# jackd -Rd alsa -d hw:1 -r 48000 -p 1024 -n 2
jackdmp 1.9.14
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2019 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:1|hw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
JackGraphManager::Connect already connected port_src = 33 port_dst = 30
JackGraphManager::Connect already connected port_src = 10 port_dst = 32
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 13 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = jackpeak notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 13 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jack_transport notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jack_transport notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackGraphManager::Connect already connected port_src = 33 port_dst = 30
JackGraphManager::Connect already connected port_src = 10 port_dst = 32
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 13 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = jackpeak notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 13 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackGraphManager::Connect already connected port_src = 33 port_dst = 30
JackGraphManager::Connect already connected port_src = 10 port_dst = 32
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = ZynMidiRouter was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 13 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = jackpeak notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 16 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 13 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 13 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ZynMidiRouter notification = 1 val1 = 0 val2 = 0
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = jackpeak was not finished, state = Triggered
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot write socket fd = 13 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jack_transport notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jack_transport notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jack_transport notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 3 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0
JackEngine::XRun: client = zynthstep was not finished, state = Triggered
Cannot write socket fd = 22 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = jackpeak notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = zynthstep notification = 1 val1 = 0 val2 = 0
Cannot write socket fd = 25 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = Zynthian_autoconnect notification = 3 val1 = 0 val2 = 0

Is there something else I have to do after having modified /etc/dbus-1/system-local.conf ?

BR,

Uru

Looks like this is also a problem. Zynthian is expecting a lot of things to be card0.

Jul 26 21:42:53 zynthian startx[18667]: ERROR:zynthian_engine_mixer.get_controllers_dict: Command 'amixer -M -c 0' returned non-zero exit status 1.

@Baggypants thanks !

Do you know where the card number in this command line is defined ?

in fact, in my case card number has to be number 1.

When I launch with card 0 :
root@zynthian:~# amixer -M -c 0
Invalid card number.
Usage: amixer [command]

When I launch with card 1 :
root@zynthian:~# amixer -M -c 1
Simple mixer control ‘Speaker’,0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 37
Mono:
Front Left: Playback 28 [71%] [-9.00dB] [on]
Front Right: Playback 28 [71%] [-9.00dB] [on]
Simple mixer control ‘Mic’,0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 31 Capture 0 - 35
Mono: Playback 0 [0%] [-99999.99dB] [off] Capture 20 [41%] [8.00dB] [on]
Simple mixer control ‘Auto Gain Control’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

BR,

Uru

Don’t use card number in JACK startup. Use card name as detailed here, e.g. -d hw:DEVICE. (It is the name shown in aplay -l after card x: before the friendly name in square brackets but remember to prefix with hw:.
ALSA enumerates sound devices (including audio and MIDI interfaces) as it detects them which can result in different index on each boot, especially if you have USB devices plugged in which may be detected at different time. Advice is to unplug everything and set zynthian soundcard to “Dummy Device” in webconf and check if Zynthian boots then change soundcard in webconf to correct device (and adjust jack parameters as describe above if necessary) and reboot.

Note that there are several services which depend on JACK and upon which Zynthian depends and it is challenging to restart JACK and get everything working so a reboot is often the simplest / quickest way to get things working after changing JACK settings, especially in webconf which won’t be picked up by any currently logged in (ssh) sessions.

Thank you so much !!!

I solved my issue, not the cleaner way but it works and I’ve made my first jam with the beast ! :slight_smile:

In fact :

  1. I edited /etc/systemd/system/jack2.service to change my card number on this line and get the following result : ExecStart=/usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:1 -r 44100 -p 256
  2. I followed this tuto to make calibration on the touchscreen : Could this be the end of all touch screen calibration issues?

And that’s all !!!

Many thanks !

BR,

Uru

Hey! I’ve been trying to understand how to do this on my Zynthian. Can you tell me what SD image version you used?

Fantastic! Would you mind sharing a sound from your Zynthian here on the forum? We would love to hear what it can do!

Excellent! Unfortunately I see NO evidence of this…
:face_with_monocle:

@Jtunes

I downloaded 2020-05-27-zynthianos-buster-lite-1.0.0-RC2 iso

I’ve just made a new fresh install with this only 2 steps and everything was fine for me :partying_face:

@wyleu unfortunately this jam was an ephemeral topic experience work :wink:

But still, we need some evidence that your Zynthian is alive! A sound, a melody, a whole song - it doesn’t matter! We would love to hear anything you can make your Zynthian do!

(For future reference, that’s what :face_with_monocle: stands for around here.)

@Jtunes

Oh ! sorry ! is there a special method to share something ? I’ll need to test how to record ! :slight_smile:

I’ll use my Zynthian on ma guitar pedalboard. I’ll use an ABY switcher with 1 loop for pure guitar sound and 1 loop for a guitar-to-midi encoder (https://www.sonuus.com/products_i2m_mp.html) plug to the pi

Maybe first, I’ll show you picture of the whole thing, but I need to finish first (I’m not a very fast guy :slight_smile: )

Read this.

1 Like

Then after recording, converting to ogg and downloading (all described in the link @Jtunes gave), just copy the ogg file to a message in this Discourse topic.

1 Like

Sorry guys, I encountered new issues on the same thing :
1. the card number config was not persistent after an unplug of battery power
I changed the hw:0 by hw:1 in the audio web config, in advanced fields, and now it’s persistent at each boot :slight_smile:
2. the screen calibration is not persistent after a simple reboot
I didn’t read the topic till the end … I have the same issue.
I tried to make the calibration script launched at startup with crontab and rc.local but without success :sleepy:

BR,

Uru