Incorporation of PipeWire?

I'm very new to both Linux and Zorin and heard about this new multimedia processing project called PipeWire which is looking to bring together pulseaudio and JACK.

Any idea what this could mean for audio handling down the road and if Zorin would be able to adopt it?
With how little I know, it does sound very promising, being a guitarist using Reaper myself.

3 Likes

I'd love for it to be included by default too. In the meantime, I found a guide to use Pipewire on Zorin that I pulled from r/pop_os:

# Add ppa for latest build
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream

# Update
sudo apt update

# Install components
sudo apt install gstreamer1.0-pipewire pipewire-media-session libspa-0.2-bluetooth libspa-0.2-jack pipewire pipewire-audio-client-libraries

# If you get unmet dependencies, you can run:
sudo apt --fix-broken install
# Then re-run
sudo apt install gstreamer1.0-pipewire pipewire-media-session libspa-0.2-bluetooth libspa-0.2-jack pipewire pipewire-audio-client-libraries

# Reload new services
systemctl --user daemon-reload

# Disable PulseAudio service
systemctl --user --now disable pulseaudio.service pulseaudio.socket

# If you update from previous version of PopOS
systemctl --user mask pulseaudio

# Enable Pipewire services
systemctl --user --now enable pipewire pipewire-pulse

# Enable Pipewire media session
systemctl --user --now enable pipewire-media-session.service

# Reboot and possibly use https://extensions.gnome.org/extension/906/sound-output-device-chooser/

Haven't tried this setup with Reaper yet but it's been working great so far otherwise.

4 Likes

This would be nice, I've heard good things about PipeWire.

So i installed pipewire without any issues
I am facing one issue - whenever i wake up my laptop from sleep and connect bluetooth, media doesn't play or sound output drops, only way to fix this is to disconnect headphones and reconnect again

Is there anything that can be done to fix this ?

I've been having this too, I think it's a limitation of Pipewire and how it handles laptop sleep states. My laptop's processor can't even go into sleep on Zorin properly at all because of a Linux kernel issue with Intel 11th gen.

I think you'll have to live with it for now until Zorin decides to officially support Pipewire instead of Pulseaudio

1 Like

In other words... must Live with Pulseaudio...:stuck_out_tongue:

(ugh)

Looks Like Ubuntu 22.10 Will Finally Switch to PipeWire by Default and Drop PulseAudio. Canonical plans to finally adopt PipeWire as the default sound system in the upcoming Ubuntu 22.10 (Kinetic Kudu) release instead of PulseAudio in an attempt to provide better audio for users.

On this photo that means i using pipewire?

Tried to use pulse audio, didnt work so i deleted it,my headphones, speakers and usb dac/amp (IKKO ITM01s) died, then installed QasMixer and the headphone jack and speakers work, but not my usb dac/amp, everything was fixed when I installed pipewire with the guide you provided, thank you so much, without this guide my new dac/amp would be dead and the laptop audio sucks to much not to care.

Yes it does, you can see it under 'Server Name: PulseAudio (on PipeWire 0.3.56)'. If it didn't work it would just say PulseAudio.

What that means pipewire working or Pulse Audio?

Doesn't work for me, this always yields

/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.0.4) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
OS codename: 'focal'.
This codename isn't currently supported.
Please check your OS release information with "cat /etc/os-release" (identified as VERSION_CODENAME).

$ cat /etc/os-release gives me

NAME="Zorin OS"
VERSION="16.3"
ID=zorin
ID_LIKE=ubuntu
PRETTY_NAME="Zorin OS 16.3"
VERSION_ID="16"
HOME_URL="https://zorin.com/os/"
SUPPORT_URL="https://help.zorin.com/"
BUG_REPORT_URL="https://zorin.com/os/feedback/"
PRIVACY_POLICY_URL="https://zorin.com/legal/privacy/"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

I tried downgrading pip3, but I didn't get the solution. I suppose you also followed this guide:

In the end, I bought a USB-Dongle which somehow worked out after disabling the internal Bluetooth adapter

2 Likes

Hi! Recently tried a new guide to install Pipewire for Zorin OS 17. It's been working flawlessly with my setup, even in REAPER when I set my audio device to "PulseAudio" and restarting it. (Pipewire usually pretends to be PulseAudio for a lot of applications and it works a lot smoother than the original.)

Give this one a go:

# Run this command to make sure that pipewire did in fact come with your installation of Zorin OS 17 a.k.a. Ubuntu 22.04 LTS (it should list a bunch of services that say "active")
systemctl status --user pipewire pipewire-session-manager --no-pager -l

# Install these extra packages needed for video and audio output functionality
sudo apt install libldacbt-{abr,enc}2 libspa-0.2-bluetooth pipewire-audio-client-libraries libspa-0.2-jack

# Install wireplumber, a newer and more capable pipewire manager
sudo apt install wireplumber

# Configure wireplumber to always run at boot
systemctl --user --now enable wireplumber.service

# Disable PulseAudio
systemctl --user --now disable pulseaudio.{socket,service}
systemctl --user mask pulseaudio

# Copy all required Pipewire configuration files into your system
sudo cp -vRa /usr/share/pipewire /etc/

# Copy the config file for ALSA functionality
sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/

# Remove an old PulseAudio module for Bluetooth functionality
sudo apt remove pulseaudio-module-bluetooth

# Copy the config file for JACK functionality
sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/

# Reboot your system
reboot

# Run this and look in the Server Name line for "PulseAudio (on PipeWire x.x.x)"
pactl info

# Grab "pavucontrol" flatpak from the Software Center and use it to set your audio input and output devices from now on

Don't forget to scroll down in the window above, and enjoy!

And if you want to go back to PulseAudio:

systemctl --user unmask pulseaudio

systemctl --user --now enable pulseaudio.{socket,service}

reboot

Running pactl info again should now show "pulseaudio" by itself on the Server Name line.

2 Likes

Ah just noticed this post. If you ever want to try your internal bluetooth adapter again, see the new guide I used above