Things that seemed to have helped assuming a default manjaro install (2022-03-08)
- cadence
- System tab -> JACK Bridges -> ALSA Audio -> Bridge Type: ALSA -> PulseAudio -> JACK (Plugin)
- qjackctl
- Setup -> Misc -> Enable JACK D-Bus Interface (might need to restart qjackctl)
- Start Jack via qjackctl (Start button on main UI dialog)
- Verify via Graph window (dialog activated via Graph button on main UI dialog) existence of:
- PulseAudio Jack Sink (connected to system playback - 2 lines)
- PulseAudio Jack Source (connected to system capture - 2 lines)
- pavucontrol
- In Playback tab, for each relevant application, choose "JACK sink (PulseAudio JACK Sink)" instead of "Built-in Audio Analog Stereo"
- Might also be necessary to add user to audio group as well as tweak
/etc/security/limits.conf
(rtprio and memlock) and subsequently log out and log in.
Possibly relevant packages:
- cadence
- pavucontrol
- pulseaudio-jack (module-jack-{sink,source}.so)
- qjackctl
Most useful links at the time of this writing were:
- https://blog.inagaki.in/en/post/manjaro-linux-audio-environment/
- https://wiki.archlinux.org/title/PulseAudio/Examples#When_JACK_is_started_Firefox,_Chrome_and_other_applications_stop_playing_video_and_audio
- https://jackaudio.org/faq/linux_rt_config.html#systems-using-pam
Troubleshooting:
- ERROR: Cannot lock down X byte memory area (Cannot allocate memory)
- can happen even if /etc/security/limits.conf + audio group has appropriate configuration - rebooting can help...
Possibly worth looking at later (but might be there is too much to comb through and discard...):
For Debian / Ubuntu, it may be that the following video is useful (though non-distribution-specific info may also be of interest):