+1 for no userspace daemon
+1 for no userspace daemon
Posted Sep 19, 2008 23:54 UTC (Fri) by literfizzer (subscriber, #31274)Parent article: LPC: Linux audio: it's a mess
All I want out of the sound system on my Linux box is to be able to reliably play sound with a minimum of overhead and fuss, without delays, skips, or sync problems. i don't want one or more competing userspace daemons making my life unnecessarily complicated. If some web page starts playing crud while I'm listening to music, I'll mute, pause or close it.
Posted Sep 20, 2008 10:20 UTC (Sat)
by DonDiego (guest, #24141)
[Link]
Posted Sep 20, 2008 12:49 UTC (Sat)
by nix (subscriber, #2304)
[Link]
Thankfully pulseaudio isn't a pile of crap like arts or esd and so doesn't
(Among other things PA runs at realtime priority so that it won't skip
Posted Sep 22, 2008 0:08 UTC (Mon)
by mezcalero (subscriber, #45103)
[Link]
You learned to accept that X11 runs in userspace. PA does for audio was X does for displays. So why is it so difficult to accept PA for audio too?
Also, MS is proud of Vista's userspace sound system. And Apple about CoreAudio. So, we now do something similar on Linux, for similar reasons. That's all.
Lennart
Posted Sep 22, 2008 2:47 UTC (Mon)
by elanthis (guest, #6227)
[Link] (2 responses)
You act as if audio on Linux was all peachy and perfect until PA came
It's a hell of a lot closer to being realized that acceptable graphics
You don't and won't get that without a solid mixing daemon. Keep in
Let me break this down for you. The software has bugs (that software being
Maybe PA got pushed into Fedora a little too early. I won't disagree with
Do NOT be stupid and think that "Fedora pushed it too early" is the same as
Posted Sep 22, 2008 5:29 UTC (Mon)
by bronson (subscriber, #4806)
[Link]
It's been said that both Fedora and Ubuntu pushed PA too early. I admit, given how bad Hardy has been, this is a compelling point of view. However, if the distros had not pushed early, the great number of audio bugs that have been fixed in the past six months would probably still exist. I bet the distros could wait 3 more years before pushing and it would still be a horrible experience. Software integration sucks, the only way to shake out the bugs is to integrate and see what breaks.
So, between Phonon and PulseAudio, hopefully audio will work decently in FC10 and Intrepid.
Posted Sep 22, 2008 7:10 UTC (Mon)
by nix (subscriber, #2304)
[Link]
I really must diagnose this, but trying to find bugs in ALSA's kernel
Posted Sep 22, 2008 22:12 UTC (Mon)
by lysse (guest, #3190)
[Link] (2 responses)
Posted Sep 22, 2008 23:22 UTC (Mon)
by nix (subscriber, #2304)
[Link] (1 responses)
Posted Sep 23, 2008 6:35 UTC (Tue)
by lysse (guest, #3190)
[Link]
+1 for no userspace daemon
+1 for no userspace daemon
encountered with those. It was more 'no sound at all because it
spontaneously crashed' for arts, and 'no sound at all because of a
ludicrous and dysfunctional nonauthentication system' for esd.
have any of those problems that I can see. :)
just because of CPU load: if you're swapping so hard that its being
swapped out is problematic, I doubt that whatever was playing the music is
going to be in memory much longer either.)
+1 for no userspace daemon
clue, meet literfizzer
priority and want glitch-free playback... so you want to go back to a bunch
of applications doing piss-poor direct access to ALSA and/or using the
crappy low-quality dmix mixer that can pretty easily introduce stuttering
and glitches under even remotely heavy load.
along. That's bullshit. It's been horrendous and barely usable all along.
It worked in some situations with moderate quality if you were lucky and
had the right drivers and only used the right applications. PA glitch-free
playback combined with quality mixing offers to finally make audio bearable
for the first time for _everyone_. Once the bugs are worked out of the
audio drivers, applications, and PA itself.
driver or wireless behavior on Linux, I'll tell you that much. In 10 years
of using Linux on mainstream hardware I've yet to have a video card that
works worth a crap without binary blobs, and this laptop here is the first
one I've ever been able to get wireless to work... and it requires hoops to
be jumped through (Broadcom). The problems people are having with audio
are _nothing_ in comparison, but I don't see you bitching about the
constant work being put into X/DRI or the wireless drivers and telling the
devs that they should switch back to the old way (what, plain VESA?
nothing?) because the new stuff is still buggy and incomplete (I don't even
want to get into how much time I spend trying to get video to work on both
old and new video cards -- and sometimes monitors -- compared to audio).
mind that kernel-space can't do floating point math and that reality is not
so great for the quality and performance of sound remixing and resampling.
PA, the ALSA drivers, and your user-space applications -- all of them, not
just PA), you have hit the bugs, and you're just short-fused enough to
think that said bugs invalidate the entire model. Wise people instead just
think that the bugs need to be fixed so we can solve the problems that the
old model has already proven incapable of solving.
that. I had a lot of pain with Fedora 8, too.
"the whole model is broken."
+1 for that rant
clue, meet literfizzer
ALSA (*waves*) or refuses to use the high-def timers that definitely exist
(*waves*).
component is like trying to shovel sewage with a toothbrush. Its
kernel/user interfaces are horrible (and most of both components is
entirely undocumented as far as I can tell: I still have no clue what the
Lisp interpreter is doing in there, for instance. Maybe the docs are just
hiding. Maybe they appeared since the last time I looked at this a couple
of months ago. But, y'know, life's too short: PA mostly works for me now,
and hardly ever glitches even with glitch-free mostly turned off by the
enforced usage of the OSS compatibility layer.)
+1 for no userspace daemon
+1 for no userspace daemon
which is a source of data and one a sink, or as a single file which you
can read() responses from as you write() stuff to it. Anything you can do
with a TCP/IP socket you can do with a suitably backed file, and we know
very well that you can define protocols over network sockets :)
+1 for no userspace daemon