Live data from Hacker News

PipeWire: A year in review and a look ahead

collabora.com

11–20 of 125 posts

Re: PipeWire: A year in review and a look ahead

#13
Still facing several bugs in pipewire/wireplumber on Alpine. Not entirely sure if I missed some configuration (it's a bit confusing) or just buggy, though I've def seen some other user reports with the same bugs as me. Probably going back to pulse to get working audio/bluetooth again.

Linux is a real trip, man. Bluetooth was introduced 24 years ago and we can still barely make it work. Seems to work on Windows, Android, Mac.

Re: PipeWire: A year in review and a look ahead

#14
post #9
post #7

I'm using pipewire and pipewire-pulse in void linux, and everything works perfectly.

Do Bluetooth devices also work perfectly? For me, BT works perfectly with PulseAudio. PipeWire is very satisfying for absolutely everything else, but BT devices just refuse to connect (and I'm inept at debugging BT issues).

For me, on several machines, the _only_ way I could get Bluetooth devices to connect, behave, and to use their high quality codecs was switching to PipeWire.

As it stands, between my desktop (Manjaro), laptop (NixOS/Ubuntu) and work laptop (Ubuntu 20.04), I have one single issue with Pipewire; on my work laptop if I have audio output set to HDMI (monitor speakers), when I plug in a wired headset to join a conference call it doesn't switch to the headset. If it's set to internal speakers first, it _does_ switch. So, if I have a conference call and I was using the monitor speakers, I have to jump into the Gnome sound control and switch to headset manually.

Re: PipeWire: A year in review and a look ahead

#17
post #12

Can anyone explain me like I'm five, why this major transition from PulseAudio to PipeWire is happening during the last year?

Pipewire was started by Wim Taymans, one of the gstreamer people. Originally it was supposed to allow video-streams in sandboxed environments like flatpak (and was known as "pulsevideo"), but then he noticed that it could be extended to do audio as well.

Since pulseaudio's architecture isn't well-suited to incorporate sandboxing, that project continued and it turned out that it could handle compatibility with both pulseaudio (the sound server for "consumerist" needs) and jack (the one for "pro audio" people where low latency is paramount).

You can even use programs like QJackCtl, which was written for Jack, to perform audio routing and stuff with pipewire!

So now, we have a sound server that

1. is much nicer to configure than pulseaudio

2. is compatible with sandboxing

3. is compatible with pulseaudio, jack and the older alsa APIs and features

4. is developed much more quickly than either of the others

See also https://fedoraproject.org/wiki/Changes/DefaultPipeWire

Re: PipeWire: A year in review and a look ahead

#18
post #9
post #7

I'm using pipewire and pipewire-pulse in void linux, and everything works perfectly.

Do Bluetooth devices also work perfectly? For me, BT works perfectly with PulseAudio. PipeWire is very satisfying for absolutely everything else, but BT devices just refuse to connect (and I'm inept at debugging BT issues).

0 issues with PipeWire and Bluetooth audio in my experience. Try setting `bluetoothd` logs to debug and look a bit on what's happening.

Re: PipeWire: A year in review and a look ahead

#19
post #12

Can anyone explain me like I'm five, why this major transition from PulseAudio to PipeWire is happening during the last year?

Pipewire has become more usable for audio during the last year.

Actual advantages of pipewire vs pulseaudio are not that obvious, but it should mostly be lower-latency, hopefully more stable, and more flexible (provide something like the old `jack` API where any stream can be plugged anywhere). Also, support for sandboxing (flatpak portals) is first-class, as one of the early design goals was to provide this for video.

Pipewire is also used in most places where wayland is, to provide screen sharing capabilities (now, if proprietary software could catch up... looking at zoom).

And lastly, pipewire should hopefully become one of the best APIs for accessing webcams and other video streaming devices in the future (allowing stuff like sharing a camera between multiple apps, simple sandboxing, middleware for compositing or video effects -- think background removal tools). Support is a bit sparse for now, but there's a LD_PRELOAD workaround for v4l2 interfaces.

Edit: also, pipewire gained support for nicer bluetooth codecs faster than pulseaudio did.

Re: PipeWire: A year in review and a look ahead

#20
post #2

I recently made the switch in NixOS and found it pretty painless. Can't get my mic to work in Firefox though, and the other day I was looking through the manual trying to figure out how to use my HDMI screen's speakers rather than the built-in one and couldn't find the right incantation. Sounds like such rough corner cases will be a thing of the past soon. Congrats to the dev team!

Sometimes, especially on intel platform, you need to configure the sound card to output HDMI audio instead of speakers/headphones. At least with pulseaudio (change sound card profile in pavucontrol's settings tab).
Post reply on HN