From Gentoo Wiki
Jump to: navigation, search
This page contains changes which are not marked for translation.

This article describes the setup of a playing sound with JACK (JACK Audio Connection Kit).

JACK is a sound server where applications like mpv can connect to to play their sound.


JACK uses ALSA for accessing the sound card hardware, be sure ALSA is working.


First, emerge the sound server itself.

root #emerge --ask media-sound/jack2

Cannot load package information. Is the atom media-sound/jack2 correct?

The global USE flag jack enables support for JACK in other packages, so they can submit sound to a JACK server:

root #euse -E jack

The euse command is part of app-portage/gentoolkit.

After setting this be sure to update the system so the changes take effect:

root #emerge --ask --changed-use --deep @world


Sound Server

A good JACK configuration and control software is media-sound/cadence.

root #emerge --ask media-sound/cadence


JACK can route sound which was sent to other sound systems like PulseAudio and ALSA through itself.