I made an attempt to solve this by using docker to run multiple Stereotools on a single hardware. No success so far. I was able to run Stereotool itself in docker and display the GUI on the host desktop. My preferred setup would look like this:
- Running jack on the host using the soundcard and load the netmanager module so act as a network master
- In docker containers, run jack with the net backend as slave and run a stereotool connected to the 2 ins and outs of the jack slave
- Repeat for at least 2 containers.
I'm currently struggling to get jackd running inside docker. After lots of trial and error with rights and privileges and limits, i'm stuck at
docker run -it --network host --cap-add=ALL --ulimit rtprio=99 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --name stereotool jack
root@henning-ThinkPad-T410:/# jackd -d net
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 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 10
self-connect-mode is "Don't restrict self connect requests"
Cannot lock down 82280346 byte memory area (Cannot allocate memory)
Bus error (core dumped)
Anyone willing to join the adventure? I feel like I'm really close to finding a solution but running out of ideas.
Of course it would be much easier if the Linux ST had a couple command line params to specify jack name and settings file but this is yet to come.