I am trying to use HDMI audio (and yes, I know about it being poor quality/high latency/etc - and I have a DAC hat - but at the same time I have a 7" touchscreen that includes speakers and it would be nice as an option to have a self-contained sound-producing box in some cases). I’m assuming that it should work when setting audio to “Rbpi-Hdmi” but that just results in a big red ERROR and restart loop. Is there a way to make this work? Thanks!
It’s a long time i’ve not tested this option. Could you tell us the details about your setup?
SD-image version, etc. A snapshot from the webconf dashboard would be a good starting point.
Also, could you test with the analog RBPi audio output (minijack)? just to compare
Build date is 2023-06-03. The headphone jack works fine. Right now this is a minimal setup; just the 7" touchscreen (I have removed the audio hat for now).
More on my setup but none of this seems relevant to HDMI: I’ve tested MIDI with USB controllers and that works fine (I did also try get an old Creative Labs USB-MIDI adapter to work but had no luck with that, so have a MIDI hat coming too. Plan to put this in a box with some buttons and rotary encoders (which I am thinking I can just attach to GPIO pins that may still be free). I’m basically trying to mostly recreate a v4 that I used to have, as the v5 looks great but too much $$$. Not sure yet what the solution is for audio in, which would be fun to have for guitar, but that’s low priority.
– Logs begin at Sun 2023-08-13 15:59:47 BST. –
Aug 13 16:00:04 zynthian startx[790]: done
Aug 13 16:00:04 zynthian startx[790]: Building XImage…done
Aug 13 16:00:05 zynthian startx[790]: ----------------------------------------------
Aug 13 16:00:05 zynthian startx[790]: Linux Version: buster
Aug 13 16:00:05 zynthian startx[790]: Kernel Version: 5.10.103-v7l+
Aug 13 16:00:05 zynthian startx[790]: ZynthianOS Version: 2305
Aug 13 16:00:05 zynthian startx[790]: Virtualization: none
Aug 13 16:00:05 zynthian startx[790]: Hardware Architecture: armv7l
Aug 13 16:00:05 zynthian startx[790]: Hardware Model: Raspberry Pi 4 Model B Rev 1.4
Aug 13 16:00:05 zynthian startx[790]: ----------------------------------------------
Aug 13 16:00:05 zynthian startx[790]: ZynCore: Setting-up 8 x Zynswitches…
Aug 13 16:00:05 zynthian startx[790]: ZynCore: Setting-up 4 x Zynpots (zyncoders)…
Aug 13 16:00:05 zynthian startx[790]: ZynCore->setup_zyncoder(0, 0, 0): Can’t configure zyncoder on a single pin!
Aug 13 16:00:05 zynthian startx[790]: ZynCore->setup_zyncoder(1, 0, 0): Can’t configure zyncoder on a single pin!
Aug 13 16:00:05 zynthian startx[790]: ZynCore->setup_zyncoder(2, 0, 0): Can’t configure zyncoder on a single pin!
Aug 13 16:00:05 zynthian startx[790]: ZynCore->setup_zyncoder(3, 0, 0): Can’t configure zyncoder on a single pin!
Aug 13 16:00:05 zynthian startx[790]: Cannot connect to server socket err = No such file or directory
Aug 13 16:00:05 zynthian startx[790]: Cannot connect to server request channel
Aug 13 16:00:06 zynthian startx[790]: jackdmp 1.9.14
Aug 13 16:00:06 zynthian startx[790]: Copyright 2001-2005 Paul Davis and others.
Aug 13 16:00:06 zynthian startx[790]: Copyright 2004-2016 Grame.
Aug 13 16:00:06 zynthian startx[790]: Copyright 2016-2019 Filipe Coelho.
Aug 13 16:00:06 zynthian startx[790]: jackdmp comes with ABSOLUTELY NO WARRANTY
Aug 13 16:00:06 zynthian startx[790]: This is free software, and you are welcome to redistribute it
Aug 13 16:00:06 zynthian startx[790]: under certain conditions; see the file COPYING for details
Aug 13 16:00:06 zynthian startx[790]: JACK server starting in realtime mode with priority 10
Aug 13 16:00:06 zynthian startx[790]: self-connect-mode is “Don’t restrict self connect requests”
Aug 13 16:00:06 zynthian startx[790]: creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Aug 13 16:00:06 zynthian startx[790]: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Aug 13 16:00:06 zynthian startx[790]: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Aug 13 16:00:06 zynthian startx[790]: ALSA: final selected sample format for playback: 16bit little-endian
Aug 13 16:00:06 zynthian startx[790]: ALSA: use 2 periods for playback
Aug 13 16:00:09 zynthian startx[790]: Started libzynmixer
Aug 13 16:00:09 zynthian startx[790]: Started libzynseq
Aug 13 16:00:09 zynthian startx[790]: Invalid card number.
Aug 13 16:00:09 zynthian startx[790]: ERROR:zynthian_engine_alsa_mixer.get_mixer_zctrls: Command ‘amixer -M -c b1’ returned non-zero exit status 1.
Aug 13 16:00:10 zynthian startx[790]: libzynaudioplayer initialised
Aug 13 16:00:10 zynthian startx[790]: Started libzynsmf
Aug 13 16:00:11 zynthian startx[790]: ZynCore->setup_behaviour_zyncoder(0, …): Invalid index!
Aug 13 16:00:11 zynthian startx[790]: ZynCore->setup_behaviour_zyncoder(1, …): Invalid index!
Aug 13 16:00:11 zynthian startx[790]: ZynCore->setup_behaviour_zyncoder(2, …): Invalid index!
Aug 13 16:00:11 zynthian startx[790]: ZynCore->setup_behaviour_zyncoder(3, …): Invalid index!
Aug 13 16:00:11 zynthian startx[790]: ZynCore->setup_behaviour_zyncoder(3, …): Invalid index!
Aug 13 16:00:11 zynthian startx[790]: WARNING:zynthian_engine.proc_get_output: Command Prompt is not defined!
Aug 13 16:00:11 zynthian startx[790]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 54
Aug 13 16:00:11 zynthian startx[790]: Unknown destination port in attempted (dis)connection src_name [a2j:Midi Through [14] (capture): Midi Through Port-0] dst_name [mod-host:midi_in]
Aug 13 16:00:14 zynthian startx[790]: Jack main caught signal 15
Aug 13 16:00:14 zynthian startx[790]: xinit: connection to X server lost
Aug 13 16:00:14 zynthian startx[790]: [1B blob data]
Aug 13 16:00:14 zynthian startx[790]: waiting for X server to shut down XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:0”
Aug 13 16:00:14 zynthian startx[790]: after 1514 requests (1068 known processed) with 0 events remaining.
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 8 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 13 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 32 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 26 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 29 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 23 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: Cannot read socket fd = 19 err = Success
Aug 13 16:00:14 zynthian startx[790]: CheckRes error
Aug 13 16:00:14 zynthian startx[790]: JackSocketClientChannel read fail
Aug 13 16:00:14 zynthian startx[790]: libzynaudioplayer exiting… Server is not running
Aug 13 16:00:14 zynthian startx[790]: libaudioplayer error: cannot unregister audio output port 17A
Aug 13 16:00:14 zynthian startx[790]: Server is not running
Aug 13 16:00:14 zynthian startx[790]: libaudioplayer error: cannot unregister audio output port 17B
Aug 13 16:00:14 zynthian startx[790]: Server is not running
Aug 13 16:00:14 zynthian startx[790]: Server is not running
Aug 13 16:00:14 zynthian startx[790]: done!
Aug 13 16:00:15 zynthian startx[790]: (II) Server terminated successfully (0). Closing log file.
Aug 13 16:00:15 zynthian startx[790]: xinit: unexpected signal 15
Aug 13 16:00:15 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 16:00:15 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.
Doing that doesn’t stop the reboot loop. However, you may be on to something. Following your first link, I get nowhere. Following the second one and running raspi-config interactively, HDMI doesn’t show up as an option in the sound settings. Weird. Maybe there’s a boot time flag or kernel driver missing.
Please,test and confirm it works for you. Then, I will fix the zynthian HDMI configuration.
Please, note that probably you need your HDMI display connected for this to work.
I swear I replied to this yesterday but it went into the ether. I can confirm that that does match what I see as the name for the HDMI port, and I am connected to port 0. But the reboots remain:
Aug 15 18:56:59 zynthian systemd[1]: Started Zynthian User Interface.
Aug 15 18:56:59 zynthian startx[2403]: X.Org X Server 1.20.4
Aug 15 18:56:59 zynthian startx[2403]: X Protocol Version 11, Revision 0
Aug 15 18:56:59 zynthian startx[2403]: Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
Aug 15 18:56:59 zynthian startx[2403]: Current Operating System: Linux zynthian 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Aug 15 18:56:59 zynthian startx[2403]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:720x480M@60D smsc95xx.macaddr=E4:5F:01:07:98:12 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait logo.nologo quiet splash vt.global_cursor_default=0
Aug 15 18:56:59 zynthian startx[2403]: Build Date: 04 April 2023 07:50:56AM
Aug 15 18:56:59 zynthian startx[2403]: xorg-server 2:1.20.4-1+rpt4+deb10u9 (Debian -- User Support)
Aug 15 18:56:59 zynthian startx[2403]: Current version of pixman: 0.36.0
Aug 15 18:56:59 zynthian startx[2403]: Before reporting problems, check http://wiki.x.org
Aug 15 18:56:59 zynthian startx[2403]: to make sure that you have the latest version.
Aug 15 18:56:59 zynthian startx[2403]: Markers: (–) probed, (**) from config file, (==) default setting,
Aug 15 18:56:59 zynthian startx[2403]: (++) from command line, (!!) notice, (II) informational,
Aug 15 18:56:59 zynthian startx[2403]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 15 18:56:59 zynthian startx[2403]: (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Aug 15 18:56:59 2023
Aug 15 18:57:00 zynthian startx[2403]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Aug 15 18:57:00 zynthian startx[2403]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Aug 15 18:57:00 zynthian startx[2403]: (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Aug 15 18:57:01 zynthian systemd[1]: Stopping Zynthian User Interface…
Aug 15 18:57:01 zynthian startx[2403]: /zynthian/config/img/fb_zynthian_boot.png is 640x480 PNG image, color type GRAY, 8 bit
Aug 15 18:57:01 zynthian startx[2403]: Zooming image by 125%…done
Aug 15 18:57:01 zynthian startx[2403]: Merging…didn’t find evidence of prior run.
Aug 15 18:57:01 zynthian startx[2403]: done
Aug 15 18:57:02 zynthian startx[2403]: Building XImage…done
Aug 15 18:57:02 zynthian startx[2403]: ----------------------------------------------
Aug 15 18:57:02 zynthian startx[2403]: Linux Version: buster
Aug 15 18:57:02 zynthian startx[2403]: Kernel Version: 5.10.103-v7l+
Aug 15 18:57:02 zynthian startx[2403]: ZynthianOS Version: 2305
Aug 15 18:57:02 zynthian startx[2403]: Virtualization: none
Aug 15 18:57:02 zynthian startx[2403]: Hardware Architecture: armv7l
Aug 15 18:57:02 zynthian startx[2403]: Hardware Model: Raspberry Pi 4 Model B Rev 1.4
Aug 15 18:57:02 zynthian startx[2403]: ----------------------------------------------
Aug 15 18:57:03 zynthian startx[2403]: ZynCore: Setting-up 8 x Zynswitches…
Aug 15 18:57:03 zynthian startx[2403]: ZynCore: Setting-up 4 x Zynpots (zyncoders)…
Aug 15 18:57:03 zynthian startx[2403]: ZynCore->setup_zyncoder(0, 0, 0): Can’t configure zyncoder on a single pin!
Aug 15 18:57:03 zynthian startx[2403]: ZynCore->setup_zyncoder(1, 0, 0): Can’t configure zyncoder on a single pin!
Aug 15 18:57:03 zynthian startx[2403]: ZynCore->setup_zyncoder(2, 0, 0): Can’t configure zyncoder on a single pin!
Aug 15 18:57:03 zynthian startx[2403]: ZynCore->setup_zyncoder(3, 0, 0): Can’t configure zyncoder on a single pin!
Aug 15 18:57:03 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:03 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:03 zynthian startx[2403]: jackdmp 1.9.14
Aug 15 18:57:03 zynthian startx[2403]: Copyright 2001-2005 Paul Davis and others.
Aug 15 18:57:03 zynthian startx[2403]: Copyright 2004-2016 Grame.
Aug 15 18:57:03 zynthian startx[2403]: Copyright 2016-2019 Filipe Coelho.
Aug 15 18:57:03 zynthian startx[2403]: jackdmp comes with ABSOLUTELY NO WARRANTY
Aug 15 18:57:03 zynthian startx[2403]: This is free software, and you are welcome to redistribute it
Aug 15 18:57:03 zynthian startx[2403]: under certain conditions; see the file COPYING for details
Aug 15 18:57:03 zynthian startx[2403]: JACK server starting in realtime mode with priority 10
Aug 15 18:57:03 zynthian startx[2403]: self-connect-mode is “Don’t restrict self connect requests”
Aug 15 18:57:03 zynthian startx[2403]: creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Aug 15 18:57:03 zynthian startx[2403]: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Aug 15 18:57:03 zynthian startx[2403]: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Aug 15 18:57:03 zynthian startx[2403]: ALSA: final selected sample format for playback: 16bit little-endian
Aug 15 18:57:03 zynthian startx[2403]: ALSA: use 2 periods for playback
Aug 15 18:57:03 zynthian startx[2403]: JackTemporaryException : now quits…
Aug 15 18:57:03 zynthian startx[2403]: Jack main caught signal 2
Aug 15 18:57:04 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:04 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:05 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:05 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:06 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:06 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:07 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:07 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:08 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:08 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:09 zynthian startx[2403]: jack server is not running or cannot be started
Aug 15 18:57:09 zynthian startx[2403]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Aug 15 18:57:09 zynthian startx[2403]: ZynMidiRouter: Error connecting with jack server.
Aug 15 18:57:11 zynthian startx[2403]: Cannot connect to server socket err = No such file or directory
Aug 15 18:57:11 zynthian startx[2403]: Cannot connect to server request channel
Aug 15 18:57:11 zynthian startx[2403]: jackdmp 1.9.14
Aug 15 18:57:11 zynthian startx[2403]: Copyright 2001-2005 Paul Davis and others.
Aug 15 18:57:11 zynthian startx[2403]: Copyright 2004-2016 Grame.
Aug 15 18:57:11 zynthian startx[2403]: Copyright 2016-2019 Filipe Coelho.
Aug 15 18:57:11 zynthian startx[2403]: jackdmp comes with ABSOLUTELY NO WARRANTY
Aug 15 18:57:11 zynthian startx[2403]: This is free software, and you are welcome to redistribute it
Aug 15 18:57:11 zynthian startx[2403]: under certain conditions; see the file COPYING for details
Aug 15 18:57:11 zynthian startx[2403]: JACK server starting in realtime mode with priority 10
Aug 15 18:57:11 zynthian startx[2403]: self-connect-mode is “Don’t restrict self connect requests”
Aug 15 18:57:11 zynthian startx[2403]: xinit: connection to X server lost
Aug 15 18:57:11 zynthian startx[2403]: [1B blob data]
Aug 15 18:57:12 zynthian startx[2403]: waiting for X server to shut down creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Aug 15 18:57:12 zynthian startx[2403]: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Aug 15 18:57:12 zynthian startx[2403]: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Aug 15 18:57:12 zynthian startx[2403]: ALSA: final selected sample format for playback: 16bit little-endian
Aug 15 18:57:12 zynthian startx[2403]: ALSA: use 2 periods for playback
Aug 15 18:57:12 zynthian startx[2403]: Jack main caught signal 15
Aug 15 18:57:12 zynthian startx[2403]: JackTemporaryException : now quits…
Aug 15 18:57:12 zynthian startx[2403]: (II) Server terminated successfully (0). Closing log file.
Aug 15 18:57:12 zynthian startx[2403]: xinit: unexpected signal 15
Aug 15 18:57:12 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Aug 15 18:57:12 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.
Aug 15 18:57:12 zynthian systemd[1]: Stopped Zynthian User Interface.
The other thing that is weird is that every time it starts up it shows the “Zynthian needs to reboot” message at the bottom. Which makes me think that those options aren’t taking for some reason.
Done; still rebooting. New logs in case something has changed:
Aug 17 03:53:34 zynthian systemd[1]: Started Zynthian User Interface.
Aug 17 03:53:34 zynthian startx[4995]: X.Org X Server 1.20.4
Aug 17 03:53:34 zynthian startx[4995]: X Protocol Version 11, Revision 0
Aug 17 03:53:34 zynthian startx[4995]: Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
Aug 17 03:53:34 zynthian startx[4995]: Current Operating System: Linux zynthian 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Aug 17 03:53:34 zynthian startx[4995]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:720x480M@60D smsc95xx.macaddr=E4:5F:01:07:98:12 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait logo.nologo quiet splash vt.global_cursor_default=0
Aug 17 03:53:34 zynthian startx[4995]: Build Date: 04 April 2023 07:50:56AM
Aug 17 03:53:34 zynthian startx[4995]: xorg-server 2:1.20.4-1+rpt4+deb10u9 (Debian -- User Support)
Aug 17 03:53:34 zynthian startx[4995]: Current version of pixman: 0.36.0
Aug 17 03:53:34 zynthian startx[4995]: Before reporting problems, check http://wiki.x.org
Aug 17 03:53:34 zynthian startx[4995]: to make sure that you have the latest version.
Aug 17 03:53:34 zynthian startx[4995]: Markers: (–) probed, (**) from config file, (==) default setting,
Aug 17 03:53:34 zynthian startx[4995]: (++) from command line, (!!) notice, (II) informational,
Aug 17 03:53:34 zynthian startx[4995]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 17 03:53:34 zynthian startx[4995]: (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Aug 17 03:53:34 2023
Aug 17 03:53:34 zynthian startx[4995]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Aug 17 03:53:34 zynthian startx[4995]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Aug 17 03:53:35 zynthian startx[4995]: (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Aug 17 03:53:36 zynthian systemd[1]: Stopping Zynthian User Interface…
Aug 17 03:53:36 zynthian startx[4995]: /zynthian/config/img/fb_zynthian_boot.png is 640x480 PNG image, color type GRAY, 8 bit
Aug 17 03:53:36 zynthian startx[4995]: Zooming image by 125%…done
Aug 17 03:53:36 zynthian startx[4995]: Merging…didn’t find evidence of prior run.
Aug 17 03:53:36 zynthian startx[4995]: done
Aug 17 03:53:36 zynthian startx[4995]: Building XImage…done
Aug 17 03:53:37 zynthian startx[4995]: ----------------------------------------------
Aug 17 03:53:37 zynthian startx[4995]: Linux Version: buster
Aug 17 03:53:37 zynthian startx[4995]: Kernel Version: 5.10.103-v7l+
Aug 17 03:53:37 zynthian startx[4995]: ZynthianOS Version: 2305
Aug 17 03:53:37 zynthian startx[4995]: Virtualization: none
Aug 17 03:53:37 zynthian startx[4995]: Hardware Architecture: armv7l
Aug 17 03:53:37 zynthian startx[4995]: Hardware Model: Raspberry Pi 4 Model B Rev 1.4
Aug 17 03:53:37 zynthian startx[4995]: ----------------------------------------------
Aug 17 03:53:37 zynthian startx[4995]: ZynCore: Setting-up 8 x Zynswitches…
Aug 17 03:53:37 zynthian startx[4995]: ZynCore: Setting-up 4 x Zynpots (zyncoders)…
Aug 17 03:53:37 zynthian startx[4995]: ZynCore->setup_zyncoder(0, 0, 0): Can’t configure zyncoder on a single pin!
Aug 17 03:53:37 zynthian startx[4995]: ZynCore->setup_zyncoder(1, 0, 0): Can’t configure zyncoder on a single pin!
Aug 17 03:53:37 zynthian startx[4995]: ZynCore->setup_zyncoder(2, 0, 0): Can’t configure zyncoder on a single pin!
Aug 17 03:53:37 zynthian startx[4995]: ZynCore->setup_zyncoder(3, 0, 0): Can’t configure zyncoder on a single pin!
Aug 17 03:53:37 zynthian startx[4995]: Cannot connect to server socket err = No such file or directory
Aug 17 03:53:37 zynthian startx[4995]: Cannot connect to server request channel
Aug 17 03:53:38 zynthian startx[4995]: jackdmp 1.9.14
Aug 17 03:53:38 zynthian startx[4995]: Copyright 2001-2005 Paul Davis and others.
Aug 17 03:53:38 zynthian startx[4995]: Copyright 2004-2016 Grame.
Aug 17 03:53:38 zynthian startx[4995]: Copyright 2016-2019 Filipe Coelho.
Aug 17 03:53:38 zynthian startx[4995]: jackdmp comes with ABSOLUTELY NO WARRANTY
Aug 17 03:53:38 zynthian startx[4995]: This is free software, and you are welcome to redistribute it
Aug 17 03:53:38 zynthian startx[4995]: under certain conditions; see the file COPYING for details
Aug 17 03:53:38 zynthian startx[4995]: JACK server starting in realtime mode with priority 10
Aug 17 03:53:38 zynthian startx[4995]: self-connect-mode is “Don’t restrict self connect requests”
Aug 17 03:53:38 zynthian startx[4995]: creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Aug 17 03:53:38 zynthian startx[4995]: ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
Aug 17 03:53:38 zynthian startx[4995]: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Aug 17 03:53:38 zynthian startx[4995]: ALSA: final selected sample format for playback: 16bit little-endian
Aug 17 03:53:38 zynthian startx[4995]: ALSA: use 2 periods for playback
Aug 17 03:53:41 zynthian startx[4995]: Started libzynmixer
Aug 17 03:53:41 zynthian startx[4995]: Started libzynseq
Aug 17 03:53:42 zynthian startx[4995]: libzynaudioplayer initialised
Aug 17 03:53:42 zynthian startx[4995]: Started libzynsmf
Aug 17 03:53:43 zynthian startx[4995]: ZynCore->setup_behaviour_zyncoder(0, …): Invalid index!
Aug 17 03:53:43 zynthian startx[4995]: ZynCore->setup_behaviour_zyncoder(1, …): Invalid index!
Aug 17 03:53:43 zynthian startx[4995]: ZynCore->setup_behaviour_zyncoder(2, …): Invalid index!
Aug 17 03:53:43 zynthian startx[4995]: ZynCore->setup_behaviour_zyncoder(3, …): Invalid index!
Aug 17 03:53:43 zynthian startx[4995]: ZynCore->setup_behaviour_zyncoder(3, …): Invalid index!
Aug 17 03:53:43 zynthian startx[4995]: JackGraphManager::Disconnect not connected port_src = 30 port_dst = 54
Aug 17 03:53:43 zynthian startx[4995]: Unknown destination port in attempted (dis)connection src_name [a2j:Midi Through [14] (capture): Midi Through Port-0] dst_name [mod-host:midi_in]
Aug 17 03:53:43 zynthian startx[4995]: WARNING:zynthian_engine.proc_get_output: Command Prompt is not defined!
Aug 17 03:53:46 zynthian startx[4995]: Jack main caught signal 15
Aug 17 03:53:46 zynthian startx[4995]: xinit: connection to X server lost
Aug 17 03:53:46 zynthian startx[4995]: [1B blob data]
Aug 17 03:53:46 zynthian startx[4995]: waiting for X server to shut down XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:0”
Aug 17 03:53:46 zynthian startx[4995]: after 1506 requests (1066 known processed) with 0 events remaining.
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 8 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 14 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 19 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 23 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 26 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 29 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:46 zynthian startx[4995]: Cannot read socket fd = 32 err = Success
Aug 17 03:53:46 zynthian startx[4995]: CheckRes error
Aug 17 03:53:46 zynthian startx[4995]: JackSocketClientChannel read fail
Aug 17 03:53:47 zynthian startx[4995]: libzynaudioplayer exiting… Server is not running
Aug 17 03:53:47 zynthian startx[4995]: libaudioplayer error: cannot unregister audio output port 17A
Aug 17 03:53:47 zynthian startx[4995]: Server is not running
Aug 17 03:53:47 zynthian startx[4995]: libaudioplayer error: cannot unregister audio output port 17B
Aug 17 03:53:47 zynthian startx[4995]: Server is not running
Aug 17 03:53:47 zynthian startx[4995]: Server is not running
Aug 17 03:53:47 zynthian startx[4995]: done!
Aug 17 03:53:47 zynthian startx[4995]: (II) Server terminated successfully (0). Closing log file.
Aug 17 03:53:47 zynthian startx[4995]: xinit: unexpected signal 15
Aug 17 03:53:47 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Aug 17 03:53:47 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.
Aug 17 03:53:47 zynthian systemd[1]: Stopped Zynthian User Interface.
Sorry to resurrect an old topic, but did you ever find a solution? I’ve set up a raspberrypi4 connected to an HDMI screen with speakers and I’m having the same issue. I got as far as ending the bootloop and then changing the settings back to default, but I was hoping to use the HDMI audio output so it would be great to set that up.
Hi @cestnickell - If you’re still interested and stuck (and sorry about the 27 days elapsed) - which version of Zynthian did you try this on? If it was not Oram (the latest test version) could you try Oram and if it still fails we can try to reproduce and fix it.