Issue enabling HifiBerry

Hello Everyone,

I am a proud owner of a new Zynthian.
I put the v4 kit together as instructed but when I enable to HifiBerry ADC DAC + Pro, the Zynthian boots in the error screen.
When switched to the internal headphones, the device starts and is operable.

I am using the standard settings for the hifiberry as per Zynthian.

This is the log I have been able to retrieve:
Oct 08 14:20:43 zynthian startx[907]: INFO:zynthian_gui_config.: ZYNTHIAN-UI CONFIG …
Oct 08 14:20:43 zynthian startx[907]: INFO:zynthian_gui_config.: Wiring Layout MCP23017_ZynScreen
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.: ZYNCODER A: [102, 105, 110, 113]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.: ZYNCODER B: [101, 104, 109, 112]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.: SWITCHES layout: [100, 103, 108, 111, 106, 107, 114, 115]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = [’’]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = [’’]
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Oct 08 14:20:43 zynthian startx[907]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Oct 08 14:20:45 zynthian startx[907]: INFO:zynthian_gui.: STARTING ZYNTHIAN-UI …
Oct 08 14:20:45 zynthian startx[907]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Oct 08 14:20:45 zynthian startx[907]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Oct 08 14:20:54 zynthian startx[907]: Cannot open jackpeak client
Oct 08 14:20:54 zynthian startx[907]: Cannot read socket fd = 7 err = Success
Oct 08 14:20:54 zynthian startx[907]: JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
Oct 08 14:20:54 zynthian startx[907]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Oct 08 14:20:54 zynthian startx[907]: libjackpeak failed to start jack client: 33
Oct 08 14:20:55 zynthian startx[907]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Oct 08 14:20:55 zynthian startx[907]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Oct 08 14:20:55 zynthian startx[907]: Zooming image by 100%…done
Oct 08 14:20:55 zynthian startx[907]: Merging…done
Oct 08 14:20:55 zynthian startx[907]: Building XImage…done
Oct 08 14:20:58 zynthian startx[907]: Unable to connect to X server

Audio settings:
-P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -S -r 44100 -p 256 -n 2 -X raw

root@zynthian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 4: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC Pro HiFi multicodec-0 [HiFiBerry DAC+ADC Pro HiFi multicodec-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

Any ideas on what to do next?
Would love to have inputs and outputs :slight_smile:

Thanks in advance and looking forward to joining the community!

Kindest Regards,
Weirdbrainwaves

When trying to run jackd standalone I receive this:
root@zynthian:~# jackd -d alsa --device hw:4
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
`default’ server already active
Failed to open server

Hi, welcome

Your Hifiberry dac is recognized by the system, and it looks like even jackd sound server is running. So your problem shouldn’t be related to the hardware, but

=> well, I’ve checked, while replying,the source code on Github and it looks like /zynthian/zynthian-ui/jackpeak/build.sh doesn’t exist anymore …

do you use https://os.zynthian.org/zynthianos-last-stable.zip as image (timestamped at 2020-09-06 01:39) or any of the later one ?
Have you done any software update ?

Hello,

Thanks for your reply!
I have used the latest zynthianos stable release.
This was labeled 2020-09-05-zynthianos-buster-lite-armhf-1.0.0.
I have not updated or did anything except reading the logs.
It is also quite peculiar that the card is recognized in alsamixer.

This is my lsmod output:
root@zynthian:~# lsmod
Module Size Used by
nft_counter 16384 1
nft_chain_route_ipv4 16384 1
xt_DSCP 16384 1
xt_tcpudp 16384 1
nft_compat 20480 2
nf_tables 122880 7 nft_compat,nft_chain_route_ipv4,nft_counter
nfnetlink 16384 2 nft_compat,nf_tables
8021q 32768 0
garp 16384 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
evdev 24576 1
joydev 20480 0
fb_ili9486 16384 1
fbtft 45056 1 fb_ili9486
syscopyarea 16384 1 fbtft
sysfillrect 16384 1 fbtft
sysimgblt 16384 1 fbtft
fb_sys_fops 16384 1 fbtft
snd_soc_pcm512x_i2c 16384 1
snd_soc_pcm186x_i2c 16384 1
snd_soc_pcm512x 32768 1 snd_soc_pcm512x_i2c
snd_soc_pcm186x 24576 1 snd_soc_pcm186x_i2c
ads7846 24576 0
brcmfmac 315392 0
brcmutil 16384 1 brcmfmac
bcm2835_codec 36864 0
bcm2835_v4l2 45056 0
v4l2_mem2mem 24576 1 bcm2835_codec
bcm2835_mmal_vchiq 32768 2 bcm2835_codec,bcm2835_v4l2
cfg80211 651264 1 brcmfmac
vc_sm_cma 36864 1 bcm2835_mmal_vchiq
rfkill 28672 4 cfg80211
videobuf2_dma_contig 20480 1 bcm2835_codec
v4l2_common 16384 1 bcm2835_v4l2
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2 24576 3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 45056 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf 2_v4l2
videodev 200704 6 bcm2835_codec,v4l2_common,videobuf2_common,bcm28 35_v4l2,v4l2_mem2mem,videobuf2_v4l2
media 36864 3 bcm2835_codec,videodev,v4l2_mem2mem
snd_bcm2835 24576 2
rpivid_mem 16384 0
raspberrypi_hwmon 16384 0
snd_soc_bcm2835_i2s 20480 2
hwmon 16384 2 raspberrypi_hwmon,ads7846
snd_soc_hifiberry_dacplusadcpro 16384 4
snd_soc_core 192512 4 snd_soc_pcm512x,snd_soc_pcm186x,snd_soc_bcm2835_ i2s,snd_soc_hifiberry_dacplusadcpro
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 102400 9 snd_soc_pcm512x,snd_soc_pcm186x,snd_pcm_dmaengin e,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_soc_hifiberry_dacplusadcpro
i2c_bcm2835 16384 0
snd_timer 32768 1 snd_pcm
spi_bcm2835 20480 0
clk_hifiberry_dacpro 16384 1
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
usb_f_midi 20480 4
snd_rawmidi 32768 3 usb_f_midi
snd_seq_device 16384 1 snd_rawmidi
snd 73728 23 snd_compress,snd_soc_pcm512x,snd_timer,snd_rawm idi,snd_seq_device,snd_bcm2835,snd_soc_core,usb_f_midi,snd_pcm
g_midi 16384 0
libcomposite 57344 2 g_midi,usb_f_midi
dwc2 167936 0
udc_core 53248 3 dwc2,libcomposite,usb_f_midi
i2c_dev 20480 0
ip_tables 24576 0
x_tables 32768 4 ip_tables,nft_compat,xt_tcpudp,xt_DSCP
ipv6 454656 26

Is there a way to install Zynthian on top of raspbian if I get that working with the sound card?
Thanks!

I have reflashed the image several times now and have used different cards…
Will be trying hifiberry OS to see whether it is the hardware but seeing as it is all new, I doubt it.
I have noticed that the hifiberry DAC ADC Pro is hardware revision 1.0.1…
Could this have anything to do with it?

Thanks!
Stay weird :slight_smile:

I’m quiet sure that this is jackpeak related as on the post about sfizzz integration linked above.
I’ve just noticied that @jofemodo has moved this in zynlibs folder.
So from a shh access can you try to run as root:
/zynthian/zynthian-ui/zynlibs/jackpeak/build.sh

Thanks for the reply!
Strange… My jackpeak install is in /zynthian/zynthian-ui/jackpeak.

root@zynthian:/zynthian/zynthian-ui# ls
doc img README.md zynautoconnect zyngine zynthian_emu.sh
fonts jackpeak software zyncoder zyngui zynthian_gui.py
icons LICENSE.txt sys-scripts zynconf zynseq zynthian.sh

There does not appear to be a zynlibs folder…
Are you using the same version as I am?

I initiated the build but it did not change anything:
root@zynthian:/zynthian/zynthian-ui/jackpeak# ./build.sh
/zynthian/zynthian-ui/jackpeak /zynthian/zynthian-ui/jackpeak
/zynthian/zynthian-ui/jackpeak/build /zynthian/zynthian-ui/jackpeak /zynthian/zy nthian-ui/jackpeak
– Configuring done
– Generating done
– Build files have been written to: /zynthian/zynthian-ui/jackpeak/build
[100%] Built target jackpeak
/zynthian/zynthian-ui/jackpeak /zynthian/zynthian-ui/jackpeak
/zynthian/zynthian-ui/jackpeak

Thanks!
Weird

No, I’m not at home and close to my zynthian’s at all but I follow what’s happens around here :wink:

See here on github, there is now a zynthian zynlibs directory
https://github.com/zynthian/zynthian-ui/tree/master/zynlibs/jackpeak

the commit is 2 month old

do you still have

when you start zynthian in debug mode from the webconf utility ?

Currently the debug log is:

Oct 09 14:04:03 zynthian systemd[1]: Started Zynthian User Interface (DEBUG).
Oct 09 14:04:03 zynthian startx[1811]: X.Org X Server 1.20.4
Oct 09 14:04:03 zynthian startx[1811]: X Protocol Version 11, Revision 0
Oct 09 14:04:03 zynthian startx[1811]: Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
Oct 09 14:04:03 zynthian startx[1811]: Current Operating System: Linux zynthian 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
Oct 09 14:04:03 zynthian startx[1811]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 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
Oct 09 14:04:03 zynthian startx[1811]: Build Date: 07 July 2020 09:38:51PM
Oct 09 14:04:03 zynthian startx[1811]: xorg-server 2:1.20.4-1+rpt2 (https://www.debian.org/support)
Oct 09 14:04:03 zynthian startx[1811]: Current version of pixman: 0.36.0
Oct 09 14:04:03 zynthian startx[1811]: Before reporting problems, check http://wiki.x.org
Oct 09 14:04:03 zynthian startx[1811]: to make sure that you have the latest version.
Oct 09 14:04:03 zynthian startx[1811]: Markers: (–) probed, (**) from config file, (==) default setting,
Oct 09 14:04:03 zynthian startx[1811]: (++) from command line, (!!) notice, (II) informational,
Oct 09 14:04:03 zynthian startx[1811]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Oct 09 14:04:03 zynthian startx[1811]: (==) Log file: “/var/log/Xorg.0.log”, Time: Fri Oct 9 14:04:03 2020
Oct 09 14:04:03 zynthian startx[1811]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Oct 09 14:04:03 zynthian startx[1811]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Oct 09 14:04:04 zynthian startx[1811]: INFO:zynthian_gui_config.: ZYNTHIAN-UI CONFIG …
Oct 09 14:04:04 zynthian startx[1811]: INFO:zynthian_gui_config.: No Wiring Layout configured. Only touch interface is available.
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.: ZYNCODER A: [0, 0, 0, 0]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.: ZYNCODER B: [0, 0, 0, 0]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.: SWITCHES layout: [0, 0, 0, 0]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = [’’]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = [’’]
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Oct 09 14:04:04 zynthian startx[1811]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Oct 09 14:04:08 zynthian startx[1811]: INFO:zynthian_gui.: STARTING ZYNTHIAN-UI …
Oct 09 14:04:08 zynthian startx[1811]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Oct 09 14:04:08 zynthian startx[1811]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Oct 09 14:04:18 zynthian startx[1811]: Cannot read socket fd = 7 err = Success
Oct 09 14:04:18 zynthian startx[1811]: Cannot open jackpeak client
Oct 09 14:04:18 zynthian startx[1811]: JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
Oct 09 14:04:18 zynthian startx[1811]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Oct 09 14:04:18 zynthian startx[1811]: libjackpeak failed to start jack client: 33
Oct 09 14:04:18 zynthian startx[1811]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Oct 09 14:04:18 zynthian startx[1811]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Oct 09 14:04:18 zynthian startx[1811]: Zooming image by 100%…done
Oct 09 14:04:18 zynthian startx[1811]: Merging…didn’t find evidence of prior run.
Oct 09 14:04:18 zynthian startx[1811]: done
Oct 09 14:04:18 zynthian startx[1811]: Building XImage…done

The only time the lights on the card come on is if I select DAC ADC pro in the audio menu.
So I presume this is at least correct as the sound card gets detected.

Weird

error is still there even if you have rebuilt the client.

From the webconf, you can try to update the system and see what happens …

I just did and now it says:
Oct 09 14:16:49 zynthian startx[640]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
– Logs begin at Fri 2020-10-09 14:13:27 BST. –
Oct 09 14:17:38 zynthian systemd[1]: Started Zynthian User Interface (DEBUG).
Oct 09 14:17:38 zynthian startx[1323]: X.Org X Server 1.20.4
Oct 09 14:17:38 zynthian startx[1323]: X Protocol Version 11, Revision 0
Oct 09 14:17:38 zynthian startx[1323]: Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
Oct 09 14:17:38 zynthian startx[1323]: Current Operating System: Linux zynthian 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l
Oct 09 14:17:38 zynthian startx[1323]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 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
Oct 09 14:17:38 zynthian startx[1323]: Build Date: 07 July 2020 09:38:51PM
Oct 09 14:17:38 zynthian startx[1323]: xorg-server 2:1.20.4-1+rpt2 (https://www.debian.org/support)
Oct 09 14:17:38 zynthian startx[1323]: Current version of pixman: 0.36.0
Oct 09 14:17:38 zynthian startx[1323]: Before reporting problems, check http://wiki.x.org
Oct 09 14:17:38 zynthian startx[1323]: to make sure that you have the latest version.
Oct 09 14:17:38 zynthian startx[1323]: Markers: (–) probed, (**) from config file, (==) default setting,
Oct 09 14:17:38 zynthian startx[1323]: (++) from command line, (!!) notice, (II) informational,
Oct 09 14:17:38 zynthian startx[1323]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Oct 09 14:17:38 zynthian startx[1323]: (==) Log file: “/var/log/Xorg.0.log”, Time: Fri Oct 9 14:17:38 2020
Oct 09 14:17:38 zynthian startx[1323]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Oct 09 14:17:38 zynthian startx[1323]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Oct 09 14:17:39 zynthian startx[1323]: INFO:zynthian_gui_config.: ZYNTHIAN-UI CONFIG …
Oct 09 14:17:39 zynthian startx[1323]: INFO:zynthian_gui_config.: Wiring Layout MCP23017_ZynScreen
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.: ZYNCODER A: [102, 105, 110, 113]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.: ZYNCODER B: [101, 104, 109, 112]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.: SWITCHES layout: [100, 103, 108, 111, 106, 107, 114, 115]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = [’’]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = [’’]
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Oct 09 14:17:39 zynthian startx[1323]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): warning: Replacing version 2071.7 of http://gareus.org/oss/lv2/b_whirl#extended from <file:///zynthian/zynthian-plugins/lv2/b_whirl.lv2/>
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): note: New version 2071.9 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): warning: Replacing version 2071.7 of http://gareus.org/oss/lv2/b_whirl#simple from <file:///zynthian/zynthian-plugins/lv2/b_whirl.lv2/>
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): note: New version 2071.9 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_synth.lv2/>
Oct 09 14:17:41 zynthian startx[1323]: lilv_world_load_bundle(): note: Newer version of http://gareus.org/oss/lv2/b_synth loaded from <file:///zynthian/zynthian-plugins/lv2/b_synth/>
Oct 09 14:17:43 zynthian startx[1323]: INFO:zynthian_gui.: STARTING ZYNTHIAN-UI …
Oct 09 14:17:43 zynthian startx[1323]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Oct 09 14:17:43 zynthian startx[1323]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Oct 09 14:17:53 zynthian startx[1323]: Cannot read socket fd = 7 err = Success
Oct 09 14:17:53 zynthian startx[1323]: CheckRes error
Oct 09 14:17:53 zynthian startx[1323]: JackSocketClientChannel read fail
Oct 09 14:17:53 zynthian startx[1323]: Cannot open jackpeak client
Oct 09 14:17:53 zynthian startx[1323]: JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
Oct 09 14:17:53 zynthian startx[1323]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Oct 09 14:17:53 zynthian startx[1323]: libjackpeak failed to start jack client: 33
Oct 09 14:17:54 zynthian startx[1323]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Oct 09 14:17:54 zynthian startx[1323]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Oct 09 14:17:54 zynthian startx[1323]: Zooming image by 100%…done
Oct 09 14:17:54 zynthian startx[1323]: Merging…didn’t find evidence of prior run.
Oct 09 14:17:54 zynthian startx[1323]: done

Then I executed the build command for the new version of jack.

I went looking for the directory you supplied.
I found the directory but there are one folder and one file in there

root@zynthian:/zynthian/zynthian-ui/jackpeak# ls
build pycache

in build folder:
root@zynthian:/zynthian/zynthian-ui/jackpeak/build# ls
CMakeCache.txt CMakeFiles cmake_install.cmake libjackpeak.so Makefile

Thanks!

I have now found that when I kill the Zynthian service and stop jackd that I am able to issue the following command:
root@zynthian:/media/usb# aplay Groovy.wav
Playing WAVE ‘Groovy.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

I have disabled the onboard soundcard in /boot/config.txt

I am still not getting ANY sound output despite:
root@zynthian:/media/usb# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC Pro HiFi multicodec-0 [HiFiBerry DAC+ADC Pro HiFi multicodec-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

Maybe have a look with alsamixer command if sound output is not disabled.

And double check the wiring

Also, you Can use

  • systemctl start (or stop or status) jack2 to control jack sound server service
  • systemctl start/stop/status zynthian to control zynthian service

Note that jackd should be running before you start zynthian

But all these annoyances shouldn’t happend with the kit. I can’t understand why zynthian ui won’t start

I am beginning to think the hifiberry might be a DOA :frowning:
It is definitely being recognized as the lights are on so I do not think it is a driver issue.
I will get to the bottom of how alsa and jack2 work but unfortunately this will take some time I think…

In the mean time if anybody thinks of a reason, please do not hesitate to reply or contact me :slight_smile:

No sound output could be a bad wiring problem, some settings in alsamixer that have to be adjusted or a broken soundcard.

From the webconf, could you try to disable the cpu meter and restart zynthian service