• Re: Re: Switch default from PulseAudio to PipeWire (and WirePlumber) fo

    From =?utf-8?Q?Antoine_Beaupr=C3=A9?=@21:1/5 to Holger Levsen on Tue Sep 13 18:40:01 2022
    On Sat, 10 Sep 2022 12:17:23 +0000, Holger Levsen wrote:
    On Fri, Sep 09, 2022 at 09:38:39PM +0200, Michael Biebl wrote:
    Should we repeat this mistake? Or put this differently: is there a pressing need/compelling reason to switch to pipewire in bookworm?
    I.e. what I miss from the proposal are the benefits of pipewire over pulseaudio.
    Can you elaborate why you'd want to make the switch in bookworm?

    yes, I'm missing answers to these questions too.

    The most pressing reason to ship pipewire in bookworm is to have support
    for scrensharing in Wayland, from what I understand. I am not very
    familiar with that part, so I'll stop there, but that seems pretty huge already.

    For me, the killer feature is that pipewire adds jack-like capabilities
    to pulseaudio. This is really amazing: i've been able to use this to
    help people debug their audio setups in videoconferencing by piping
    their outputs into Ardour (or it could actually be any recorder!) and do accoustic analysis there.

    That would have been *much* harder to do: possible, but hard.

    I also have the feeling that pipewire has already gone beyond what
    pulseaudio is capable of in terms of Bluetooth support, but I might be
    mistaken on that.

    Personally, I'd rather see pipewire mature a little bit more before we make the switch.

    same here.

    I think the timing is ripe. Ubuntu and Fedora switched already, so we
    won't be the first guinea pigs. And if we *don't* switch now, it's going
    to take *years* to shake off those bugs.

    And you *know* that people (like me) are going to try pipewire again
    when bookworm comes out and then complain it "doesn't work in Debian",
    and they will (rightly so, IMHO) blame Debian for not making it work
    properly.

    This puts less pressure on you, as maintainer, and pipewire as upstream project.

    yes.

    Well I guess I'd defer to the maintainer and upstream on that, but I
    will point out that Pipewire maintainers *have* been careful about not introducing pipewire as a default in *bullseye* in the past. If they
    feel confident in doing so now, I would definitely trust their
    judgement.

    As for upstream, this is their response to this FAQ:

    https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/FAQ#is-pipewire-ready-yet

    Excerpt:

    | Is PipeWire Ready Yet?
    |
    | It is pretty much ready for most users. It has been used since Fedora
    | 27 (November 2017) for Wayland screen sharing and has been the default
    | audio server since Fedora 34 (April 2021).
    |
    | The API/ABI has been declared stable since version 0.3.
    |
    | The protocol can support older 0.2 version clients transparently. This
    | means that flatpaks with older PipeWire libraries can connect to a
    | newer daemon.

    I mean yeah, it's 0.3, but they have a stable API and they say it's
    "pretty much ready for most users". I wouldn't even put Pulseaudio in
    this category, because *many* users can't use it for their main task
    (e.g. all pro audio users will need jack or pipewire instead).

    So, you know, I think it might just be ready! :)

    My personal, completely anecdotal experience with this is that I had
    some issues running it in *bullseye*. I filed a bug report about ardour interoperability (#994208) and that is probably already fixed. I just
    need to test this in bookworm, which is why I'm interested in this
    discussion in the first place.

    Also note that enabling pipewire was kind of clunky in bullseye. I don't
    know if that improved since then, but that makes it so most users won't actually try it until it's made default. So there's an argument to be
    made here that we should switch the default, even if temporarily -- say
    in unstable for a while -- just to get our unstable users to try it out
    more, so we can get a feedback loop going there.

    The freeze is coming, we should do this now, and not in a year.

    a.
    a.
    --
    Premature optimization is the root of all evil
    - Donald Knuth

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Levsen@21:1/5 to All on Tue Sep 13 19:40:01 2022
    Thanks Antoine and Dylan for those two mails today, now I have a much better understanding of the reasons for switching!


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    Everyone is entitled to their own opinion, but not their own facts.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmMgvo4ACgkQCRq4Vgaa qhyd6A/+KuAfKiD3jAR+v9fdlAf4X3HRFwAg3wKCzT5GZ1yE7Z5Aqx1vicD/rKcQ IC0B1hTWqTcbr6qx6FtBOkd++tMwJueFYsJljji8bMeKZ0eRm2n18JQbCA4a8eaW OZlJwVi0NnN6zqejazOp5snDBAjONMJemdihLCdUTIMVhEYSKn/703VZ6pRlxb5G SnhnqVDd8N9sIlVsR9jQhtyZd2ioYdZnBimUljPNVxocESz2dMDrUSVBbjmogy/R 3t12T6+iB3ZZwVks39jA1kkBAQVwJOVBPGz0uSTiQ56n/bj1SmicVs6Ff09xxTji QHl72giovwdik8WLAk0wUbJ+r5s7BLfPc/Qx03SzpT1eiXE559y+gsRCz7TAXwPA L8rNY1ygm4kKNJuMNMV/pClZz5H74yj+mYGO3zJ1oGEdF3NDjSl34WswA2EY8BUG bmMzsSf1Tfup0nXgujQRQxUVMgF7aqtQcOfiNlM+hvPy2p+7NQXmVbQQzcsflseT q1DnP5prWVEcHUhP/JQbRQt/L7UUg8rWwphYjb4B026fQ/HE2usUmXOUqbvfdFAw djdHbX/YLyB8/p0QdsaJj3TA8AMKvIKxDqt6XT6ntVUI/
  • From =?UTF-8?Q?Lisandro_Dami=C3=A1n_Nica@21:1/5 to anarcat@orangeseeds.org on Thu Sep 29 00:40:01 2022
    Hi,

    On Tue, 13 Sept 2022 at 13:39, Antoine Beaupré <anarcat@orangeseeds.org> wrote:
    [snip]
    I also have the feeling that pipewire has already gone beyond what
    pulseaudio is capable of in terms of Bluetooth support, but I might be mistaken on that.

    Well, with pulseaudio I always needed to run the following each time I
    log into KDE in order to be able to pair with my devices:

    $ cat bin/restart_bluetooth.sh
    #!/bin/sh

    pulseaudio -k
    start-pulseaudio-x11
    sudo service bluetooth restart

    I have tried pipewire and I have the same issue, but this time
    restarting pipewire-pulse doesn't helps.

    Of course the root cause of this might be even deeper that that, but
    so far that's the only way I could make my BT devices to pair on my
    laptop :-/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)