Hi,
something must have changed between piCore12.0 and piCore13.0.3 that broke jack.
The problem that now occur under piCore13 is that jack clients are crashing as they connect. I've tried many things but am now out of Ideas. jack.tcz and alsa.tcz seem identical between the two versions so i'm guessing the issue must be elsewhere.
To reproduce install alsa and jack on a fresh system. Start jack with sudo and a relatively high priority (-P75). Next run sudo jack_lsp or sudo jack_simple_client. They both work as expected under piCore12.0...
tce-load -wi alsa jack
tc@box:~$ sudo jackd -P75 -p16 -dalsa -P -dhw:0 -r44100 -p1024 -n3 &
tc@box:~$ 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 75
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:0|-|1024|3|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 3 periods for playback
tc@box:~$ sudo jack_lsp
system:playback_1
system:playback_2
But when we try the same under a fresh piCore13.0.3 install the clients do not want to connect. Everything is identical and jack seem to start and run without problems. As soon as we run jack_lsp though...
tc@box:~$ sudo jack_lsp
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot read socket fd = 5 err = Success
CheckRes error
Cannot create new client
JackSocketClientChannel read fail
Cannot open lsp client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Error: cannot connect to JACK, jack_client_open() failed, status = 0x21
and no other clients i tried could connect - i get the same error.
This is on a RPi3 v1.2 32-bit with the built-in sound card. Also same issue running without sudo.
Grateful for any ideas.