mod-audio/mod-live-usb

Audio not working

Opened this issue · 9 comments

Audio not working inside nspawn container. Therefore board not starting at all.
journalctl -u mod-live-audio .... says ALSA cannot open hw:0 (or hw:1, doesnt matter - I tried different cards, different PCs)

All works with pre-built iso.

falkTX commented

those hw devices need to be free and not in use. if you have something like pulseaudio or pipewire it is likely those are being used by them, you need to find a way to force them to be free for use.

no no no. I didnt do anything.
This is how brand new created live usb stick works now after compiling.

I faced it before with the same picture. Alsa worked on host. But didnt work inside container. Even if I passthrough /dev/snd to it.
aplay -l gives no audiocard found (I copied agetty inside mod-os and was able login to shell with machinectl)
Assume there is some conflict between buildroot 2016 and archiso (wich is newer now)

falkTX commented

ah so you were always trying with the ISO. do you mean that your own created ISO does not work but the one from github action does?

I tested things locally (no ISO) in Debian 12 which is recent-ish, and got audio to work there.
Have not tried with the latest ISO builds yet.

Oh, ok!
Yeah, that was iso.
I will try to do it with debian. Seems I understand better now how everything works -)

ah so you were always trying with the ISO. do you mean that your own created ISO does not work but the one from github action does?

I tested things locally (no ISO) in Debian 12 which is recent-ish, and got audio to work there. Have not tried with the latest ISO builds yet.

I've tested the released iso (v8) and it worked, but the one from the latest build from today (Custom empty pedalboard #132) didn't load the pedalboard, I've tried twice. I have a USB Presonus Studio 26c, tested on a Ryzen 5900X with 32Gb RAM. The soundcard is recognized perfectly but I can't go lower than 128 samples at 48Khz, the sound after that goes metallic and robotic, I don't know why. Is there any log I should check from the terminal regarding the V9 ISO issue?

I can confirm that with the ISO the mod-live-audio.service has some issues.
I've built the ISO from a working local instance on my newly installed Debian 12. Locally it works, I can start the pedalboard and play any plugin.
In the ISO it seems that alsa could not open the hardware device properly.

I had the chance to save the full log of the mod-live-audio.service restart. Here it is:

Jul 13 17:05:22 mod-live-usb systemd[1]: machine-mod\x2dlive\x2daudio.scope: Consumed 1.797s CPU time.
Jul 13 17:05:22 mod-live-usb systemd[1]: mod-live-audio.service: Deactivated successfully.
Jul 13 17:05:22 mod-live-usb systemd[1]: Stopped MOD Live-USB Audio.
Jul 13 17:05:39 mod-live-usb systemd[1]: Starting MOD Live-USB Audio...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: starting up, pwd is /root/.mod-live
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Spawning container mod-live-audio on /mnt/mod-os.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Press Ctrl-] three times within 1s to kill container.
Jul 13 17:05:39 mod-live-usb systemd-machined[1109]: New machine mod-live-audio.
Jul 13 17:05:39 mod-live-usb systemd[1]: Started Container mod-live-audio.
Jul 13 17:05:39 mod-live-usb systemd[1]: tmp-unifiedjOLUZ8.mount: Deactivated successfully.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: systemd 219 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ -LZ4 ->
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Detected virtualization 'systemd-nspawn'.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Detected architecture 'x86-64'.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Welcome to Buildroot 2016.02!
Jul 13 17:05:39 mod-live-usb start.sh[1768]:
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Set hostname to <mod-live-audio>.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Initializing machine ID from container UUID.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Installed transient /etc/machine-id file.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Failed to install release agent, ignoring: No such file or directory
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Running in a container, ignoring fstab device entry for /dev/root.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Unit type .busname is not supported on this system.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Unit type .device is not supported on this system.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Unit type .automount is not supported on this system.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: Unit type .swap is not supported on this system.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Swap.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Created slice Root Slice.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on Journal Socket (/dev/log).
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on Journal Audit Socket.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on Journal Socket.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Created slice System Slice.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Mounting Huge Pages File System...
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Remount Root and Kernel File Systems...
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Mounting Configuration File System...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Created slice User and Session Slice.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Slices.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on Delayed Shutdown Socket.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Paths.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Journal Service...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Mounted Configuration File System.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Mounted Huge Pages File System.
Jul 13 17:05:39 mod-live-usb systemd[1]: Started MOD Live-USB Audio.
Jul 13 17:05:39 mod-live-usb kernel: EXT4-fs (loop1): re-mounted 081b8f2e-157e-4cac-884d-4ca4836f73ae. Quota mode: none.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Remount Root and Kernel File Systems.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Create Static Device Nodes in /dev...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Journal Service.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Flush Journal to Persistent Storage...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Create Static Device Nodes in /dev.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Local File Systems (Pre).
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Local File Systems.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Update is Completed...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Update is Completed.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Flush Journal to Persistent Storage.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Create Volatile Files and Directories...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Create Volatile Files and Directories.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target System Initialization.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Listening on D-Bus System Message Bus Socket.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Sockets.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Basic System.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting JACK Audio Connection Kit Daemon...
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Permit User Sessions...
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Login Service...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started D-Bus System Message Bus.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting D-Bus System Message Bus...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Timers.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Permit User Sessions.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Cleanup of Temporary Directories...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Console Getty.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting Console Getty...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Login Prompts.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Login Service.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started Cleanup of Temporary Directories.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720619] jack2[24]: jackdmp 1.9.20
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720698] jack2[24]: Copyright 2001-2005 Paul Davis and others.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720747] jack2[24]: Copyright 2004-2016 Grame.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720790] jack2[24]: Copyright 2016-2021 Filipe Coelho.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720833] jack2[24]: jackdmp comes with ABSOLUTELY NO WARRANTY
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720874] jack2[24]: This is free software, and you are welcome to redistribute it
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720917] jack2[24]: under certain conditions; see the file COPYING for details
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.720958] jack2[24]: JACK server starting in realtime mode with priority 80
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.721004] jack2[24]: self-connect-mode is "Don't restrict self connect requests"
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.754129] jack2[24]: creating alsa driver ... hw:2,0|hw:2,0|128|3|48000|0|0|nomon|swmeter|-|32bit
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.754365] jack2[24]: control open "hw:2" (No such file or directory)
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.754444] jack2[24]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.754501] jack2[24]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.757977] jack2[24]: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.758021] jack2[24]: Cannot initialize driver
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.758060] jack2[24]: JackServer::Open failed with -1
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [ 1047.765661] jack2[24]: Failed to open server
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [FAILED] Failed to start JACK Audio Connection Kit Daemon.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: See "systemctl status jack2.service" for details.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started MOD Web Server.
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting MOD Web Server...
Jul 13 17:05:39 mod-live-usb start.sh[1768]:          Starting browsepy...
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Started browsepy.
Jul 13 17:05:39 mod-live-usb start.sh[1768]: [  OK  ] Reached target Multi-User System.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.893257] browsepy[45]: * Running on http://0.0.0.0:8081/ (Press CTRL+C to quit)
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895667] jack2[57]: jackdmp 1.9.20
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895745] jack2[57]: Copyright 2001-2005 Paul Davis and others.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895803] jack2[57]: Copyright 2004-2016 Grame.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895860] jack2[57]: Copyright 2016-2021 Filipe Coelho.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895914] jack2[57]: jackdmp comes with ABSOLUTELY NO WARRANTY
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.895967] jack2[57]: This is free software, and you are welcome to redistribute it
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.896024] jack2[57]: under certain conditions; see the file COPYING for details
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.896083] jack2[57]: JACK server starting in realtime mode with priority 80
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.896141] jack2[57]: self-connect-mode is "Don't restrict self connect requests"
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.928362] jack2[57]: creating alsa driver ... hw:2,0|hw:2,0|128|3|48000|0|0|nomon|swmeter|-|32bit
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.928618] jack2[57]: control open "hw:2" (No such file or directory)
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.928681] jack2[57]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.928754] jack2[57]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.932333] jack2[57]: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.932386] jack2[57]: Cannot initialize driver
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.932434] jack2[57]: JackServer::Open failed with -1
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1047.939980] jack2[57]: Failed to open server
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.021137] mod-ui[31]: Cannot connect to server socket err = No such file or directory
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.021226] mod-ui[31]: Cannot connect to server request channel
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.023201] mod-ui[31]: jack server is not running or cannot be started
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.023281] mod-ui[31]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.023337] mod-ui[31]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.023738] mod-ui[31]: WARNING:tornado.general:Connect error on fd 10: ECONNREFUSED
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.023818] mod-ui[31]: WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146099] jack2[61]: jackdmp 1.9.20
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146182] jack2[61]: Copyright 2001-2005 Paul Davis and others.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146240] jack2[61]: Copyright 2004-2016 Grame.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146296] jack2[61]: Copyright 2016-2021 Filipe Coelho.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146352] jack2[61]: jackdmp comes with ABSOLUTELY NO WARRANTY
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146409] jack2[61]: This is free software, and you are welcome to redistribute it
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146471] jack2[61]: under certain conditions; see the file COPYING for details
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146530] jack2[61]: JACK server starting in realtime mode with priority 80
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.146588] jack2[61]: self-connect-mode is "Don't restrict self connect requests"
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.177237] jack2[61]: creating alsa driver ... hw:2,0|hw:2,0|128|3|48000|0|0|nomon|swmeter|-|32bit
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.177459] jack2[61]: control open "hw:2" (No such file or directory)
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.177529] jack2[61]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.177584] jack2[61]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.180994] jack2[61]: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.181045] jack2[61]: Cannot initialize driver
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.181094] jack2[61]: JackServer::Open failed with -1
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.188393] jack2[61]: Failed to open server
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.224734] mod-ui[31]: Using FakeHMI => <mod.development.FakeHMI object at 0x7fd9bfd7dad0>
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.224804] mod-ui[31]: cc start socket missing
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.224859] mod-ui[31]: last state file does not exist or is corrupt
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.224913] mod-ui[31]: last state file does not exist or is corrupt
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.224968] mod-ui[31]: HMI initialized right away
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.225036] mod-ui[31]: Readsock none
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.225094] mod-ui[31]: Writesock none
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.225148] mod-ui[31]: Host failed to initialize, is the backend running?
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.225200] mod-ui[31]: jack client deactivated NOT
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.236971] mod-ui[31]: jack client deactivated NOT
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.396818] jack2[65]: jackdmp 1.9.20
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.396902] jack2[65]: Copyright 2001-2005 Paul Davis and others.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.396961] jack2[65]: Copyright 2004-2016 Grame.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397029] jack2[65]: Copyright 2016-2021 Filipe Coelho.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397090] jack2[65]: jackdmp comes with ABSOLUTELY NO WARRANTY
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397147] jack2[65]: This is free software, and you are welcome to redistribute it
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397202] jack2[65]: under certain conditions; see the file COPYING for details
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397259] jack2[65]: JACK server starting in realtime mode with priority 80
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.397315] jack2[65]: self-connect-mode is "Don't restrict self connect requests"
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.428525] jack2[65]: creating alsa driver ... hw:2,0|hw:2,0|128|3|48000|0|0|nomon|swmeter|-|32bit
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.428744] jack2[65]: control open "hw:2" (No such file or directory)
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.428811] jack2[65]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.428867] jack2[65]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.432295] jack2[65]: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.432344] jack2[65]: Cannot initialize driver
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.432392] jack2[65]: JackServer::Open failed with -1
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.439906] jack2[65]: Failed to open server
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648341] jack2[72]: jackdmp 1.9.20
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648421] jack2[72]: Copyright 2001-2005 Paul Davis and others.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648471] jack2[72]: Copyright 2004-2016 Grame.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648519] jack2[72]: Copyright 2016-2021 Filipe Coelho.
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648564] jack2[72]: jackdmp comes with ABSOLUTELY NO WARRANTY
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648610] jack2[72]: This is free software, and you are welcome to redistribute it
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648656] jack2[72]: under certain conditions; see the file COPYING for details
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648700] jack2[72]: JACK server starting in realtime mode with priority 80
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.648744] jack2[72]: self-connect-mode is "Don't restrict self connect requests"
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.676881] mod-ui[67]: Cannot connect to server socket err = No such file or directory
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.676953] mod-ui[67]: Cannot connect to server request channel
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.678951] mod-ui[67]: jack server is not running or cannot be started
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.679048] mod-ui[67]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.679101] mod-ui[67]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.679663] mod-ui[67]: WARNING:tornado.general:Connect error on fd 10: ECONNREFUSED
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.679737] mod-ui[67]: WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.680236] jack2[72]: creating alsa driver ... hw:2,0|hw:2,0|128|3|48000|0|0|nomon|swmeter|-|32bit
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.680461] jack2[72]: control open "hw:2" (No such file or directory)
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.680509] jack2[72]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.680555] jack2[72]: ALSA lib pcm_hw.c:1826:(_snd_pcm_hw_open) Invalid value for card
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.680603] jack2[72]: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.683990] jack2[72]: Cannot initialize driver
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.684034] jack2[72]: JackServer::Open failed with -1
Jul 13 17:05:40 mod-live-usb start.sh[1768]: [ 1048.691451] jack2[72]: Failed to open server
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880716] mod-ui[67]: Using FakeHMI => <mod.development.FakeHMI object at 0x7f06fbdccad0>
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880781] mod-ui[67]: cc start socket missing
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880827] mod-ui[67]: last state file does not exist or is corrupt
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880868] mod-ui[67]: last state file does not exist or is corrupt
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880911] mod-ui[67]: HMI initialized right away
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880954] mod-ui[67]: Readsock none
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.880999] mod-ui[67]: Writesock none
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.881050] mod-ui[67]: Host failed to initialize, is the backend running?
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.881095] mod-ui[67]: jack client deactivated NOT
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1048.894950] mod-ui[67]: jack client deactivated NOT
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.370135] mod-ui[75]: Cannot connect to server socket err = No such file or directory
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.370224] mod-ui[75]: Cannot connect to server request channel
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.372201] mod-ui[75]: jack server is not running or cannot be started
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.372279] mod-ui[75]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.372329] mod-ui[75]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.372759] mod-ui[75]: WARNING:tornado.general:Connect error on fd 10: ECONNREFUSED
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.372843] mod-ui[75]: WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.573796] mod-ui[75]: Using FakeHMI => <mod.development.FakeHMI object at 0x7ff2df208ad0>
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.573864] mod-ui[75]: cc start socket missing
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.573910] mod-ui[75]: last state file does not exist or is corrupt
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.573951] mod-ui[75]: last state file does not exist or is corrupt
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.573992] mod-ui[75]: HMI initialized right away
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.574058] mod-ui[75]: Readsock none
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.574101] mod-ui[75]: Writesock none
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.574141] mod-ui[75]: Host failed to initialize, is the backend running?
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.574179] mod-ui[75]: jack client deactivated NOT
Jul 13 17:05:41 mod-live-usb start.sh[1768]: [ 1049.588680] mod-ui[75]: jack client deactivated NOT
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.108554] mod-ui[81]: Cannot connect to server socket err = No such file or directory
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.108642] mod-ui[81]: Cannot connect to server request channel
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.110621] mod-ui[81]: jack server is not running or cannot be started
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.110697] mod-ui[81]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.110745] mod-ui[81]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.111163] mod-ui[81]: WARNING:tornado.general:Connect error on fd 10: ECONNREFUSED
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.111244] mod-ui[81]: WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312076] mod-ui[81]: Using FakeHMI => <mod.development.FakeHMI object at 0x7f791da9ead0>
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312141] mod-ui[81]: cc start socket missing
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312187] mod-ui[81]: last state file does not exist or is corrupt
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312231] mod-ui[81]: last state file does not exist or is corrupt
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312272] mod-ui[81]: HMI initialized right away
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312313] mod-ui[81]: Readsock none
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312355] mod-ui[81]: Writesock none
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312396] mod-ui[81]: Host failed to initialize, is the backend running?
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.312439] mod-ui[81]: jack client deactivated NOT
Jul 13 17:05:42 mod-live-usb start.sh[1768]: [ 1050.323460] mod-ui[81]: jack client deactivated NOT
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.858860] mod-ui[87]: Cannot connect to server socket err = No such file or directory
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.858966] mod-ui[87]: Cannot connect to server request channel
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.860926] mod-ui[87]: jack server is not running or cannot be started
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.860999] mod-ui[87]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.861058] mod-ui[87]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.861463] mod-ui[87]: WARNING:tornado.general:Connect error on fd 10: ECONNREFUSED
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1050.861546] mod-ui[87]: WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062346] mod-ui[87]: Using FakeHMI => <mod.development.FakeHMI object at 0x7f2c03a06ad0>
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062432] mod-ui[87]: cc start socket missing
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062480] mod-ui[87]: last state file does not exist or is corrupt
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062524] mod-ui[87]: last state file does not exist or is corrupt
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062565] mod-ui[87]: HMI initialized right away
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062606] mod-ui[87]: Readsock none
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062646] mod-ui[87]: Writesock none
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062687] mod-ui[87]: Host failed to initialize, is the backend running?
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.062730] mod-ui[87]: jack client deactivated NOT
Jul 13 17:05:43 mod-live-usb start.sh[1768]: [ 1051.073660] mod-ui[87]: jack client deactivated NOT

Hope this helps.
Let me know if you need some tests.

Cheers

Hey @raidolo, did you try to build https://github.com/moddevices/mod-host and https://github.com/moddevices/mod-ui on your system directly? I had more success with this approach than going with the iso.
Worked for the Raspi4.

Hey @raidolo, did you try to build https://github.com/moddevices/mod-host and https://github.com/moddevices/mod-ui on your system directly? I had more success with this approach than going with the iso.

Worked for the Raspi4.

I have no issues in building the UI and the mod-host from this repo, I didn't build them cloning the repos you mentioned, but the thing is that starting manually everything on Debian 12 from the mod-live-usb they just works. I still have issues when trying to go at 64 samples, the audio stutters and it's unusable and I still didn't figured it out, I don't know if it's something going on with alsa or it's jack that simply can't go that low. I dunno. At first I though it was the Presonus 26c, but I have the same issue even with my Mooer GE 250 at 44100khz and 64 samples...

Anyway, thanks for pointing me to direct repos, I'll try them...

Hey @raidolo, did you try to build https://github.com/moddevices/mod-host and https://github.com/moddevices/mod-ui on your system directly? I had more success with this approach than going with the iso. Worked for the Raspi4.

Hi, I've tried to build the two components, but mod-ui doesn't see any plugin. I'm missing something.... any hint?

EDIT: Ok I've found that I have to put ther lv2 in /usr/lib/lv2 on my Debian host. My bad.