- cross-posted to:
- news@lemmy.linuxuserspace.show
- linucs ( @linucs@lemmy.ml ) 61•1 year ago
Pipewire is a true blessing for Linux
- Björn Tantau ( @bjoern_tantau@swg-empire.de ) 46•1 year ago
I’ve seen so many audio changes on Linux. But Pipewire is the first one without any negatives.
- Helix 🧬 ( @Helix@feddit.de ) English29•1 year ago
Yeah it’s basically Pulseaudio, but better. The devs have done a great job on iterating upon the already pretty good pulseaudio!
- gens ( @gens@programming.dev ) 6•1 year ago
It’s more like JACK for desktop. PA was never good, just obvious bad design.
- pinchcramp ( @pinchcramp@lemmy.dbzer0.com ) 45•1 year ago
Official Release Page for those who don’t want to read the Phoronix article: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/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
- Phanatik ( @Phanatik@kbin.social ) 40•1 year ago
Genuinely one of the best pieces of software that these heroes are giving away.
- Black616Angel ( @Black616Angel@feddit.de ) 11•1 year ago
Is there something like the banana voicemeeter for pipewire?
I am currently using Helvum, which is kinda lacking a lot of the functionality.
- ReversalHatchery ( @ReversalHatchery@beehaw.org ) 7•1 year ago
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- 7EP6vuI ( @7EP6vuI@feddit.de ) 4•1 year ago
Sadly cadence seems to be dead: https://github.com/falkTX/Cadence
- ReversalHatchery ( @ReversalHatchery@beehaw.org ) 1•1 year ago
Oh, that’s sad news. These are really great tools :(
- christophski ( @christophski@feddit.uk ) English2•1 year ago
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 ) 2•1 year ago
Pipewire exposes both a JACK and Pulseaudio client interface, so you don’t need to run the JACK daemon anymore.
- christophski ( @christophski@feddit.uk ) English1•1 year ago
Nice! So it completely replaces jackd/qjackctl? Can it sync transports?
- 2xsaiko ( @2xsaiko@discuss.tchncs.de ) 2•1 year ago
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 ( @christophski@feddit.uk ) English2•1 year ago
Cool, thanks for the info!
- Mactan ( @mactan@lemmy.ml ) 4•1 year ago
big fan of qpwgraph
- deur ( @deur@feddit.nl ) 2•1 year ago
I believe a problem you may encounter asking this question is the fact pipewire does most of that itself?
This is the best summary I could come up with:
It has finally happened: PipeWire 1.0 has been released as this now very common software to the Linux desktop for managing audio and video streams.
With time it’s proven to be a suitable replacement to the likes of PulseAudio and JACK while pushing forward the Linux desktop with its modern design and feature set.
PipeWire 1.0 delivers improved time reporting for less jitter in ALSA when using IRQ mode, various module fixes, Bluetooth LC3 codec and compatibility improvements, improved transport and time handling for JACK, optimized buffer re-use with JACK, and a variety of other improvements.
There isn’t anything fundamentally different about PipeWire 1.0 but was part of their plan for releasing 1.0 later in the year and finally moving past all the 0.3.xx releases.
PipeWire has proven itself stable and plenty reliable for Linux desktop uses.
Downloads and more details on the big PipeWire 1.0 release via FreeDesktop.org GitLab.
The original article contains 161 words, the summary contains 150 words. Saved 7%. I’m a bot and I’m open source!
- Joliflower ( @imgel@lemmy.ml ) 7•1 year ago
lets go
- WaterWaiver ( @WaterWaiver@aussie.zone ) English4•1 year ago
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.
[This comment has been deleted by an automated system]
- corsicanguppy ( @corsicanguppy@lemmy.ca ) 2•1 year ago
- 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.
- unce ( @unce@lemmy.dbzer0.com ) 3•1 year ago
Oh nice! I wonder if this will fix discord streaming audio?
- LiveLM ( @LiveLM@lemmy.zip ) English3•1 year ago
Nope. This will only be fixed when Discord gets their head out of their ass, unlikely to happen soon.
- WaterWaiver ( @WaterWaiver@aussie.zone ) English1•1 year ago
Can you describe the issue? I don’t use Discord (and I presume the problem might depend on what browser you use).
- peanutbutter_gas ( @peanutbutter_gas@lemm.ee ) 2•1 year ago
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 ( @WaterWaiver@aussie.zone ) English1•1 year ago
https://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?
- peanutbutter_gas ( @peanutbutter_gas@lemm.ee ) 1•9 months ago
Sorry for late reply. I just now noticed this.
The difference would be that a browser would likely have multiple web pages fighting for resources whereas the dedicated client would not have to fight over so many resources.
The OS has a dedicated task scheduler that alots cpu time to each process. Some processes get preferential treatment, but most processes started on user space ( i.e.double click UI icon) are just “normal” priority.
When a task scheduler hits on a process, that process can start executing whatever it needs to do. The problem with running discord in a browser is that the application is splitting its attention across multiple pages ( and probably other stuff ) instead of a single page.
Basically, it’s faster to focus on painting a single canvas than it is to painting 3 at the same time.
I’m not going to discuss shared memory and separate processes or forking. You can goggle search if you want to know more about that.
- WaterWaiver ( @WaterWaiver@aussie.zone ) English1•9 months ago
I am not so sure that it will end up faster or better.
**In theory: **A CPU scheduler should give programs as much CPU time as they want until you start nearing CPU resource saturation. Discord doesn’t need very large amounts of CPU (admittedly it’s a lot more than it should for a text chap app, but it’s still not diabolically bad). It will only start getting starved when you are highly utilising all cores. That can happen on my 2-core laptop, but I don’t have any games on my 6 core desktop that will eat everything. Nonetheless on my laptop I’d probably prefer my games take the resources (not Discord) and I’d happily suffer any reasonable drop in responsiveness of Discord as a result.
I don’t think that a new process (a new dedicated browser-client) instead of a new thread (tab in existing browser) is intrinsically faster or better. CPU schedulers are varied and complex, I wouldn’t be surprised if any differences in performance measurements would end up down in the noise. If anything the extra memory usage might cause more IO contention and memory starvation, making everything slower rather than faster. But this is all conjecture, so don’t give it much credit.
Basically, it’s faster to focus on painting a single canvas than it is to painting 3 at the same time.
I don’t think that’s much of a problem in practice, at least for Firefox: one tab can crash and stop rendering completely (or lock up 100% of 1 CPU core) but the others will keep going in other threads. For the most part they shouldn’t be able to affect each other’s performance.
In practice: What’s the actual metric that you think will be better or worse? I assume responsiveness to typing and clicks in the discord UI?
I’ve never seen discord lag or stutter from causes other than IO limitations (startup speed, network traffic, heavy IO on my machine) or silly design (having to refresh the page after leaving it open all day, I suspect it’s intentionally auto-disabling but I’m not sure). That’s not something that running a separate discord client in a separate dedicated/embedded browser will fix.
- unce ( @unce@lemmy.dbzer0.com ) 1•1 year ago
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.