I used have tutorials for JACK and QjackCtl for another distribution, but they were deleted when the distribution replaced QjackCtl with their own package
I am working on a JACK tutorial for Manjaro, but I have not incorporated recent changes to packages, so this is just an outline of a work-in-progress:
JACK Audio Server cannot start
A standard Linux distribution must be reconfigured for realtime scheduling or JACK will refuse to start
- Add user to audio group
sudo gpasswd -a $USER audio
- Install package realtime-privileges
pamac install realtime-privileges
- Add user to realtime group created by the package
sudo gpasswd -a $USER realtime
- Reboot system to ensure group memberships are loaded
That is only enough to get JACK to start and more configuration is needed to prevent xrun problems
JACK - XRUN errors
To configure system for minimal* errors use realtimeconfigquickscan script
(*user will still have to fine-tune JACK settings to find a balance between low-latency and no xruns. There is no ‘one size fits all’ solution for that)
git clone git://github.com/raboof/realtimeconfigquickscan.git
cd realtimeconfigquickscan
perl ./realTimeConfigQuickScan.pl
The script has links explaining how to implement any changes needed
I have worked out terminal commands to save manually editing system files, but Manjaro does not have the same system configuration for all DEs and window managers
If users post the script response on this forum I can work out what is needed
PulseAudio - No Audio causes video and audio sources to stutter
Use these command to set the default Pulseaudio connections to use JACK
pacmd set-default-sink jack_out
pacmd set-default-source jack_in
Then get the sink-name for the device taken for JACK use from this
pactl list short sinks
and change the sink-profile to off
pacmd set-card-profile [sink-name] off
(changing the sink-profile can also be done in GUI controls)
That is all the one-time configuration most users need
The next part is a personal choice for users
Some will want to use a GUI package (QjackCtl or Cadence) for controlling JACK
But JACK can also be started and stopped with simple BASH scripts