this post was submitted on 04 Sep 2023
59 points (95.4% liked)

Linux

48149 readers
852 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

What are the main differences between pipewire and pulseaudio? Which one is better? What are other alternative popular sound servers besides these two?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 1 year ago (3 children)

Pipewire is much better than Pulseaudio, especially for pro audio work because of its low latency. Another popular option is JACK, which must be used in conjunction with Pulseaudio. Harder to set up, but is also great for pro audio. Some audio engineers were having issues with Pipewire when it first came out so they went back to using JACK, but I think Pipewire has improved. Pipewire has been flawless on my end.

If you're not in pro audio or any kind of multimedia work, it doesn't really matter and you can just stick with whatever comes pre-configured on your distro. But my vote goes to Pipewire as the best server for pretty much anyone.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

I have had some problems with PipeWire as JACK replacement, mostly it was some tearing artifacts that were very annoying. Recently though I learned how to use PipeWire (which is great for general desktop audio usage + works with Bluetooth really good) with JACK for pro-audio applications. By using the JACK DBus detect module it is possible to turn PipeWire into JACK client when ever the latter one is started.

So this way it is not required to use PulseAudio at all with JACK. There's also possibility to use PipeWire as JACK server because it also provides such API.

[–] [email protected] 4 points 1 year ago (1 children)

I’ve been running Pipewire in pro audio setup for my son and his band mates since the early days of the project. Granted I did run into some issues at first, but for a long time now it has been solid as a rock. With all of the plugins it is a joy to work with, no more Jack, Jack 2, Alsa, Pulse bridging and configuration nonsense, it all just ‘works’ now.

I would recommend it to anyone as a first option when setting up anything audio related on Linux now.

[–] [email protected] 1 points 1 year ago

I believe that PipeWire is really solid piece of software, but I couldn't just let go of JACK just yet. JACK just works and it's easy to modify important parameters like sample rate or buffer size. On PipeWire I still don't know how to quite do that, I get lost in all those configuration files, but I will get it someday.

Also one more thing that might be niche, but it's important for me is JACK timecode (for synching i.e. a DAW with video player) which PipeWire doesn't support at all at the moment. Getting it work on PipeWire (converting JACK timecode to LTC or MTC) gets ugly pretty quickly. So I'm glad PipeWire allows to use it however I like it, either as JACK server or client.

[–] [email protected] 2 points 1 year ago (1 children)

I think that's half true, Pulseaudio always was very buggy and a main reason for Linux bad reputation regarding none pro audio but most Distros switched already so if you use the default it will probably be Pipewire already.

[–] [email protected] 2 points 1 year ago

I don't even know why PA grew so much in the first place besides per-application volume control, unkept promises and straight lies.

[–] [email protected] 1 points 1 year ago

which must be used in conjunction with Pulseaudio

Why? Just why?

any kind of multimedia work, it doesn't really matter and you can just stick with whatever comes pre-configured on your distro. But my vote goes to Pipewire as the best server for pretty much anyone.

Or gaming. PulseAudio has insane latency. Use JACK or no server(that means use ALSA). Maybe Pipewire has tolerable latency, but I didn't test it myself.