The Wireplumber package contains a session and policy manager for Pipewire.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/0.5.8/wireplumber-0.5.8.tar.bz2
Download MD5 sum: a2cbfe6885da8dcbeacbba05f62bcf67
Download size: 412 KB
Estimated disk space required: 89 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
GLib-2.84.0, pipewire-1.4.0, and Systemd-257.3 (runtime, rebuilt with Linux-PAM-1.7.0)
Doxygen-1.13.2, lxml-5.3.1, sphinx-8.2.3, sphinx_rtd_theme-3.0.2, and Breathe
Install Wireplumber by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D system-lua=true .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
Finally, rename the documentation directory to a versioned
directory as the root
user:
mv -v /usr/share/doc/wireplumber{,-0.5.8}
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D system-lua=true
: This
switch enables using the system version of Lua. Omit this switch if
you have not installed Lua, but note that meson will download and install it's own
version.
In order for Wireplumber to be used by Pipewire, Wireplumber and Pipewire must be configured to start when a desktop environment is started.
Pipewire now provides it's own Pulseaudio server implementation,
which causes runtime conflicts with the server provided by
Pulseaudio itself. This generally presents itself by applications
hanging or malfunctioning when trying to play or record audio and
video. First, prevent Pulseaudio from starting it's own server
implementation by running the following commands as the
root
user:
rm -vf /etc/xdg/autostart/pulseaudio.desktop && rm -vf /etc/xdg/Xwayland-session.d/00-pulseaudio-x11 && sed -e '$a autospawn = no' -i /etc/pulse/client.conf
Next, configure Wireplumber to start when a desktop environment
is started. Run the following commands as the root
user to enable the systemd user units:
systemctl enable --global pipewire.socket && systemctl enable --global pipewire-pulse.socket && systemctl enable --global wireplumber
Now that Wireplumber is configured to start when a desktop environment is started, it is recommended that you log out of your session and log back in again.