MigratingtoLemmy,

Brilliant piece of software

WaterWaiver,

I’ve been using PipeWire this year on my Void Linux laptop & desktop. It’s been mostly OK but has a few problems. For years I have been using plain ALSA (with no custom configuration) because pulseaudio causes me regular issues across multiple machines (mostly silently failing).

Pros:

  • I don’t have to use Chromium for my mic to work on online video conf (WTF Firefox)
  • “EasyEffects” lets me quickly fix crappy youtube audio (bad gain normalisation, way too much sibilance) with a minimum of effort.

Cons:

  • Sometimes breaks all audio until I manually restart it (hey, just like pulseaudio. This problem never happens when using ALSA straight)
  • First time setup is complicated, involving environment variables, dbus user session buses and multiple daemons (running just pipewire isn’t enough). Why can’t it handle this all itself? Surely it should notice if these things are missing and just fix it itself? Compare this to straight ALSA where you (1) do nothing and then (2) everything works (except Firefox mic support)
  • I can’t have multiple audio outputs all unmuted at the same time. Eg my headphone output and my rear speaker output. If I override this (using alsamixer) then it gets forgotten next boot anyway, it seems to be out of scope of PipeWire’s understanding.
corsicanguppy,
  • Sometimes breaks all audio until I manually restart it (hey, just like pulseaudio. This problem never happens when using ALSA straight)

Well, how much lennart is in this thing? Not only can that predict how well it’s going to work, but also how soon it’ll be fixed, how responsive the ‘team’ will be to bug reports, how compatible it’ll be with other system components AND whether ‘compatibility’ will be achieved before the entire OS has been systematically imported into (and badly replicated by) the project.

Auzy, (edited )

I don’t think honestly he gets enough credit.

If you check SystemD, its a HUGE step up, which is why everyone is using it now (whereas, the old scripts had race conditions, were a pain to write and other issues). Anyone who has written both can tell you how much better things are now…

The fact this issue is happening on both Pipewire and Pulseaudio also suggests it’s more likely a bug in the drivers… It might not be obvious on ALSA directly, but that doesn’t mean an issue doesn’t exist there…

And honestly, the situation before PulseAudio was awful. Audio not working was a common issue, and low latency audio was the least of anyone’s problems. Whereas, these days, because of Pulseaudio, even gaming is a thing now (back then, I even saw issues on tuxracer, and Unreal tournament back in the days).

In regards to setup, most distributions will handle that anyway I’m guessing. So not sure why the configuration process should matter unless you’re in Arch or Slackware? As long as the distribution handles it, it shouldn’t matter. It’d really a non-issue honestly.

I do a lot of middleware development and we’re regularly blamed by users for bugs/problems upstream too (which is why we’ve now added a huge amount of enduser diagnostics/metrics in our products which has made it more obvious the issues aren’t related to us). In practice, very few people have issues with Pulseaudio (I haven’t seen issues since launch). Sometimes as well, keep in mind it can be the sound interface (especially if its USB)

WaterWaiver,

If you check SystemD, its a HUGE step up, which is why everyone is using it now

I think that’s a “winners write history” situation. There were other options at the time that might have been better choices. Everyone uses it now because of Redhat and Debian being upstream to most users, desktop and corporate. I was not surprised by Redhat adopting it (it’s their own product) but Debian was quite the shock.

Yes systemd is definitely a step up from traditional initscripts (oh god). In terms of simplicity, reliability and ease of configuration however it’s a step below other options (like runit). I don’t have distro management experience but, given the problems I’ve encountered with different init systems over the years, I suspect there would be less of a maintenance burden with the other options.

WaterWaiver,

I’m very curious about the downvotes to this one. May I ask people’s thoughts? Perhaps I’m too vague? I can put a bigger story about my experiences with various init systems in production & research if people are interested.

WaterWaiver, (edited )

The fact this issue is happening on both Pipewire and Pulseaudio also suggests it’s more likely a bug in the drivers… It might not be obvious on ALSA directly, but that doesn’t mean an issue doesn’t exist there…

I probably made the overlap unclear, sorry:

  • Pipewire issues: My 2023 desktop and 2016 laptop, very different hardware.
  • Pulseaudio issues: All of my pre-2023 desktops and several family laptops

I do a lot of middleware development and we’re regularly blamed by users for bugs/problems upstream too (which is why we’ve now added a huge amount of enduser diagnostics/metrics in our products which has made it more obvious the issues aren’t related to us).

Eep, that’s annoying. You also probably don’t have direct interaction with the users most of the time (they’re not your customer) which makes this worse, people in a vacuum follow each other’s stories.

In practice, very few people have issues with Pulseaudio (I haven’t seen issues since launch). Sometimes as well, keep in mind it can be the sound interface (especially if its USB)

There might be a bias here because these problems are not persistent, ie a reboot fixes them.

In regards to setup, most distributions will handle that anyway I’m guessing. So not sure why the configuration process should matter unless you’re in Arch or Slackware? As long as the distribution handles it, it shouldn’t matter. It’d really a non-issue honestly.

That’s potentially more things different distros can do differently and more issues your middleware will start getting blamed for.

Yes it’s not a problem for user-friendly distros, but why does the user friendliness problem exist anywhere anyway? It’s better to fix problems upstream, not downstream.

unce,

Oh nice! I wonder if this will fix discord streaming audio?

WaterWaiver,

Can you describe the issue? I don’t use Discord (and I presume the problem might depend on what browser you use).

Clever_Clover,
@Clever_Clover@hexbear.net avatar

on discord on linux you can’t screenshare with desktop audio, I think this might be already fixed in newer electron versions (but discord is closed source and has not updated their electron in a long time)

WaterWaiver,

That absolutely sucks :| Thankyou for the detail.

mackwinston,

As a workaround, you could use OBS and use OBS’s virtual camera so Discord is streaming what it thinks is a camera, and set up whatever you want to share on your desktop through OBS.

peanutbutter_gas,

I’m assuming this is a “dedicated app” (i.e. apt install discord). I was capable of streaming the video, but sound was a different beast. Audio streaming on discord was a no go. I was finally able to do it with pipewire and using discord-screenaudio

WaterWaiver,

github.com/maltejur/discord-screenaudio

A custom discord client that supports streaming with audio on Linux

Jaysus, I wish this were a world where stuff like that wasn’t necessary.

Uneducated question: what’s the benefit of a dedicated client over running it in a normal browser?

unce,

I have discord installed from the flatpak. Screen sharing works but it doesn’t share audio from the applications. Discord-screenaudio and web browser discord have been suggested to me but they don’t work with unfocused push to talk. I’ve also tried xwaylandvideobridge but that didn’t stream the audio either.

LiveLM,

Nope. This will only be fixed when Discord gets their head out of their ass, unlikely to happen soon.

bruhduh,
@bruhduh@lemmy.world avatar

Hol up, 1.0? I’ve been using it and thought it was around for few years already

waigl,

In F/OSS, it is not unusual for software to stay below 1.0 version for a long time yet still get a lot of use. Just look at how long OpenSSL, for example, was at 0.9.something, while already being of crucial importance to a lot of internet infrastructure.

The reasons for this are varied, but the most important is probably simply that free software developers don’t feel the pressure to call a product 1.0 when they don’t believe it is ready to be called that.

imgel,

lets go

waigl,

Pipewire makes me feel like I’m a bit stupid. I keep reading about it, I read the introduction and FAQ on their website, yet I still couldn’t tell you what that thing even does. All I know is it’s a slightly less buggy drop-in replacement for pulseaudio, and pulseaudio is something I use because Firefox forces me to. (I would still be on plain old ALSA if it weren’t for Firefox.)

Also, it definitely did not “just work” for me out of the box, I had to do quite some digging and some very non-obvious stuff to get it to a) start up and b) let me use my microphone. I still don’t even know what “starting up” really means for pipewire (is there a daemon or something?), the website likes to pretend that isn’t a thing, but without doing some stuff to start it up, audio just won’t work for pulseaudio and pipewire applications…

flying_sheep,
@flying_sheep@lemmy.ml avatar

The Arch wiki made installing it very painless for me. Zero problems. Install it, remove PA, activate systemd service.

4am,

btw

threegnomes,

you can install pipewire directly from archinstall now

Holzkohlen,
@Holzkohlen@feddit.de avatar

I hope the garuda linux devs found it as easy as you. Wish they would disable the 5 second standby timer by default, but I’ll manage.

bjoern_tantau,
@bjoern_tantau@swg-empire.de avatar

I’ve seen so many audio changes on Linux. But Pipewire is the first one without any negatives.

TheGrandNagus,

For a long time, people shat all over pipewire and said it wasn’t viable as a replacement for the existing Linux audio stack, but clearly that hasn’t ended up being the case

flying_sheep,
@flying_sheep@lemmy.ml avatar

I’ve heard nothing but good, and replacing Pulseaudio was painless. It was Pulseaudio that people hated on in my experience

Supermariofan67,

When it was brand new there were some edge case bugs that broke on certain workflows and hardware, but that’s pretty much entirely fixed now and I’m guessing for a long time now it’s been more universally stable than pulseaudio was.

Also, some people just pointlessly dislike anything that’s new, or because it breaks their spacebar heating

Black616Angel,

Is there something like the banana voicemeeter for pipewire?

I am currently using Helvum, which is kinda lacking a lot of the functionality.

ReversalHatchery,

I was experimenting with the Cadence tools from KXStudio. These are mostly made for JACK, but PipeWire has a JACK interface so it should work. It’s similar to helvum, but with more options.
Not sure right now which one (maybe Carla), but one of these programs also support adding sound effect nodes that have their own GUI! You probably want to use it in multi-client or patchbay mode

christophski,

My audio set up is using jack on Ubuntu. If I were to start using pipewire, does it replace jack? Or do you use it alongside jack? I use mostly ardour, hydrogen, renoise and bitwig.

2xsaiko,
@2xsaiko@discuss.tchncs.de avatar

Pipewire exposes both a JACK and Pulseaudio client interface, so you don’t need to run the JACK daemon anymore.

christophski,

Nice! So it completely replaces jackd/qjackctl? Can it sync transports?

2xsaiko,
@2xsaiko@discuss.tchncs.de avatar

qjackctl will actually connect to pipewire, I use its graph window a lot to route audio when the default volume control isn’t enough. But yeah it does (or can) replace jackd.

Can it sync transports?

I’m not sure, I’m not a pro audio user. Sorry!

christophski,

Cool, thanks for the info!

7EP6vuI,

Sadly cadence seems to be dead: github.com/falkTX/Cadence

ReversalHatchery,

Oh, that’s sad news. These are really great tools :(

mactan,

big fan of qpwgraph

deur,

I believe a problem you may encounter asking this question is the fact pipewire does most of that itself?

Phanatik,

Genuinely one of the best pieces of software that these heroes are giving away.

linucs,

Pipewire is a true blessing for Linux

pinchcramp,
@pinchcramp@lemmy.dbzer0.com avatar

Official Release Page for those who don’t want to read the Phoronix article: gitlab.freedesktop.org/pipewire/pipewire/…/1.0.0

It’s great to see that Pipewire has reached this milestone. Personally I’ve been using it since 0.3.35 for very basic audio needs and it’s been a very smooth transition. After installation I never had to tinker with it anymore. “It just works”^TM^

Deckweiss,

I had to do some tinkering way back to make my bluetooth earplugs be recognized as an audio device.

Not sure if that is still needed today

onion,

No

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines