Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Last active March 15, 2022 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sogaiu/953f12d700dd69543242cce923fdc07a to your computer and use it in GitHub Desktop.
Save sogaiu/953f12d700dd69543242cce923fdc07a to your computer and use it in GitHub Desktop.
manjaro audio setup for pulseaudio + jack2

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:

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):

manjaro-pulseaudio-jack2-qjackctl-web-browser-success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment