PipeWire: one graph server that stands in for PulseAudio, JACK and ALSA clients
Mirror of the PipeWire repository (see https://gitlab.freedesktop.org/pipewire/pipewire/)
At a glance
- What is it?
- PipeWire is a C server and user space API for multimedia graphs. This article covers how it presents itself to PulseAudio, JACK, ALSA and GStreamer applications, which environment variables steer it, and where the repository leaves you on your own.
- Who is it for?
- Use PipeWire if you want one server that existing PulseAudio, JACK, ALSA and GStreamer applications can talk to, and install it from your distribution package system. Skip building from this mirror unless you need unreleased code, since the repository has no GitHub releases.
- Can I use it commercially?
- Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly C, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- PipeWire/pipewire2,177 ★ · +18
| Repository | 2026-10-09 | 2026-11-25 |
|---|---|---|
| PipeWire/pipewire | 2.2k | 2.2k |
18 Stars in the last 47 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Nodes in the graph can be separate processes passing file descriptors
PipeWire describes itself as a server and user space API for multimedia pipelines. Sources of video, from a capture device or from an application-provided stream, are made available and multiplexed between clients. Other clients can then consume those sources, and the server generates graphs for audio and video processing.
The structural detail that matters is where the work happens. Nodes in the graph can be implemented as separate processes, talking over sockets and exchanging multimedia content by passing file descriptors. A node is therefore not forced to live inside the daemon. A compositor, a browser or a recorder can each own a node and still be wired into the same graph.
The repository layout follows this split. The top level holds src/ for the daemon and tools, spa/ for the plugin layer, include/ for headers, and one directory per compatibility layer: pipewire-alsa/, pipewire-jack/ and pipewire-v4l2/. Documentation is in doc/ and the build is driven by meson.build and meson_options.txt, with autogen.sh and Makefile.in also present.
Native API users such as screen sharing need no configuration, audio apps depend on how the distribution wired things
Applications written against the native PipeWire API include most compositors, such as gnome-shell, which use it to implement screen sharing. Those apps work without any setup on your part.
Audio applications are a different case. Most of them speak ALSA, JACK or PulseAudio, and PipeWire provides support for all three backends. Whether that works automatically or needs one of the provided scripts depends on how your distribution has configured things. If an audio app misbehaves, the first question is therefore not about PipeWire itself but about what your distribution did with the three compatibility layers.
The project is direct about packaging. The preferred way to install is the distribution package system, because that integrates PipeWire into the rest of the system. Building it yourself means following INSTALL.md, and the main README gives no build commands of its own. A self-built copy has to be integrated by you: choosing which of the PulseAudio, JACK and ALSA layers replace the system ones, and how they start.
The PulseAudio server and the PipeWire replacement cannot run together
PipeWire can run a PulseAudio compatible replacement server. You cannot use both servers at the same time, and a package manager will usually make the two conflict so that only one is installed. Existing PulseAudio applications keep using the regular PulseAudio client libraries. The only thing that changes is the server implementation behind them.
To check which server answered, run:
pactl infoThe output of a successful swap includes this string:
...
Server Name: PulseAudio (on PipeWire 0.3.x)
...That line is the answer to whether a machine is using PulseAudio or PipeWire. A plain PulseAudio server reports a different name, so the check does not require reading process lists.
Tools built for PulseAudio carry over. pavucontrol can still change profiles and ports, change volumes and redirect streams, just as it does with PulseAudio. The cost of the conflict is that you cannot try PipeWire alongside a working PulseAudio install for a quick comparison. Trying it means a package swap, and going back means swapping again.
JACK runs side by side or replaced, and pw-jack only matters in the first case
JACK support has two modes, chosen by how the system was configured. In dual mode PipeWire and JACK run next to each other, and JACK applications use the JACK server by default. To send one application to PipeWire, prefix it with the pw-jack script:
$ pw-jack <appname>If PipeWire has replaced JACK completely, pw-jack has no effect and can be omitted. Leaving it in a launcher does no harm, but it also does nothing.
Buffer size is set by the server. JACK applications automatically use the buffer size the server chose. A maximum can be forced with the PIPEWIRE_LATENCY environment variable:
PIPEWIRE_LATENCY=128/48000 jack_simple_clientThat requests that jack_simple_client run with a buffer of 128 samples or less. The phrase is a ceiling, not a guarantee of exactly 128. For graphical patching, Carla, catia and qjackctl are named as usable JACK tools, with one limit: they cannot show every PipeWire feature, and video ports are the example given.
PIPEWIRE_LATENCY sets a buffer size but never touches the sample rate
Behaviour of any PipeWire-aware application can be steered with environment variables. PIPEWIRE_DEBUG=<level> raises the debug level, and the level can be written as one letter from XEWIDT, meaning none, error, warnings, info, debug or trace. PIPEWIRE_LOG=<filename> redirects the log to a file, and PIPEWIRE_LOG_SYSTEMD=false turns off logging to the systemd journal.
The latency variables need more care because they overlap. PIPEWIRE_LATENCY=<num/denom> expresses latency as a fraction. A value of 10/1000 configures 10ms. It is usually written as samples over the sample rate: 256/48000 means 256 samples at 48KHz, a latency of 5.33ms. The variable does not attempt to configure the samplerate, so a rate has to come from elsewhere.
Two siblings cover that. PIPEWIRE_RATE=<num/denom> configures a rate for the graph. PIPEWIRE_QUANTUM=<num/denom> configures latency as a fraction and a samplerate together: it forces the graph samplerate to denom and forces num as the buffer size. Of the three, PIPEWIRE_QUANTUM is the only one that changes the graph rate as a side effect of setting the buffer, which is a consequence worth knowing before exporting it in a shell profile. PIPEWIRE_NODE=<id> requests a link to a specific node, and the id can be a node.name or an object.serial.
Video and ALSA reach PipeWire through GStreamer elements and a pipewire: device
For ALSA, the PipeWire alsa module has to be installed first. Once it is, it can be seen with:
$ aplay -LALSA applications then select the pipewire: device to use PipeWire as the audio system. If the module is absent, that device will not appear in the list, which makes aplay -L the quick test.
GStreamer gets two elements, pipewiresrc and pipewiresink. A video pipeline looks like this:
$ gst-launch-1.0 pipewiresrc ! videoconvert ! autovideosinkAnd a test tone can be sent to the graph with:
$ gst-launch-1.0 audiotestsrc ! pipewiresinkPipeWire also provides a device monitor, so gst-device-monitor-1.0 lists PipeWire devices and applications. Programs such as cheese will use the PipeWire video source automatically when possible. The wording is conditional: when possible, not always. For command-line audio, pw-cat plays and records audio and midi, pw-play and pw-record are aliases, and pw-cat -h prints more help.
Inspection is split across pw-top, pw-dump, pw-dot, pw-mon and pw-cli
Debugging a PipeWire graph is spread over several small tools, each with a narrow job. pw-mon dumps and monitors the state of the daemon. pw-top monitors the real-time status of the graph, which shows which clients are running and how much DSP resource each uses. pw-dump emits the daemon state as JSON, so properties and parameters of the objects can be pulled into scripts. pw-dot dumps a graph of the pipeline, and its help explains how.
For interactive work there is pw-cli, described as the more complicated tool. It can be used interactively or run one command at a time, for example to get the server information:
$ pw-cli info 0For a graphical view, Helvum is linked as a GUI to inspect and manipulate the graph.
Documentation has gaps. Tutorials and design documents sit in doc/index.dox, but the autogenerated API docs at docs.pipewire.org are labelled incomplete. A wiki exists on gitlab.freedesktop.org. The GitHub repository is a mirror of the freedesktop GitLab project, so merge requests and bugs go to GitLab. The last push to the mirror was on 2026-10-23, and there are no GitHub releases to pin a version against. The licence is mostly MIT, with exceptions listed in LICENSE, and the repository metadata does not assert a single licence.
Editorial conclusion
Use PipeWire if you want one server that existing PulseAudio, JACK, ALSA and GStreamer applications can talk to, and install it from your distribution package system. Skip building from this mirror unless you need unreleased code, since the repository has no GitHub releases. Before switching, run pactl info and look for the PulseAudio on PipeWire server name, because the PulseAudio and PipeWire servers conflict and only one can be installed.
Frequently asked questions
What is PipeWire for?
PipeWire is a server and user space API for multimedia pipelines. It makes video sources available to clients, lets applications consume them, and generates graphs for audio and video processing.
How do I know if I use PipeWire or PulseAudio?
Run pactl info. If PipeWire is providing the PulseAudio replacement server, the output includes a line like Server Name: PulseAudio (on PipeWire 0.3.x).
How to use PipeWire instead of PulseAudio?
PipeWire can run a PulseAudio compatible replacement server, and PulseAudio applications keep using the regular client libraries. Both servers cannot run together, so your package manager will usually make them conflict.
How to use pipewire-jack?
In dual mode, start a JACK application through the pw-jack script, as in pw-jack <appname>. If PipeWire replaced JACK completely, pw-jack has no effect and can be omitted.
How to use pipewire-alsa?
With the PipeWire alsa module installed, aplay -L lists it. ALSA applications then use the pipewire: device to send audio through PipeWire.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/pipewire-pipewire)Star history chart for your README
[](https://hysenlabs.com/projects/pipewire-pipewire)Was this useful?