News for hackers. Stuff that matters.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by alfalfasprout on Tuesday July 05, 2022 @02:26PM (#31991888)
He can easily hop ship wherever he wants given the major impact he's landed in PulseAudio, Systemd and elsewhere. His design decisions have certainly been controversial but his impact is certainly agreed upon.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by gnulinux on Tuesday July 05, 2022 @03:38PM (#31992713)
I've been using linux for decades and by far -- by a HUGE margin -- PulseAudio has been the most annoying and broken thing I had to use. I'm still baffled by how something as basic as audio output can be eternally fragile in linux! And before you say you might have quirky hardware: my daily laptop is a Lenovo X1 Carbon 7th gen.

Now (since 2021) I use PipeWire and tbh do not know to what extent pulseaudio codebase is still utilized in my system but it all just works now.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by zerocrates on Tuesday July 05, 2022 @04:11PM (#31993074)
I'm also using and happy with Pipewire but I can't remember the last time I had a PulseAudio issue, across many systems.

My recollections of Linux audio issues are more from the days when one thing might want to use OSS and another ALSA and you might have to fiddle around and enable software mixing in some ALSA configuration files to get non-exclusive sound to work. And then some issues right around when Pulse first started to be a thing. But really it's been a "Just Works" for me for years and years.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by deathanatos on Tuesday July 05, 2022 @04:56PM (#31993588)
Yeah, same; I can't help but think there is a vocal minority in these threads that thinks Pulse is broken.

I use Pulse for some pretty complicated stuff, too; I'll pipe individual streams to my speakers, if I want to show something to my SO (e.g., a reddit video) but want to keep, like, my music or my backgrounded game on the headset. I can do that with PA, and honestly pretty easily. AFAIK, no other system supports that, though admittedly I haven't used Windows in some time.

Far more complicated, I also have TTS bot I use in Discord sometimes, when I can't speak. PA allows me to push that into Discord; this is another thing I don't even begin to know how to set up on other systems. (The bot emits sound, so it's like a program playing sound, not a recording device. Discord thus doesn't recognize it as such. So I end up creating a fake input device, of sorts, and wiring the bot's output to that fake output (so it goes to Discord) but also to my own headset, so I can also hear the bot, as the TTS is far from perfect and will sometimes just make hilarious garbage of words.)

I also use Bluetooth, and that usually works. It certainly works more reliably with PA on Linux than it does w/ macOS, though it is my no means flawless. But that seems to be how bluetooth is: it sucks on every OS. There will be days it won't connect to Linux, and there will be days it won't connect to macOS.

I will say that Pipewire looks like it more solidly hits the nail: the thing I don't like is that PA doesn't really model audio as a graph of nodes. (PA's model is equivalent to a graph of nodes, but that it isn't just a graph of nodes makes it a lot harder to deal with and intuit.) For that reason I'm excited about Pipewire; I need to try it one of these days. PA would also be served by a better API; it is difficult to script against.

Also, systemd units are hands-down a more solidly engineered thing than the mess of shell scripts they replaced. I will take systemd+journald any. day. of. the. week. People that … want shell back — I honestly can't comprehend this. I've literally not had to deal for years now with a service wedging itself in because some daemon orphaned itself somehow between some unreliable mess of shell, pidfiles, and other hacks. Is systemd/journald perfect? No, I've spent time fighting it too. But it's a lot more productive than what came before, and the design is engineered to solve the problem at hand… which the shell mess was not.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by blooalien on Tuesday July 05, 2022 @08:13PM (#31995304)
For me Pulse was brutally broken for the longest time. Bit by bit most of the various glitches did get worked out, but the "pain points" of that process did leave me a bit bitter over how Pulse was really kinda "forced" on us long before it was "ready for prime time". Same with systemd, and same with the KDE3⇒KDE4 transition. All pushed too hard for widespread adoption too early in their development, while many of the worst bugs were still commonplace occurrences in daily usage.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by atoav on Tuesday July 05, 2022 @05:17PM (#31993821)
Ever used a soundcard with more than two inputs and more than two outputs? Or better: that soundcard while also outputing audio via HDMI?

PA is ok if you use consumer software for consumer tasks. As soon as you go into the production side of things (or even do it live and/or for money) things can fall appart pretty quickly.

The vocal PA critics I know don't even complain about the way pulseaudio does things. They complain about the persistent problems this widely deployed piece of software still has after years in the field. And some of those problems are of conceptual nature.

I don't Pöttering really deserves the heat he gets (no dev would), but I sometimes wish that type of (usually male) programmer would just sometimes stay with the trouble and not ride of into the sunshine when things aren't a beautiful fresh sheet of white paper anymore, but a tangled mess.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by deathanatos on Thursday July 07, 2022 @02:03PM (#32017294)
Yes to both. My laptop has HDMI & TRS out. AFAIK, the soundcard is not capable of emitting to both HDMI & the TRS port simultaneously, but it's also not something I've ever wanted to do, so I'll admit that the limit of my use case there.

(I'll use a bluetooth headphone, if I want audio while pushing something to HDMI. Though I could see using TRS headphones being a nice to have, and I honestly don't know how to configure that, or if it is even possible, since it's all represented as one card in PA.)

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by blooalien on Tuesday July 05, 2022 @08:16PM (#31995333)
While I'm no fan of Pöttering, I can certainly understand wanting to maybe "ride off into the sunshine" when the vast majority of humanity these days is more willing to tear down their fellow humans than they are to suggest or help with any sort of actual solution to any given problem. Makes even trying feel more than a little pointless.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by esarbe on Tuesday July 05, 2022 @03:49PM (#31992833)
> I'm still baffled by how something as basic as audio output can be eternally fragile in linux

Yeah, broken drivers.

You see, before pulseaudio came along, audio drivers were barely used and needed to be tuned for each use case. Most drivers barely implemented ALSA, almost none correctly. If you wanted fancy features (say; software input mixing, so that more than just one application can actually output sound) you needed to invest a lot of time.

By making all these fancy features (and more) more easily available, pulseaudio exposed all these bugs in the drivers.

And of course it got flak for that because the first software layer the user is confronted with is blamed if something's not working.

But actually - just as systemd - pulseaudio is a marvelous piece of code. That today we can get to an even higher level with PipeWire is to large degrees only possible because of pulseaudio.

Lennart Poettering is one of the most creative and influential system-space developers that Linux has. It's a shame that he's so maltreated by the peanut gallery.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by makomk on Tuesday July 05, 2022 @05:03PM (#31993662)
Enabling software audio mixing with ALSA required copying and pasting a small handful of lines into your ALSA config file and just worked. Most of PulseAudio's hardware problems were caused by it having weird and unnecessary expectations, like wanting to know the exact sample being played by the hardware or expecting analog volume controls to have perfectly accurate gain and glitch-free volume changes.

PulseAudio also had pretty awful code quality in general. For example, I ran into a crash where the resampling code was trampling past the end of the buffer and it turned out that every stage of the audio conversion process - resampling, channel conversion, and so on - made assumptions about where it was in the process and what sample rate, buffer size, channel count etc it should have on its input and output based on members of a shared struct that were used by multiple stages in different ways. At some point the developers had accepted a patch which changed this order without fixing half the resamplers - and which said it was incomplete in the commit message - and this had somehow made it into the release I was using. One of the unfixed resamplers was the one used for VU meters in mixer apps, because that was implemented as a resampler for some reason. Also, all of this code had basically zero comments. Oh, and reverting the patch didn't even fix the crashes for me so presumably there was some other problem somewhere. Oh, and on top of that there were no stable bugfix-only releases of PulseAudio, so even if it did get fixed upstream it'd come with a bunch of new non-bugfix changes with the same level of quality and scrutiny.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by esarbe on Wednesday July 06, 2022 @05:34AM (#31998663)
> expecting analog volume controls to have perfectly accurate gain and glitch-free volume changes.

Why would it be weird or unnecessary to expect that?

Besides; that's a nice anecdote! Thanks for sharing!

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by int_19h on Tuesday July 05, 2022 @04:49PM (#31993513)
The irony is that during that same time, FreeBSD somehow offered sound working out of the box, complete with input mixing, and without anything like ALSA.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by gnulinux on Tuesday July 05, 2022 @11:42PM (#31996437)
This is factually false in my case since ALSA alone has always been fine, no issues. And since I switched (with the same hardware) pipewire also works just fine. But pulseaudio (pa+alsa ofc) is just simply broken on my archlinux install.

EDIT: also when pulseaudio breaks you just do `pulseaudio --kill ; pulseaudio --start` Does this really reset the hardware/firmware? I doubt it; it's just configured poorly for my hardware why is that hard to believe?

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by esarbe on Wednesday July 06, 2022 @05:35AM (#31998671)
> Does this really reset the hardware/firmware?

No, but it can release resources and that in turn can cause the driver to reset in part.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by greatgib on Tuesday July 05, 2022 @07:02PM (#31994802)
It is probably the driver that leads to have pulse audio use 10% of the CPU of a quadcore when doing nothing / not playing any media?

Also, probably the driver that regularly confuse it's inputs and outputs settings...

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @03:56PM (#31992922)
Driver issues, right.. is that why my archived shell histories have hundreds if not thousands of entries for `pulseaudio --kill ; puslseaudio --start` ? Does restarting the userland sound daemon reset the drivers operating in kernel space? How would that work?
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by ElectricalUnion on Tuesday July 05, 2022 @04:47PM (#31993491)
Driver issues can sometimes manifest as kernel exposed API interfaces blocking/using too much CPU in stupid ways/freezing when they should not; killing the "offending" userland program using those APIs will often end up releasing the resources acquired by invoking them.

Linux might be a monolithic kernel, but it's not like the entire kernel with all it's features/modules need to be loaded all at once.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by mixedCase on Tuesday July 05, 2022 @04:24PM (#31993234)
Have never used those APIs, but I would assume it'd happen if drivers fail to implement basic API promises and PulseAudio doesn't code defensively against those kind of bugs.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by vintermann on Tuesday July 05, 2022 @04:42PM (#31993436)
If drivers fail that disastrously to implement the APIs they say they implement, how did they end up in distributors' kernel trees?
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by ElectricalUnion on Tuesday July 05, 2022 @04:49PM (#31993512)
They were deemed "good enough" when all you were using was basic, simple OSS. Not when you're attempting to use all the capabilities of ALSA.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Wednesday July 06, 2022 @02:25PM (#32004841)
> PulseAudio doesn't code defensively against those kind of bugs.

That's a reoccurring pattern across Lennart software. He gets an idea of the way things should work, maybe from the spec or maybe just from his own subjective biases, and has his software expect things to work that way and fail when it doesn't. Every time, he'll say it's the other guys fault. Sometimes his software even fails unsafe and he still blames everybody else.

The '0day' username bug in systemd exemplifies this. Lennart decided that usernames beginning with numbers weren't valid, even though Linux permits it. Systemd was found to run service files with User=0day specified as root instead, not as the user 0day. To Lennart this was not a bug because in his subjective opinion the rest of the system was in error for permitting a username beginning with a number. Even if he were right that usernames beginning with numbers shouldn't be valid, the mere fact that they can occur is reason enough to code defensively around it. At the very least systemd could fail safe when it encounters such an 'invalid' username. But no, he thought there was nothing wrong with failing-to-root. It was everybody else's fault, of course.

https://lwn.net/Articles/727490/

https://github.com/systemd/systemd/issues/6237#issuecomment-...

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by corrral on Tuesday July 05, 2022 @03:43PM (#31992768)
Ubuntu's adoption of it was what pushed me away from Desktop Linux, after about a decade of being mainly a Linux user. Suddenly the one thing that had actually Just Worked for almost that entire decade, became unstable, unpredictable, and, to add insult to injury, ate tons of memory and processor cycles for unclear and likely unjustifiable reasons.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by kaba0 on Wednesday July 06, 2022 @02:07PM (#32004638)
I’m sorry but I really can’t take any such take seriously. If you mean alsa, it may have worked (though let’s be honest, there was a painstakingly high amount of sound hardware that simply wasn’t supported well for decades, which was fixed over a similar timeline. “Linux sound bad” memes have been around way before PA became a thing), but the thing is, it is not adequate in itself for a typical desktop usecase, simple as that.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by blooalien on Tuesday July 05, 2022 @08:08PM (#31995283)
PipeWire has been increasingly beneficial to my usage of audio on Linux as time passes as well. Each update seems to fade it a little more into the background so I simply need not worry about it. Audio just does the expected thing for me these days, without fiddling or "hackery" required to make it so. It's also nice no longer having to worry about whether a particular bit of audio software is for Pulse, ALSA, or Jack. They all just work.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by jacquesm on Tuesday July 05, 2022 @03:48PM (#31992815)
The only way Pulseaudio is palatable is by using the Pulseaudio sink in Jack.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by sam_lowry_ on Tuesday July 05, 2022 @04:17PM (#31993158)
I settled on alsa and dmix as the ultimate solutuon.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by jacquesm on Tuesday July 05, 2022 @04:19PM (#31993170)
That works as long as you are not too concerned about latency, but it is a bit easier to set up than Jack. Though Ubuntu Studio takes most of the sting out of it.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by traverseda on Tuesday July 05, 2022 @02:31PM (#31991942)
I think that Redhat gave him a privileged position to make that impact from, and I'm not sure that he'll make a similar impact without similar political backing, but I suppose time will tell.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by darthrupert on Tuesday July 05, 2022 @03:47PM (#31992813)
It's a fact of life that people get old and thus become less effective at making great changes. I cannot think of many counter-examples from our field.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @03:58PM (#31992944)
Sickboy's Philosophy of Life. We all get old and cannae hack it anymore.

https://www.youtube.com/watch?v=a94jraWNG-g

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by zh3 on Tuesday July 05, 2022 @03:01PM (#31992302)
Eh, Pulseaudio. One of those things that on the rare occasion it's worked out of the box it's then broken with one step of the beaten path.

Evidently it seems to work for many people, the trouble it's caused has far outweighed any benefit (plus I know quite a few people dropped firefox for chrome when it went pulseaudio only - is that still the case?).

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by klodolph on Tuesday July 05, 2022 @03:19PM (#31992515)
I don't know what kind of audio configurations you've lived with.

I do remember when PulseAudio seemed to be the source of many problems, but this was over a decade ago.

One of the big problems is that the Linux audio stack is built out of components that rely on assumptions about the next lower level of the stack that are often untrue. You might assume that your audio hardware has a volume control, assume it can perform mixing, assume it doesn't change configuration, assume there's only one user, assume (or want to assume) it has a specific sample rate, etc. PulseAudio papers over this stuff and deals with permissions, so your applications can actually work.

If you have sufficiently boring PC hardware and sufficiently boring use cases, the audio will just kind of work anyway, without PulseAudio.

Linux audio has more than its fair share of problems in the stack, but in my experience, PulseAudio is more of a solver of problems and less of a source of problems.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by zh3 on Tuesday July 05, 2022 @04:12PM (#31993091)
Stock Asus motherboards with on-board (Realtek, IIRC) audio (I tried aftermarket cards, though mostly after giving up on PulseAudio).

Separately the company I worked for ditched it as well due to the issues, to be fair though in tnat case since they only needed a single - reliable - audio output so there was no case of PA anyway.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by mschuster91 on Tuesday July 05, 2022 @04:27PM (#31993266)
Yea that is because anything Realtek is an utterly brain-dead piece of crap and "quirks", and that on Windows. On Linux it's even more pain, mostly because OEMs don't bother to release the specific quirks their specialized Windows driver fork had applied. Don't even want to know how many Windows systems ship with outdated, possibly insecure Realtek drivers because the OEM long since stopped backporting fixes.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by zh3 on Tuesday July 05, 2022 @04:43PM (#31993447)
I appreciate that Realtek can be an issue, but on a few PCs they works solidly with Alsa so seems unlikely it's the kernel driver (restarting pulseaudio would bring it back, at least for a while). So it seems to me the issues are very much with Pulseaudio (rather than with the kernel).
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by mschuster91 on Wednesday July 06, 2022 @07:14AM (#31999300)
Alternatively, Pulseaudio could be exercising different code paths in Realtek's firmware that Alsa doesn't trigger. With Realtek, all bets are open...
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @03:42PM (#31992757)
> If you have sufficiently boring PC hardware and sufficiently boring use cases, the audio will just kind of work anyway, without PulseAudio.

Introducing breakage, complexity and general fragility to the common case, which was previously working fine, will obviously make a whole lot of people upset.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by vetinari on Tuesday July 05, 2022 @03:53PM (#31992886)
Audio in Linux before PA certainly wasn't working fine. Turning off your mp3 player and restarting your browser, because you want to play youtube via flash plugin? Sorry, but that's not fine.

I had my share of hardware, and PA had problem with only one piece (a nettop with Nvidia Ion2, audio via hdmi). It turned out that the hardware couldn't really play 44,1 kHz audio, it's clock was too unreliable and resulted in drop outs. PA couldn't fix the hardware, but could resample everything to 48 kHz on CPU, and with that there was no playback problem.

So yes, it exposed problems, and it forced to fix them. We are all better off today for that.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by TylerE on Tuesday July 05, 2022 @04:05PM (#31993020)
By far the best sound experience I've ever had on *nix was FreeBSD's fork of OSS. Dead simple API.. the /dev/dsp device had software multiplexing so multiple apps was no problem.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by sam_lowry_ on Tuesday July 05, 2022 @04:20PM (#31993189)
Alsa has it via dmix although not as the defaut. Probably because Lennaert.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by Crysstalis on Tuesday July 05, 2022 @04:06PM (#31993034)
Computer users are continually upset about a lot of things. That's just the way it is. If you work in the industry then that should make you happy, it means you will always be employed.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by esarbe on Tuesday July 05, 2022 @03:51PM (#31992847)
Linux audio was never working fine. It was a mess of broken drivers and incompatible implementations.

I cannot fathom how people are able to repress the memory of how bad Linux audio was before pulseaudio.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @03:52PM (#31992862)
I never experienced any trouble with audio in linux before pulseaudio. There is no memory repression here; only gaslighting from you, telling me I experienced something I didn't.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by esarbe on Tuesday July 05, 2022 @04:14PM (#31993119)
> only gaslighting from you, telling me I experienced something I didn't.

Oh dear.. I'm not going to comment on that. I don't think it's productive.

> I never experienced any trouble with audio

I refer to stuff alsa drivers reporting wrong values[0] or cards being locked to a specific rate [1]

Before pulseaudio only one application could access the sound card. And alsa-mixer was broken half of the time. The list of defects goes on and on. Configuration relied on different settings of also that needed to be tuned for each driver separately. Getting sound to work on Linux was not a fun place to be.[2]

Pulseaudio exposed all these problems using a unified interface and forced "us" to fix these bugs.

[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/410887

[1] https://lore.kernel.org/all/1034325263.474.37.camel@diesel/T...

[2] https://www.techrepublic.com/article/configuring-linux-sound...

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by welterde on Wednesday July 06, 2022 @03:35PM (#32005726)
> Before pulseaudio only one application could access the sound card.

That's only true if the sound card has no hardware mixing support (or very limited number of streams, where it would suddenly break after a certain number of applications) _and_ the alsa setup didn't include dmix (software mixing).

Not sure what problems you had with alsamixer, for me it always worked (but maybe I never tried anything sufficiently fancy for it to break).

But I am with the previous poster on this. I have had way more problems with pulseaudio than without. Also it's not only alsa drivers that can be at fault here, but pulseaudio also consults other hardware databases which alsa does not use, which can contain mistakes that can make pulseaudio unusable (had that issue not even a month ago with an external usb sound card).

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Wednesday July 06, 2022 @03:16PM (#32005484)
> Oh dear.. I'm not going to comment on that. I don't think it's productive.

It's simple: Don't tell other people what they did or didn't experience. If you don't understand that, then you aren't worth talking to.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by Crysstalis on Tuesday July 05, 2022 @04:12PM (#31993084)
Have you by chance checked the bug tracker, or reported this bug, or attempted to do any debugging to find the root cause?
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Wednesday July 06, 2022 @02:41PM (#32005073)
"Why didn't you just become a pulseaudio dev if you hate pulseaudio so much"

Get fucking real, I have better things to do with my life than waste time ingratiating myself with the likes of pusleaudio devs. "Audio stopped working" describes hundreds if not thousands of pulseaudio bugs, do you really expect frustrated end users to drop everything else going on in their life and spend weeks learning the ropes of this shit? Get real.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by Crysstalis on Wednesday July 06, 2022 @08:45PM (#32008710)
>do you really expect frustrated end users to drop everything else going on in their life and spend weeks learning the ropes of this shit

Are you sure you're responding to the correct post? I didn't say anything remotely like this. I asked if you would report the bug or try to do a little debugging, like spending a few minutes up to an hour. You don't have to learn any ropes, the internals should be very familiar to anyone who knows C and has some knowledge of audio. If this is important to your job, the company should be willing to let you do this on paid time. This stuff is open source, you either have a support vendor you pay to fix these bugs, or your company assigns developers to fix them yourself. There is no other way it happens. It's not a waste of time if you actually fix the bug.

And just to stress this, there is no other way the bugs get fixed. This is it. This is the whole thing. Some person somewhere does actually need to drop everything and go and start spending time fixing the bugs. No, it doesn't have to be for weeks. If you think a thousand bugs is a lot, well, yeah, it is. That's why you need to go take some initiative to give some information, to make your bug known and make it possible for anyone else to help. Otherwise, it blends in with all the other low-information bugs and it falls back on you to go fix it yourself. A bug report that just says "it doesn't work" with no additional information is not actionable, you need to provide more than that for anyone to be able to help you. If you become hostile after being asked to spend a few minutes reporting bugs, then it is definitely going to be impossible for anyone to help you.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by JetSpiegel on Tuesday July 05, 2022 @06:31PM (#31994558)
That would required the "bug" to exist in the first place.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by klodolph on Tuesday July 05, 2022 @03:58PM (#31992942)
What kind of breakage, complexity, and general fragility are you seeing with PulseAudio? Can you elaborate?

One big problem here is that the "good path" for audio without PulseAudio applies to a shrinking segment of Linux user base.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @04:01PM (#31992990)
Sound stops and doesn't work until I restart pulseaudio. You know, the usual. I think some people restart their whole computer and blame their drivers, but restarting pulseaudio alone is what fixes it nine times out of ten.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by klodolph on Tuesday July 05, 2022 @04:19PM (#31993171)
Interesting. I'd still rather have that problem than the massive, massive problems I tend to have without PulseAudio. Only one app can make sound at a time, can't adjust volume at all, that sort of thing.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by kyruzic on Tuesday July 05, 2022 @03:32PM (#31992660)
Pulseaudio is one of the absolute best parts of Linux.

Have fun routing audio from one stream to one device and another stream to a different device on Windows or macos!

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by ElectricalUnion on Tuesday July 05, 2022 @05:09PM (#31993726)
Jack is better. PipeWire, much better. Routing audio in Pulseaudio is confusing, at best, and _not fun_ most of the time.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by joshstrange on Tuesday July 05, 2022 @04:23PM (#31993225)
On Mac, at least, this is easy with tools from Rouge Amoeba. Audio Hijack and Loopback being the main tools I've used to do this.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Tuesday July 05, 2022 @03:40PM (#31992743)
> Have fun routing audio from one stream to one device and another stream to a different device on Windows or macos!

I can do that with pulseaudio, but it's not fun.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by seba_dos1 on Wednesday July 06, 2022 @08:20AM (#31999758)
I use to do that quite often with Pulse, and on Plasma it's just a matter of drag'n'drop in audio systray applet.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by robonerd on Wednesday July 06, 2022 @02:47PM (#32005141)
Okay, I have two computers on my LAN right now, one running OpenSUSE with KDE and Pulseaudio, the other with Debian and Pulseaudio. I want to send my audio from the OpenSUSE computer to the Debian computer. What do I drag, and to where? There's nothing dragable in my systray that even mentions the Debian computer.

I'm quite sure this process starts with me writing some config files on both of these computers. That's how it worked every other time I've tried these sort of things with Pulseaudio. These sort of tricks are possible for techies to do with Pulseaudio, but for the proverbial grandmother user they may as well not exist because the system as a whole certainly isn't going to make it easy.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by seba_dos1 on Thursday July 07, 2022 @12:44AM (#32009994)
> I'm quite sure this process starts with me writing some config files on both of these computers.

So don't be so sure ;)

You just tick a checkbox in paprefs to enable networking (which is perfectly reasonable, as in most cases you don't want to have it enabled by default), and that's it. It finds the other PC via zeroconf and it shows up as a regular output device.

Depending on distro you use, you may need to install PulseAudio's zeroconf module and make sure Avahi is running, but a properly configured desktop distro will have all that either by default or a single package installation away these days.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by hdjjhhvvhga on Tuesday July 05, 2022 @04:30PM (#31993304)
I'm not sure about SystemD, but PulseAudio is definitely a piece of software I wouldn't brag about. If you work on an existing codebase and do what your employer says, that's one thing, but when you have the rare freedom to design a system from the ground up, I expect it to do at least one thing: to run.
Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by na85 on Tuesday July 05, 2022 @04:22PM (#31993210)
>He can easily hop ship wherever he wants given the major impact he's landed

I don't know about that. Talent alone doesn't make someone a good fit for a team. Would you want to work alongside Poettering? Or de Raadt?

I wouldn't, and that means I wouldn't hire them either.

Re:PulseAudio and Systemd Creator, Lennart Poettering, Repor... by iasay on Tuesday July 05, 2022 @03:09PM (#31992408)
> His design decisions have certainly been controversial but his impact is certainly agreed upon.

I can think of many historical figures that fit that description.