A Brief But Accurate Documentation, BSD Linux And Programming

 Docker

Saturday, May 8, 2021

How to install pipewire audio on Debian 11 Bullseye

 First you have to install pipewire pipewire-audio-client-libraries
Run:     sudo apt install pipewire pipewire-audio-client-libraries

Then run:      sudo touch /etc/pipewire/media-session.d/with-pulseaudio

                      sudo cp /usr/share/doc/pipewire/examples/systemd/user/pipewire-pulse.* /etc/systemd/user/


Now you have to run this command with your daily user NOT root without sudo:

Check for new services files with the following command:
                systemctl --user daemon-reload

To Disable and Stop the PulseAudio Service with the following command:
                 systemctl --user --now disable pulseaudio.service pulseaudio.socket

To Enable and Start the new pipewire-pulse service with the following command:
                 systemctl --user --now enable pipewire pipewire-pulse

To check if it is working with the following command:
        pactl info
      It says     "Server Name: PulseAudio (on PipeWire 0.3.19)" Which is succeed

Make sure you have disabled pulseaudio to keep pipewire is running every boot to avoid conflict:
Of course run this command with your user NOT root
                    systemctl --user mask pulseaudio


No comments:

Post a Comment

Back to top