View previous topic :: View next topic |
Author |
Message |
truekaiser l33t


Joined: 05 Mar 2004 Posts: 810
|
Posted: Sun Feb 12, 2023 6:57 pm Post subject: Is pipewire worth it? |
|
|
I, rather late though, saw the news about pipewire, but all the information i find is that it's still highly in development and not 'stable'.
So am i missing something? the pulseaudio setup i have works fine but the gentoo mail says to run a mixed environment?
Is this going to be another python 3.6 situation where one is removed so quickly that un-resolvable @preserved-libs will persist due to no packages? |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 3998
|
Posted: Mon Feb 13, 2023 2:09 am Post subject: |
|
|
The only thing I've likely lost is the usability of media-sound/jack2.
I may be missing something in this respect...
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
 |
flexibeast Guru

Joined: 04 Apr 2022 Posts: 488 Location: Naarm/Melbourne, Australia
|
Posted: Mon Feb 13, 2023 4:29 am Post subject: Re: Is pipewire worth it? |
|
|
It has been for me. i've got an old Moshi burger speaker i've been trying to get to work with Bluetooth for ages; it never worked even vaguely with PulseAudio.
i set up PipeWire in a "play around and check it out a bit" sense, but i've ended up actually using it. From my perspective, it's already "a better Pulse than Pulse". The burger now works with mpd, without issues. It doesn't work for audio coming from Firefox for some reason; i've tried doing some research into why this might be (including reading possibly-relevant stuff on the Arch wiki), without success. By "doesn't work" i mean, it's extremely choppy, and even that output rapidly gets too quiet to be heard.
i've been working on the PipeWire wiki page to try to make it easier for people to transition from Pulse to PipeWire. Currently on my TODO list is to update the page to reflect this comment by u/ahferroin7's on r/gentoo. |
|
Back to top |
|
 |
Goverp Advocate


Joined: 07 Mar 2007 Posts: 2218
|
Posted: Mon Feb 13, 2023 9:08 am Post subject: Re: Is pipewire worth it? |
|
|
truekaiser wrote: | I, rather late though, saw the news about pipewire, but all the information i find is that it's still highly in development and not 'stable'.
So am i missing something? the pulseaudio setup i have works fine but the gentoo mail says to run a mixed environment?
... |
Are you asking "Is pipewire compulsary"? If so, the answer is NO - I'm "happily" (for certain values of "happy") running with just ALSA and pulseaudio. _________________ Greybeard |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 6252 Location: Dallas area
|
Posted: Mon Feb 13, 2023 10:20 am Post subject: |
|
|
I've been running pipewire/wireplumber for a couple of months now (previously straight alsa, no pulse)
and it's working well, it does require a little playing to get it tuned properly, but it's working fine now.
I haven't added either jack or pulse replacement, but from what I ran across when looking for tuning data, pulse seems to work fine
for many people with bluetooth working in pipewire for many that could never get it to work properly with pulseaudio. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
 |
Syl20 l33t


Joined: 04 Aug 2005 Posts: 621 Location: France
|
Posted: Sat Feb 18, 2023 10:28 am Post subject: |
|
|
Anon-E-moose wrote: | it does require a little playing to get it tuned properly, |
And, for me, that is the problem.
As far as I remember, I always had to "play" with my sound system. "Play" with bad-supported devices, "play" with .asoundrc, "play" with pulseaudio when Mozilla chose to force me to do it, and then "play" with pipewire/wireplumber/pulseaudio (which is still mandatory)... We are in 2023, and using a common 5.1 audio kit is still a PITA.
One common thing to all those softwares : the configuration files are awful. Such awful that, when my sound system does nearly what I expect it to do, I just want to forget them. Until the next new "revolution"...
Dear developers, if you want to reinvent the wheel, that's fine. But, pleeeeeeeaaaase, make it simpler. Really simpler. |
|
Back to top |
|
 |
arnvidr l33t


Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Sat Feb 18, 2023 2:19 pm Post subject: |
|
|
Still no need for pulseaudio for firefox, although it might require apulse, not sure.
I can't move to pipewire until it can completely replace jack, as I need that, but am I reading this thread right that I can experiment with using it for all those apps that play through ALSA? _________________
|
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 6252 Location: Dallas area
|
|
Back to top |
|
 |
Syl20 l33t


Joined: 04 Aug 2005 Posts: 621 Location: France
|
Posted: Sat Feb 18, 2023 6:51 pm Post subject: |
|
|
arnvidr wrote: | Still no need for pulseaudio for firefox, although it might require apulse, not sure. |
Anon-E-moose wrote: | Firefox needs either libpulse or apulse (cut down version of libpulse) for sound. |
When I switched to pulseaudio, the ALSA parts were still present. But not maintained anymore, and I had a bug with my sound card (a Creative X-fi USB) and the dmix module. So, either I switched to pulseaudio, or I couldn't use several audio sources at the same time, and, often, I had to close and reopen Firefox to watch the next video...
Apulse didn't work well, at this time.
For those who speak french : https://forums.gentoo.org/viewtopic-p-8049760-highlight-.html#8049760 |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20590
|
Posted: Sat Feb 18, 2023 7:53 pm Post subject: |
|
|
Anon-E-moose wrote: | I've been running pipewire/wireplumber for a couple of months now (previously straight alsa, no pulse)
and it's working well, it does require a little playing to get it tuned properly, but it's working fine now. | Regarding playing to get it tuned properly, is the "it" referring to pipewire, or the combination of pipewire and wireplumber? The last time I was paying attention to pipewire threads, i don't recall anything about wireplumber, so I'm still wondering how "stable" the *wire* ecosystem is.
I'm using alsa with apulse and have no issues, but I'm not doing anything with bluetooth. That said, I'm keeping an eye on how well the New Thing works so I'm semi-aware of what I'll need to do to migrate. What is the "playing" that you've had to do? Getting it to recognize devices properly, something else? Thanks. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 6252 Location: Dallas area
|
Posted: Sat Feb 18, 2023 8:28 pm Post subject: |
|
|
Yes the tuning is with pipewire & wireplumber (since I'm augmenting alsa).
I started with a general config for each and then starting fine tuning, parms, things needed, etc.
I've gotten the best sound by leaving pipewire's config alone, and modifying wireplumbers instead
since some of the stuff seems duplicated between them.
Most older threads about pipewire might mention pipewire-media instead of wireplumber, as wp replace pm server.
I can't speak to how robust the pipewire/wireplumber part is re. bluetooth as I haven't installed that part yet.
But most of the threads that I've looked at that mentions bluetooth stuff say it works well,
As far as device recognition, it didn't have a problem with my setup.
And even with pw/wp installed you can still go directly to alsa. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sat Feb 18, 2023 11:05 pm Post subject: |
|
|
I use ALSA. No Pulseaudio, no Pipewire. That's all I need. I'm happy with it.
Firefox still works with ALSA. apulse is not required. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20590
|
Posted: Sun Feb 19, 2023 2:14 am Post subject: |
|
|
@Anon-E-moose,
Thanks. I don't remember having to fiddle with Alsa to get it working, so that seems like a step backward with pipewire. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 6252 Location: Dallas area
|
Posted: Sun Feb 19, 2023 11:02 am Post subject: |
|
|
Alsa typically works in the default config, which uses the dmix mod, giving the ability for many sources to play (at once if desired)
but the sound quality needed tuning for me. I turned off dmix and just let sound pass straight through to the device without resampling/mixing/etc since I'm piping it to the stereo. This is all alsa. Although for many years I used ossv4 because of the better sound quality.
If one has not tuned alsa (default setup) then pipewire should just work the same.
The tuning is more for my preferences, all with dealing with sound quality.
Step backwards, step forward ... I guess it all depends on what ones needs are.
Edit to add: I'm not trying to push anyone in any particular direction, just giving my experieces based on the OP's question.
Pipewire is mature enough (for me), I haven't tried many of the features video, bluetooth, streams, etc but what I do use works well
and I (personal opinion) think that pipewire will replace both jack and pulseaudio, at least as far as the server aspect for many users
and it's the direction that things are heading. So I don't mind playing with it, in the early stages of it's life. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Last edited by Anon-E-moose on Sun Feb 19, 2023 11:11 am; edited 1 time in total |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9367
|
Posted: Sun Feb 19, 2023 11:08 am Post subject: |
|
|
I've got 1 DP and 4 different, dynamically (dis-)connected bluetooth devices. Try configure that without pipewire. |
|
Back to top |
|
 |
saellaven l33t

Joined: 23 Jul 2006 Posts: 655
|
Posted: Sun Feb 19, 2023 11:23 pm Post subject: |
|
|
In trying to play Rimworld, I couldn't get sound out of just ALSA. Despite having ALSA tuned to make my onboard audio the default device, Rimworld insisted on pushing it out to my non-existent HDMI speakers. I installed pipewire just to see if it would fix it, and the default install did.
Like others have stated, the configuration of audio on Linux is a nightmare (including pipewire) if you have to change anything from the default. I really miss the old days with my Sound Blaster (hardware mixing) with OSS drivers. It just worked. ALSA has been a mess from the start. _________________ Ryzen 3700X, Asus Prime X570-Pro, 64 GB DDR4 3200, GeForce GTX 1660 Super
openrc-0.17, ~vanilla-sources, ~nvidia-drivers, ~gcc |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20590
|
Posted: Mon Feb 20, 2023 4:22 am Post subject: |
|
|
Anon-E-moose wrote: | Alsa typically works in the default config, which uses the dmix mod, giving the ability for many sources to play (at once if desired)
but the sound quality needed tuning for me. I turned off dmix and just let sound pass straight through to the device without resampling/mixing/etc since I'm piping it to the stereo. This is all alsa. Although for many years I used ossv4 because of the better sound quality.
If one has not tuned alsa (default setup) then pipewire should just work the same.
The tuning is more for my preferences, all with dealing with sound quality.
Step backwards, step forward ... I guess it all depends on what ones needs are.
Edit to add: I'm not trying to push anyone in any particular direction, just giving my experieces based on the OP's question.
Pipewire is mature enough (for me), I haven't tried many of the features video, bluetooth, streams, etc but what I do use works well
and I (personal opinion) think that pipewire will replace both jack and pulseaudio, at least as far as the server aspect for many users
and it's the direction that things are heading. So I don't mind playing with it, in the early stages of it's life. | I too remained with OSS as long as I could. My first outing with Alsa did not go well. Eventually it worked, and on my current system I don't recall having to do anything. When pulseaudio was new, I recall problems with it too (I believe even the project acknowledged early stage software issues). It seems I managed to avoid that one entirely, so I'm trying to stay reasonably current with the state of pipewire so that if Alsa become abandonware, I'm not completely in the dark.
Bluetooth seems to be one of the primary drivers of migrating to pipewire, so at least I don't have that to worry about.
If the fiddling is optional, that's a good sign. I don't have anything against pipewire. I just don't have any reason to stop using Alsa, and I very much despise busy-work, which would be what migrating would be at this point. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 6252 Location: Dallas area
|
Posted: Mon Feb 20, 2023 10:37 am Post subject: |
|
|
Alsa won't go away, wireplumber uses alsa underneath it, and bluez for the bluetooth stuff.
And as I said, even with pipewire/wireplumber installed and even running you can still use alsa directly,
just don't try and use alsa and pipewire at the same time, since they don't know each others running state.
The good news is it's workable now, and should get better (more reliable, features, etc) in the future.
And if it works as claimed it should help to consolidate the audio part of linux. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20590
|
Posted: Mon Feb 20, 2023 8:46 pm Post subject: |
|
|
Hah! I'm sure the complexity soup is necessary, but yikes. When it comes to areas I know little or nothing about, I try to not break them :) _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
enhaced n00b


Joined: 10 Mar 2022 Posts: 26
|
Posted: Tue May 09, 2023 1:26 am Post subject: Re: Is pipewire worth it? |
|
|
truekaiser wrote: | I, rather late though, saw the news about pipewire, but all the information i find is that it's still highly in development and not 'stable'.
So am i missing something? the pulseaudio setup i have works fine but the gentoo mail says to run a mixed environment?
Is this going to be another python 3.6 situation where one is removed so quickly that un-resolvable @preserved-libs will persist due to no packages? |
Imo it depends, sure it can enhance your audio quality by A LOT, but there's a bunch of software which is just incompatible with PipeWire, so do your own research before trying it out... _________________ addict with a pen |
|
Back to top |
|
 |
stefan11111 l33t

Joined: 29 Jan 2023 Posts: 954 Location: Romania
|
Posted: Tue May 09, 2023 10:47 am Post subject: |
|
|
What does pipewire achieve that alsa doesn't?
Unless you have some program that only works with pipewire. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9367
|
Posted: Tue May 09, 2023 11:54 am Post subject: |
|
|
asturm wrote: | I've got 1 DP and 4 different, dynamically (dis-)connected bluetooth devices. Try configure that without pipewire. |
Also, global per-application volume adjustment.
Besides, screencasting. |
|
Back to top |
|
 |
gorg86 Guru


Joined: 20 May 2011 Posts: 324
|
Posted: Tue May 09, 2023 2:10 pm Post subject: |
|
|
I just accepted the fact that soundservers will never work properly on Linux, I keep an old crippled version of Pulseaudio on my system (v16.0 every useflag disabled, no daemon) because it's a hard dependency for Cinnamon. Once that package becomes too old and causes trouble in portage I will switch to XFCE and unmerge that crap completely. |
|
Back to top |
|
 |
stefan11111 l33t

Joined: 29 Jan 2023 Posts: 954 Location: Romania
|
Posted: Tue May 09, 2023 3:42 pm Post subject: |
|
|
gorg86 wrote: | I just accepted the fact that soundservers will never work properly on Linux, I keep an old crippled version of Pulseaudio on my system (v16.0 every useflag disabled, no daemon) because it's a hard dependency for Cinnamon. Once that package becomes too old and causes trouble in portage I will switch to XFCE and unmerge that crap completely. |
I don't use cinnamon, but can't you use package.provided to stop portage from complaining? _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
 |
gorg86 Guru


Joined: 20 May 2011 Posts: 324
|
Posted: Tue May 09, 2023 5:53 pm Post subject: |
|
|
I could do some hacky stuff, but I don't want to. Installing Cinnamon was a bad idea anyway. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|