No sound after update (WARNING:zynthian_autoconnect.cb_jack_xrun)

rpi-update done.

aply -l gives:

**** List of PLAYBACK Hardware Devices ****
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 3: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

dmesg gives:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.9-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1396 SMP Thu Jan 21 15:57:42 GMT 2021
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.4
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 504832
[    0.000000]   DMA zone: 2304 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 308224 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50636 r8192 d23092 u81920
[    0.000000] pcpu-alloc: s50636 r8192 d23092 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 502528
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:D8:73:2C 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
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000025400000-0x0000000029400000] (64MB)
[    0.000000] Memory: 1844128K/2019328K available (10240K kernel code, 1354K rwdata, 3152K rodata, 2048K init, 890K bss, 109664K reserved, 65536K cma-reserved, 1232896K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33823 entries in 67 pages
[    0.000000] ftrace: allocated 67 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=0
[    0.000004] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000015] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000045] bcm2835: system timer (irq = 25)
[    0.000310] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000319] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000328] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000336] Switching to timer-based delay loop, resolution 18ns
[    0.000450] Console: colour dummy device 80x30
[    0.000752] printk: console [tty1] enabled
[    0.000783] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000806] pid_max: default: 32768 minimum: 301
[    0.000883] LSM: Security Framework initializing
[    0.000971] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000990] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001718] Disabling memory control group subsystem
[    0.001777] CPU: Testing write buffer coherency: ok
[    0.002002] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002522] Setting up static identity map for 0x200000 - 0x20003c
[    0.002612] rcu: Hierarchical SRCU implementation.
[    0.003025] smp: Bringing up secondary CPUs ...
[    0.003600] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004220] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.004806] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.004870] smp: Brought up 1 node, 4 CPUs
[    0.004903] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.004915] CPU: All CPU(s) started in HYP mode.
[    0.004926] CPU: Virtualization extensions available.
[    0.005317] devtmpfs: initialized
[    0.011300] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.011420] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011445] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.012511] pinctrl core: initialized pinctrl subsystem
[    0.013034] NET: Registered protocol family 16
[    0.014846] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.015181] audit: initializing netlink subsys (disabled)
[    0.015323] audit: type=2000 audit(0.010:1): state=initialized audit_enabled=0 res=1
[    0.015565] thermal_sys: Registered thermal governor 'step_wise'
[    0.015868] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.015890] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.016118] Serial: AMBA PL011 UART driver
[    0.030811] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.050341] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-01-21T16:02:55, variant start
[    0.060348] raspberrypi-firmware soc:firmware: Firmware hash is a5bf70c44ba93e99f955a66530916240a1661132
[    0.084470] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.086244] vgaarb: loaded
[    0.086446] SCSI subsystem initialized
[    0.086549] usbcore: registered new interface driver usbfs
[    0.086580] usbcore: registered new interface driver hub
[    0.086616] usbcore: registered new device driver usb
[    0.086779] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.087610] clocksource: Switched to clocksource arch_sys_counter
[    0.500689] VFS: Disk quotas dquot_6.6.0
[    0.500748] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.500825] FS-Cache: Loaded
[    0.500934] CacheFiles: Loaded
[    0.505079] NET: Registered protocol family 2
[    0.505566] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.505594] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.505626] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.505661] TCP: Hash tables configured (established 8192 bind 8192)
[    0.505745] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.505772] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.505897] NET: Registered protocol family 1
[    0.506218] RPC: Registered named UNIX socket transport module.
[    0.506232] RPC: Registered udp transport module.
[    0.506244] RPC: Registered tcp transport module.
[    0.506255] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.506272] PCI: CLS 0 bytes, default 64
[    0.507587] Initialise system trusted keyrings
[    0.507760] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.511110] zbud: loaded
[    0.511925] FS-Cache: Netfs 'nfs' registered for caching
[    0.512262] NFS: Registering the id_resolver key type
[    0.512284] Key type id_resolver registered
[    0.512296] Key type id_legacy registered
[    0.512358] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.512806] Key type asymmetric registered
[    0.512820] Asymmetric key parser 'x509' registered
[    0.512905] bounce: pool size: 64 pages
[    0.512930] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.513031] io scheduler mq-deadline registered
[    0.513044] io scheduler kyber registered
[    0.514963] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.514987] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.515028] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.515072] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    0.599693] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.599867] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.599882] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.599897] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.599946] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.600059] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.601520] PCI: bus0: Fast back to back transfers disabled
[    0.601700] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.601797] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.602090] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.603567] PCI: bus1: Fast back to back transfers disabled
[    0.603602] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.603618] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.603685] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.603702] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.603889] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.603987] pcieport 0000:00:00.0: PME: Signaling with IRQ 65
[    0.604394] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.611676] Console: switching to colour frame buffer device 100x30
[    0.613138] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 800x480
[    0.615962] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.616883] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[    0.618489] iproc-rng200 fe104000.rng: hwrng registered
[    0.619102] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.619998] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.625944] brd: module loaded
[    0.632051] loop: module loaded
[    0.633338] Loading iSCSI transport class v2.0-870.
[    0.634911] libphy: Fixed MDIO Bus: probed
[    0.635970] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.647664] libphy: bcmgenet MII bus: probed
[    0.727668] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.728692] usbcore: registered new interface driver r8152
[    0.729229] usbcore: registered new interface driver lan78xx
[    0.729745] usbcore: registered new interface driver smsc95xx
[    0.776062] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.776563] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.778162] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000030000000890
[    0.779742] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.780271] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.780800] usb usb1: Product: xHCI Host Controller
[    0.781322] usb usb1: Manufacturer: Linux 5.10.9-v7l+ xhci-hcd
[    0.781844] usb usb1: SerialNumber: 0000:01:00.0
[    0.782673] hub 1-0:1.0: USB hub found
[    0.783219] hub 1-0:1.0: 1 port detected
[    0.784012] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.784495] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.784970] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.785645] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    0.786107] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.786573] usb usb2: Product: xHCI Host Controller
[    0.787041] usb usb2: Manufacturer: Linux 5.10.9-v7l+ xhci-hcd
[    0.787515] usb usb2: SerialNumber: 0000:01:00.0
[    0.788282] hub 2-0:1.0: USB hub found
[    0.788804] hub 2-0:1.0: 4 ports detected
[    0.790093] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.790695] dwc_otg: FIQ enabled
[    0.790701] dwc_otg: NAK holdoff enabled
[    0.790707] dwc_otg: FIQ split-transaction FSM enabled
[    0.790715] Module dwc_common_port init
[    0.790923] usbcore: registered new interface driver uas
[    0.791435] usbcore: registered new interface driver usb-storage
[    0.791995] mousedev: PS/2 mouse device common for all mice
[    0.793215] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.794697] sdhci: Secure Digital Host Controller Interface driver
[    0.795187] sdhci: Copyright(c) Pierre Ossman
[    0.795965] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.796682] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.799567] ledtrig-cpu: registered to indicate activity on CPUs
[    0.800167] hid: raw HID events driver (C) Jiri Kosina
[    0.800705] usbcore: registered new interface driver usbhid
[    0.801159] usbhid: USB HID core driver
[    0.804325] Initializing XFRM netlink socket
[    0.804855] NET: Registered protocol family 17
[    0.805385] Key type dns_resolver registered
[    0.806027] Registering SWP/SWPB emulation handler
[    0.806619] registered taskstats version 1
[    0.807110] Loading compiled-in X.509 certificates
[    0.808048] Key type ._fscrypt registered
[    0.808522] Key type .fscrypt registered
[    0.808982] Key type fscrypt-provisioning registered
[    0.814366] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.814920] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.815385] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    0.820214] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[    0.821066] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 38, base_baud = 62500000) is a 16550
[    0.821954] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.822878] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.823363] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.856331] of_cfs_init
[    0.856906] of_cfs_init: OK
[    0.872839] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.874837] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.876785] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.879930] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.881850] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.886134] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.887155] Waiting for root device /dev/mmcblk0p2...
[    0.923442] random: fast init done
[    0.953944] mmc1: new high speed SDIO card at address 0001
[    0.988814] mmc0: new ultra high speed DDR50 SDXC card at address 1234
[    0.989643] mmcblk0: mmc0:1234 SA64G 57.7 GiB
[    0.992465]  mmcblk0: p1 p2
[    1.019535] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.020054] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.025298] devtmpfs: mounted
[    1.029434] Freeing unused kernel memory: 2048K
[    1.067743] Run /sbin/init as init process
[    1.068186]   with arguments:
[    1.068192]     /sbin/init
[    1.068197]   with environment:
[    1.068203]     HOME=/
[    1.068209]     TERM=linux
[    1.147668] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.330209] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.330695] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.331143] usb 1-1: Product: USB2.0 Hub
[    1.332927] hub 1-1:1.0: USB hub found
[    1.333603] hub 1-1:1.0: 4 ports detected
[    1.522686] systemd[1]: System time before build time, advancing clock.
[    1.610348] NET: Registered protocol family 10
[    1.611487] Segment Routing with IPv6
[    1.653092] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    1.655003] systemd[1]: Detected architecture arm.
[    1.657659] usb 1-1.4: new full-speed USB device number 3 using xhci_hcd
[    1.712482] systemd[1]: Set hostname to <zynthian>.
[    1.804417] usb 1-1.4: New USB device found, idVendor=0763, idProduct=0150, bcdDevice= 1.13
[    1.805256] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.805906] usb 1-1.4: Product: USB Uno MIDI Interface
[    1.806532] usb 1-1.4: Manufacturer: M-Audio
[    2.147477] random: systemd: uninitialized urandom read (16 bytes read)
[    2.154271] random: systemd: uninitialized urandom read (16 bytes read)
[    2.154996] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    2.156471] random: systemd: uninitialized urandom read (16 bytes read)
[    2.157015] systemd[1]: Reached target Swap.
[    2.158695] systemd[1]: Listening on Journal Socket.
[    2.165692] systemd[1]: Starting Load Kernel Modules...
[    2.171934] systemd[1]: Starting Restore / save the current clock...
[    2.174129] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.178529] systemd[1]: Starting Set the console keyboard layout...
[    2.222225] i2c /dev entries driver
[    2.282505] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[    2.283245] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[    2.497723] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[    2.500435] dwc2 fe980000.usb: DWC OTG Controller
[    2.500960] dwc2 fe980000.usb: new USB bus registered, assigned bus number 3
[    2.501478] dwc2 fe980000.usb: irq 40, io mem 0xfe980000
[    2.502154] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.502644] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.503123] usb usb3: Product: DWC OTG Controller
[    2.503638] usb usb3: Manufacturer: Linux 5.10.9-v7l+ dwc2_hsotg
[    2.504124] usb usb3: SerialNumber: fe980000.usb
[    2.504969] hub 3-0:1.0: USB hub found
[    2.505540] hub 3-0:1.0: 1 port detected
[    2.551548] MIDI Gadget
[    2.552033] MIDI Gadget gadget: MIDI Gadget ready
[    2.552492] dwc2 fe980000.usb: bound driver MIDI Gadget
[    3.431499] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    3.473442] systemd-journald[120]: Received request to flush runtime journal from PID 1
[    3.775902] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    3.776215] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    3.782223] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    3.784246] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    3.854052] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    3.855052] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    3.855064] [vc_sm_connected_init]: start
[    3.866263] [vc_sm_connected_init]: installed successfully
[    3.879078] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    3.882564] bcm2835_audio bcm2835_audio: card created with 8 channels
[    3.888169] mc: Linux media interface: v0.10
[    3.928348] videodev: Linux video capture interface: v2.00
[    3.966940] input: raspberrypi-ts as /devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0
[    3.986746] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.987010] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.996818] snd-rpi-hifiberry-dacplus soc:sound: activating headphone amplifier
[    4.020007] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    4.021338] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    4.026269] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    4.033098] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    4.033277] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    4.033329] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    4.033335] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    4.033553] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    4.033756] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    4.033776] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    4.033809] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    4.033819] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    4.033828] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    4.033951] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    4.035767] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    4.035788] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    4.038171] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    4.038196] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    4.131700] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.187139] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.204928] usbcore: registered new interface driver snd-usb-audio
[    4.221809] brcmfmac: F1 signature read @0x18000000=0x15264345
[    4.229669] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.230107] usbcore: registered new interface driver brcmfmac
[    4.253133] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    4.461013] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.479836] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[    4.540162] tpa6130a2 1-0060: supply Vdd not found, using dummy regulator
[    5.176370] random: crng init done
[    5.176384] random: 7 urandom warning(s) missed due to ratelimiting
[    5.394699] 8021q: 802.1Q VLAN Support v1.8
[    5.985151] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    6.273218] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    6.273492] bcmgenet fd580000.ethernet eth0: Link is Down
[    8.249934] uart-pl011 fe201000.serial: no DMA platform data
[   11.274910] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

And grep dtoverlay /boot/config.txt gives:

#dtoverlay=lirc-rpi
dtoverlay=i2s-mmap
dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
dtoverlay=dwc2
dtoverlay=pi3-disable-bt
dtoverlay=pi3-miniuart-bt
dtoverlay=hifiberry-dacplus
dtoverlay=rpi-ft5406,touchscreen-inverted-x=1,touchscreen-inverted-y=1
dtoverlay=midi-uart0

Okay so the docs say to use dtoverlay=hifiberry-dacplus so need to select “Hifiberry Dac+” in webconf. This seems to select the correct parameters, i.e. adding “dtoverlay=hifiberry-dacplus” to config.txt and using “-d hw:sndrpihifiberry” parameter for jackd. With this you should see jackd starting okay. You can check if jackd is running with pgrep -a jackd which should show the full command line used to start an existing running instance of jackd. If this returns blank then try running jackd with the command:

/usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -S -r 44100 -p 256 -n 2 -X raw

and check for errors. Zynthian UI will refuse to start if jackd is not running.

Sorry this is such slow going. What are your current symptoms?

I’m very much appreciating the help - and it seems we’re making progress, so I don’t care about how long it takes :slight_smile:

Did a clean image, updated Zynthian and here’s the results:

root@zynthian:~# pgrep -a jackd
root@zynthian:~# /usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -S -r 44100 -p 256 -n 2 -X raw
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 70
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:sndrpihifiberry|hw:sndrpihifiberry|256|2|44100|0|0|nomon|swmeter|-|16bit
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
Failed to open server

After another rpi-update this is what I’m getting:

root@zynthian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 3: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
root@zynthian:~# pgrep -a jackd
475 /usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -S -r 44100 -p 256 -n 2 -X raw

The Zynthian UI is starting up, but blinking with a red warning triangle in the upper right corner each time WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! is also recorded in the UI log.

When truing to start alsamixer via the UI the UI crashes. Here’s the UI debug log:

Restarting UI in debug mode
Restarting UI in debug mode
Jan 23 09:47:15 zynthian startx[475]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:47:15 zynthian startx[475]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
-- Logs begin at Sat 2021-01-23 09:44:31 GMT. --
Jan 23 09:47:21 zynthian systemd[1]: Started Zynthian User Interface (DEBUG).
Jan 23 09:47:21 zynthian startx[981]: X.Org X Server 1.20.4
Jan 23 09:47:21 zynthian startx[981]: X Protocol Version 11, Revision 0
Jan 23 09:47:21 zynthian startx[981]: Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
Jan 23 09:47:21 zynthian startx[981]: Current Operating System: Linux zynthian 5.10.9-v7l+ #1396 SMP Thu Jan 21 15:57:42 GMT 2021 armv7l
Jan 23 09:47:21 zynthian startx[981]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:D8:73:2C 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
Jan 23 09:47:21 zynthian startx[981]: Build Date: 07 July 2020 09:38:51PM
Jan 23 09:47:21 zynthian startx[981]: xorg-server 2:1.20.4-1+rpt2 (https://www.debian.org/support)
Jan 23 09:47:21 zynthian startx[981]: Current version of pixman: 0.36.0
Jan 23 09:47:21 zynthian startx[981]: Before reporting problems, check http://wiki.x.org
Jan 23 09:47:21 zynthian startx[981]: to make sure that you have the latest version.
Jan 23 09:47:21 zynthian startx[981]: Markers: (--) probed, (**) from config file, (==) default setting,
Jan 23 09:47:21 zynthian startx[981]: (++) from command line, (!!) notice, (II) informational,
Jan 23 09:47:21 zynthian startx[981]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jan 23 09:47:21 zynthian startx[981]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 23 09:47:21 2021
Jan 23 09:47:21 zynthian startx[981]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jan 23 09:47:21 zynthian startx[981]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jan 23 09:47:22 zynthian startx[981]: INFO:zynthian_gui_config.<module>: ZYNTHIAN-UI CONFIG ...
Jan 23 09:47:22 zynthian startx[981]: INFO:zynthian_gui_config.<module>: Wiring Layout CUSTOM
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: ZYNCODER A: [12, 22, 5, 2]
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: ZYNCODER B: [13, 21, 4, 0]
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: SWITCHES layout: [14, 26, 3, 7]
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = ['']
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = ['ttymidi:MIDI_out']
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = ['']
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Jan 23 09:47:22 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Jan 23 09:47:23 zynthian startx[981]: 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/>
Jan 23 09:47:23 zynthian startx[981]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Jan 23 09:47:23 zynthian startx[981]: 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/>
Jan 23 09:47:23 zynthian startx[981]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Jan 23 09:47:23 zynthian startx[981]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_synth.lv2/>
Jan 23 09:47:23 zynthian startx[981]: lilv_world_load_bundle(): note: Newer version of <http://gareus.org/oss/lv2/b_synth> loaded from <file:///zynthian/zynthian-plugins/lv2/b_synth/>
Jan 23 09:48:39 zynthian startx[981]: INFO:zynthian_gui.<module>: STARTING ZYNTHIAN-UI ...
Jan 23 09:48:39 zynthian startx[981]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Jan 23 09:48:39 zynthian startx[981]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Jan 23 09:48:39 zynthian startx[981]: libjackpeak registering as 'jackpeak'.
Jan 23 09:48:39 zynthian startx[981]: libjackpeak created input ports
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SWITCHES INIT...
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 0 => wpGPIO 14
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 1 => wpGPIO 26
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 2 => wpGPIO 3
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 3 => wpGPIO 7
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_gui.zynswitches_midi_setup: MIDI SWITCHES SETUP...
Jan 23 09:48:40 zynthian startx[981]: INFO:zynthian_engine.start: Starting Engine JackTransport
Jan 23 09:48:40 zynthian startx[981]: DEBUG:zynthian_engine.start: Command: /usr/local/bin/jack_transport
Jan 23 09:48:40 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_controllers_dict: MIXER CTRL LIST: ['Digital Left', 'Digital Right']
Jan 23 09:48:40 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_0 => 100
Jan 23 09:48:40 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_1 => 100
Jan 23 09:48:40 zynthian startx[981]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set 'Digital' 'Playback' 100%,100% unmute
Jan 23 09:48:41 zynthian startx[981]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set 'Digital' 'Playback' 100%,100% unmute
Jan 23 09:48:41 zynthian startx[981]: INFO:zynthian_gui_admin.stop_rbpi_headphones: STOPPING RBPI HEADPHONES
Jan 23 09:48:41 zynthian startx[981]: ERROR: PatternManager failed to open file for load /zynthian/zynthian-my-data/sequences/patterns.zynseq
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui.osc_init: ZYNTHIAN-UI OSC server running in port 1370
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui_admin.stop_midi_clock: STOPPING MIDI CLOCK
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui_admin.stop_rtpmidi: STOPPING RTP-MIDI
Jan 23 09:48:42 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui_admin.stop_qmidinet: STOPPING QMIDINET
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui_admin.stop_touchosc2midi: STOPPING touchosc2midi
Jan 23 09:48:42 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:42 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:42 zynthian startx[981]: INFO:zynthian_gui_admin.stop_aubionotes: STOPPING aubionotes
Jan 23 09:48:42 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:42 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Main': 0 (0 -> 9), None, None
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:43 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:44 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:44 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:45 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:45 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:46 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:46 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:46 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:46 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:47 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:47 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:47 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:48 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:50 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:50 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:50 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:51 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:51 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:51 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:52 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:52 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:52 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:52 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:53 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:53 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:53 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:53 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Jan 23 09:48:54 zynthian startx[981]: INFO:zynthian_gui_main.admin: Admin
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Action': 0 (0 -> 27), None, None
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:54 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:55 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:55 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:55 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:55 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:56 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:56 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:56 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:56 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:57 zynthian startx[981]: INFO:zynthian_gui.zynswitch_short: Short Switch 1
Jan 23 09:48:57 zynthian startx[981]: DEBUG:zynthian_gui.zynswitch_short: CLOSE MODAL => admin
Jan 23 09:48:57 zynthian startx[981]: DEBUG:zynthian_gui.zynswitch_short: BACK TO SCREEN => main
Jan 23 09:48:57 zynthian startx[981]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Main': 8 (0 -> 9), None, None
Jan 23 09:48:57 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:58 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:58 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:58 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:58 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:59 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:59 zynthian startx[981]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Jan 23 09:48:59 zynthian startx[981]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Jan 23 09:48:59 zynthian startx[981]: INFO:zynthian_gui_main.alsa_mixer: ALSA Mixer
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_controllers_dict: MIXER CTRL LIST: ['Digital Left', 'Digital Right']
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_0 => 100
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_1 => 100
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_layer.load_bank_list: BANK LIST =>
Jan 23 09:48:59 zynthian startx[981]: [('', None, '', None)]
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN MX#1
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Digital Left': 100 (0 -> 100), None, None
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set 'Digital' 'Playback' 100%,100% unmute
Jan 23 09:49:00 zynthian startx[981]: wiringPiISR: unable to open /sys/class/gpio/gpio9/value: No such file or directory
Jan 23 09:49:00 zynthian startx[981]: Zyncoder: Zynswitches poll thread created successfully
Jan 23 09:49:00 zynthian startx[981]: zynseq: Jack samplerate: 44100
Jan 23 09:49:00 zynthian startx[981]: zynseq: Jack buffer size: 256
Jan 23 09:49:00 zynthian startx[981]: zynseq exit
Jan 23 09:49:01 zynthian startx[981]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Jan 23 09:49:01 zynthian startx[981]: /zynthian/config/img/fb_zynthian_error_ip.png is 800x480 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Jan 23 09:49:01 zynthian startx[981]: Zooming image by 100%...done
Jan 23 09:49:01 zynthian startx[981]: Merging...didn't find evidence of prior run.
Jan 23 09:49:01 zynthian startx[981]: done
Jan 23 09:49:01 zynthian startx[981]: Building XImage...done
Jan 23 09:49:04 zynthian startx[981]: INFO:zynthian_gui_config.<module>: ZYNTHIAN-UI CONFIG ...
Jan 23 09:49:04 zynthian startx[981]: INFO:zynthian_gui_config.<module>: Wiring Layout CUSTOM
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: ZYNCODER A: [12, 22, 5, 2]
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: ZYNCODER B: [13, 21, 4, 0]
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.<module>: SWITCHES layout: [14, 26, 3, 7]
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = ['']
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = ['ttymidi:MIDI_out']
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = ['']
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Jan 23 09:49:04 zynthian startx[981]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Jan 23 09:49:05 zynthian startx[981]: 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/>
Jan 23 09:49:05 zynthian startx[981]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Jan 23 09:49:05 zynthian startx[981]: 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/>
Jan 23 09:49:05 zynthian startx[981]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Jan 23 09:49:05 zynthian startx[981]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_synth.lv2/>
Jan 23 09:49:05 zynthian startx[981]: lilv_world_load_bundle(): note: Newer version of <http://gareus.org/oss/lv2/b_synth> loaded from <file:///zynthian/zynthian-plugins/lv2/b_synth/>
Jan 23 09:49:06 zynthian startx[981]: INFO:zynthian_gui.<module>: STARTING ZYNTHIAN-UI ...
Jan 23 09:49:06 zynthian startx[981]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Jan 23 09:49:06 zynthian startx[981]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Jan 23 09:49:07 zynthian startx[981]: libjackpeak registering as 'jackpeak'.
Jan 23 09:49:07 zynthian startx[981]: libjackpeak created input ports
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SWITCHES INIT...
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 0 => wpGPIO 14
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 1 => wpGPIO 26
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 2 => wpGPIO 3
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 3 => wpGPIO 7
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_gui.zynswitches_midi_setup: MIDI SWITCHES SETUP...
Jan 23 09:49:08 zynthian startx[981]: INFO:zynthian_engine.start: Starting Engine JackTransport
Jan 23 09:49:08 zynthian startx[981]: DEBUG:zynthian_engine.start: Command: /usr/local/bin/jack_transport

After a clean install jackd want able to find a device called sndrpihifiberry. Unfortunately you didn’t include the output from aplay -l for that stage.

After rpi-update jackd can start up. You don’t show the jackd output for that stage.

UI crashes when you access ALSA Mixer but I don’t see the debug log for that action

Xruns occur regularly which indicates a problem with the CPU processing all the jackd audio processing within reach cycle. The PSU can affect this and poor device drivers, e.g. built-in audio (headphones). It is plausible that you are using the wrong ALSA driver for the soundcard so the jackd log may give us a clue.

After a clean install the output of aplay -l is:

**** List of PLAYBACK Hardware Devices ****
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

The output of pgrep -a jackd was included in above, but together with the console output of aplay - here it is again:

475 /usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -S -r 44100 -p 256 -n 2 -X raw

Or is it something else you’re looking for?

There’s something about ALSA Mixer in the log above too - towards the bottom it says:

Jan 23 09:48:59 zynthian startx[981]: INFO:zynthian_gui_main.alsa_mixer: ALSA Mixer
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_controllers_dict: MIXER CTRL LIST: ['Digital Left', 'Digital Right']
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_0 => 100
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_engine_mixer.get_mixer_zctrls: ADDING ZCTRL LEVEL: Digital_1 => 100
Jan 23 09:48:59 zynthian startx[981]: DEBUG:zynthian_layer.load_bank_list: BANK LIST =>
Jan 23 09:48:59 zynthian startx[981]: [('', None, '', None)]
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN MX#1
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Digital Left': 100 (0 -> 100), None, None
Jan 23 09:49:00 zynthian startx[981]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set 'Digital' 'Playback' 100%,100% unmute
Jan 23 09:49:00 zynthian startx[981]: wiringPiISR: unable to open /sys/class/gpio/gpio9/value: No such file or directory
Jan 23 09:49:00 zynthian startx[981]: Zyncoder: Zynswitches poll thread created successfully
Jan 23 09:49:00 zynthian startx[981]: zynseq: Jack samplerate: 44100
Jan 23 09:49:00 zynthian startx[981]: zynseq: Jack buffer size: 256
Jan 23 09:49:00 zynthian startx[981]: zynseq exit

Or at least I think that’s it.

Quick update: Got sound to work, but when starting ALSA Mixer the UI still crashes.

What I did: Added the following lines to /etc/modules as described here https://www.hifiberry.com/docs/archive/hifiberry-software-configuration/

snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_pcm512x
snd_soc_hifiberry_dacplus

Probably too much inards tinkering for the like of Zynthian, but just trying out things to get closer to a solution :slight_smile:

Will do a fresh image if we manage to get it all sorted out.

Another quick update: Put the case back together and brought it back to it’s other synth friends and everything seems to work without any issues. ALSA Mixer doesn’t crash anymore either :man_shrugging:

3 Likes

Right! that’s my cue !!! :face_with_monocle:

1 Like

Damn, it’s a clickable monocle !!!

Here you go: https://youtu.be/_HnL3PtZdx4

Recorded yesterday. A thing I had ready to record a week ago - and then I messed up the Zynth :laughing: :expressionless:

3 Likes

@riban - Any chance that the fix/hack/trick/innards tinkering is something we can get into the proper Zynthian software.

The reason I’m asking is that when I do some changes via webconfig my hack gets removed and I have to update /etc/modules again :slight_smile:

2 Likes

Hi @sidor!

There is a post-config hacks you can use. Simply write a shell script that apply your config changes/tweaks and put it here:

/zynthian/zynthian-my-data/scripts/update_zynthian_sys.sh

It will be executed just after every config save.

Yes. This should be documented on the wiki. Same as “first boot” hooks! (@mheidt, do you remember that? Are you still using it?)

Regards!

3 Likes

Ah, great tip - thanks!