tag:blogger.com,1999:blog-203063759820106893.post990483167993301442..comments2023-03-25T08:30:26.602-04:00Comments on A Moment of Zen: More PulseAudio ProblemsJeffrey Stedfasthttp://www.blogger.com/profile/12271561115384429651noreply@blogger.comBlogger42125tag:blogger.com,1999:blog-203063759820106893.post-11889935315004952011-05-21T09:52:11.988-04:002011-05-21T09:52:11.988-04:00The snivelling and excuses are pathetic. I think ...The snivelling and excuses are pathetic. I think Mr. Stedfast has been vindicated (if not by his 20K+ commits) by the years that have gone by with no resolution to the problem. PA has been crud for years now. <br /><br />I thought I would dip my toe back into the Ubuntu world, trying to set my house up for Apple TV home media what-not. Everything is up in the air. I also want to get back into desktop music, Audacity, etc.<br /><br />This weekend has been spent tracking down various fruitless non-solutions to the same fscking problem with nasty crackling audio, and I'm on Ubuntu 11.04.<br /><br />The one time I was able to get esound installed, the system came back up with crystal clear sound and NO NETWORK. This is ****.<br /><br />I don't mind working along with a FREE system, but this has become a crusade, a death march, and I'm out.<br /><br />Thank you Mr. Stedfast; your head must hurt banging it on the wall of willful ignorance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-41279521172490118692009-12-15T03:21:54.384-05:002009-12-15T03:21:54.384-05:00I agree that PA is getting better but hasn't m...I agree that PA is getting better but hasn't matured yet. In my case, on my Debian Squeeze, it consumes way too many CPU cycles, so got rid of it and reverted to ole stuff -- luckily Debian wasn't so rush as to get rid of the alternatives.Tshepang Lekhonkhobehttps://www.blogger.com/profile/06909798726493353059noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-82914411051690396852009-12-14T19:00:18.832-05:002009-12-14T19:00:18.832-05:00As of Ubuntu 9.10 Karmic Koala, yes Pulseaudio see...As of Ubuntu 9.10 Karmic Koala, yes Pulseaudio seems more entrenched in Gnome, but it still works with it removed from the system (using synaptic).<br />I lost the mixer controller though, but not the settings I have done before removing Pulseausio (!). I guess I would need to reinstall Pulseaudio if I need to change my mixer settings, or found the Alsa mixer controller (which seems to be no more installed by default).<br />Pulseaudio seems to improve with time, now microphone works with it. But sound from Wine apps still remains chopy, so good bye Pulseaudio.<br /><br />For the guys blaming on people complaining about Pulseaudio, sorry but I can not agree with you. Me too, I was not getting so many troubles with Alsa. The move to pulseaudio was too early. It has cause much problems to many users, without giving them new features they were actually caring of.<br /><br />Prior to Pulseaudio, I was having fine sound for my usage with few steps after the install (some wine cfg were needed for me). Now I always need to add to my sound setting up the step of getting rid of Pulseaudio. At each Ubuntu upgrade, I try to get Pulseaudio working. It gets better, but still not as good as what do Alsa for me.<br /><br />And it looks like that's the case for many users.<br />Conclusion : Pulseaudio still not enough mature for being the default ?<br />My answer is yes, for now.<br /><br />So bad, the Pulseaudio bad moved is also done on other subjects. Let's say, polkit gnome policies... Upgrade after upgrade, I have more security tuning to do to get my desktop doing what I want... And it get even more complicated since they have discontinued the GUI to set up polkit gnome policies. And moved some settings in others software layers. Cool to have to track down were things have gone every six months...<br />Not to say no change should occurs, but at least where thing has got removed, some help text/links should be left to say were it is gone, or how to handle that now... Of course it is time consuming, but it is mandatory to avoid discouraging casual users of using Linux.<br /><br />In the past I was thinking Linux would one day get enough user friendly for anyone. I am no more thinking it.Unknownhttps://www.blogger.com/profile/06048551510062344186noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-10130172219673431932009-08-10T06:05:09.377-04:002009-08-10T06:05:09.377-04:00as a linux user since god knows when, i experience...as a linux user since god knows when, i experienced the OSS fun, then alsa came along and since about 2006 alsa has worked like a dream, i thought the nightmares over, then along comes pulseaudio, which i fixed by purging a system of anything related to it, but i hear gnome 2.28 is going to have pulseaudio completely entrenched? i may have to try KDE again for the first time since 2001Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-55133667114376847212009-02-23T18:11:00.000-05:002009-02-23T18:11:00.000-05:00Why oh Why can't pulseaudio have a nice integrated...Why oh Why can't pulseaudio have a nice integrated little gui that just autoconfigures the damn thing for your system based on your requirements??<BR/>I've used SUSE a few years and had no trouble with sound until pulseaudio.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-63733514738824234112008-11-07T02:14:00.000-05:002008-11-07T02:14:00.000-05:00Does anybody know if Ubuntu has recently changed s...Does anybody know if Ubuntu has recently changed something to cause PulseAudio to hang? I've never had any trouble with it until the last two days. Then, out of the blue, it apparently hangs and all my media apps hang thereafter. I finally traced it down to 'pulseaudio' using lsof and grep. And yes, 'kill -9' seems to be only a temporary solution to this annoyance.Lee Johnsonhttps://www.blogger.com/profile/13736680452703464160noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-2245674754533874222008-07-20T20:52:00.000-04:002008-07-20T20:52:00.000-04:00The first thing i did on my Ubuntu was to fix the ...The first thing i did on my Ubuntu was to fix the pulseaudio binary with 'sudo gimp /bla/bla/pulseaudio'. Then use a big red marker and write "die die DIE!!!!1"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-29796913748081347632008-07-15T09:25:00.000-04:002008-07-15T09:25:00.000-04:00First thing i do after Ubuntu/SuSE/Fedora/whatever...First thing i do after Ubuntu/SuSE/Fedora/whatever installs is deinstalling any installed soundserver. ALSA has support for software-mixing and does this just fine out-of-the-box on any soundcard i had. So no need for a soundserver on desktop-installs.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-71371267674368975472008-07-14T12:39:00.000-04:002008-07-14T12:39:00.000-04:00The bug you filed has already been classified as a...<I>The bug you filed has already been classified as a blocker - the developers care, make no doubt.</I><BR/><BR/>You might want to note that <I>I</I> marked them as blockers, not the developers. The developers haven't even bothered to <I>look</I> at my bugs yet afaict.Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-80569188803550780762008-07-14T12:01:00.000-04:002008-07-14T12:01:00.000-04:00Jeffrey, I think you got it exactly right about th...Jeffrey, I think you got it exactly right about the complications added by making pulseaudio a networkable sound daemon. In my experience with Ubuntu 8.04, Suse 11, Fedora 9 (note, all latest versions) pulseaudio and sound in general is broken and is the biggest single flaw in linux on the desktop today.<BR/><BR/>The bit that really gets me is that it seems quite obvious and clear (read some of the mailing lists) that the pulseaudio developers are simply not up to the task of creating the next attempt at fixing sound on linux. Nor was the vetting process at any of the distributions listed complete enough to catch very obvious problems in pulseaudio.<BR/><BR/>It's a really bad situation. I personally believe that pulseaudio alone has pushed linux several years backward as a viable desktop platform for non-expert home use.<BR/><BR/>The anonymous commenters railing against you while not even displaying their name(s) should be ashamed of themselves, pulseaudio is an enormous threat to linux being dominant in the home. A few google searches show just how bad it is, for example, "ubuntu pulseaudio problems" returns 432,000 results. It's helpful to compare this with other keywords to get a sense for just how much pain and suffering has been caused by the Fedora/Ubuntu/Suse et al decision to guinea-pig us all.<BR/><BR/>The biggest copout on earth is the blame-game against Adobe. That's bull manure when Flash is the single biggest media force in the world. You don't make a 600 pound gorrilla play ball because of some high faluting tripe. You feed the goddamned gorrilla whateve the fck it wants. Either that or you just get out of the gorrilla business because you're ruining linux' domination path with your snivelling incompetent p.o.s. sad excuse for a software stack.<BR/><BR/>Religious zealots should stop reading here, but for the good ol' athiests among you where the fck did you forget about survival of the fittest? I mean come on, seriously, if you're in this to win then you're gonna do whatever it takes to win. This is why we have GW for prez, because he knows all about survival of the fittest, so get off of the high horse and just fix the bloody problem already, which in this case means, dumb this goddamn garbage pulseaudio software down to do what its freaking supposed to do, which is make audio on the desktop WORK not proclaim some unfit psuedo-egalitarian tripe.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-37190551375568350412008-07-13T17:56:00.000-04:002008-07-13T17:56:00.000-04:00As a developer who hacked a pulseaudio client usin...As a developer who hacked a pulseaudio client using the "simple" interface, literally no more than a few calls, I am very unimpressed.<BR/><BR/>It doesn't work. The pa_simple_write() call accepts a pointer of sound data and length of that buffer to write. And guess what? Only buffer lenghts in the 2048 - 8192 range actually appear to work. (Audigy 2 ZS as hardware.) Anything else and I get skips and jumps in the playback. Absurd.<BR/><BR/>Even today, writing exactly 4096 byte buffers to that piece-of-shit sound server, I sometimes hear the audio jump. On an dual-core system. This is so crappy it's not funny.<BR/><BR/>I would _love_ to use the ALSA-to-Pulse bridge thingy that you can enable with a few lines in .asoundrc but that doesn't work either. Let me qualify that. Like, you might hear the audio play without your whole damn application freezing up when a simple buffer underflow happens because Linux scheduler did not see fit to give enough CPU time to your app.<BR/><BR/>And when that stupid pulseaudio demon hangs, like it semireliably does when I'm seeking in audacious using the cursor keys, the whole daemon and any clients using it have to be killed and restarted. And it does this semiregularly, on laptop with intel hardware I resurrect the bloody thing every second day or so.<BR/><BR/>I fucking hate pulseaudio at this point. With this kind of show so far, it is irrelevant how great it is at some random point in the future. Can't we just get software that works? Users do not want to be betatesters any longer. If open source can't produce working code without pushing shit to masses, maybe it is a failure as a development model.<BR/><BR/>Pulse defenders say that ALSA's dmix might have been atrocious in so many ways, but I never noticed a thing: honestly, ALSA's dmix Just Worked. Something I can't say Pulse to do.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-65322251383485672892008-07-13T09:11:00.000-04:002008-07-13T09:11:00.000-04:00Jeffrey: It's unfortunate that you get to the poin...Jeffrey: It's unfortunate that you get to the point where you critisize the whole userspace sound-server idea instead of focusing on your bug report. I complain because Anonymous explained why that approach is 'superior', and instead of acknowledging her points, you simply retort to your bug report. Point is, simply because you got pissed by PA bugs don't mean what PA represents (userspace sound-servers) is non-sense.<BR/><BR/>Oh, and it also looks like you haven't read Lennart's blog/mail posts.<BR/><BR/>note: PA's maturity is another issue of course, and haven't used it enough to comment.Tshepang Lekhonkhobehttps://www.blogger.com/profile/06909798726493353059noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-69554829544106098032008-07-10T22:50:00.000-04:002008-07-10T22:50:00.000-04:00"What's the name of the ALSA dmix daemon process?"..."What's the name of the ALSA dmix daemon process?"<BR/><BR/>Whatever process first opens the audio device gets forked; subsequent processes deliver streams to that process via shared memory.wdomburghttps://www.blogger.com/profile/09011510563653401940noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-11142812796891223682008-07-10T17:30:00.000-04:002008-07-10T17:30:00.000-04:00What's the name of the ALSA dmix daemon process? I...What's the name of the ALSA dmix daemon process? I don't see it in my ps list on an older box w/o PA (and I doubt I have one of the fancy cards with hw mixing).Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-59573193016112514112008-07-10T17:19:00.000-04:002008-07-10T17:19:00.000-04:00"why do we need a sound daemon process?""Now it is..."why do we need a sound daemon process?"<BR/><BR/>"Now it is in ALSA and (even better) in OSS in the kernel."<BR/><BR/>Erm, dmix *is* a sound daemon process. The only time ALSA precludes a sound daemon is if you have one of the relative few cards that has support for hardware mixing and a driver which takes advantage of it.wdomburghttps://www.blogger.com/profile/09011510563653401940noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-87913980633061342092008-07-10T17:09:00.000-04:002008-07-10T17:09:00.000-04:00I'm not a fancy sound user, but I've grown to expe...I'm not a fancy sound user, but I've grown to expect things like music players (e.g. banshee or rhythmbox or xmms) to work, login/logout wavs to play, and flash sound to work.<BR/><BR/>Unfortunately, now that my system uses PulseAudio instead of ALSA/ESD, I've had nothing but problems.<BR/><BR/>Everyone keeps saying "sounds like an openSUSE-specific bug" but searching through the Ubuntu forums or talking to friends working at VMWare who use Fedora, it's quite clear that many of the problems I am experiencing are not openSUSE specific.<BR/><BR/>I agree that sound on Linux has not historically been great, but it worked in the most basic sense for everyone I knew, but now everyone I know has problems no matter what distro they use.Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-72727203129276838352008-07-10T16:57:00.000-04:002008-07-10T16:57:00.000-04:00"Now it is in ALSA and (even better) in OSS in the..."Now it is in ALSA and (even better) in OSS in the kernel."<BR/><BR/>Except that they're not. dmix introduces lags, clicks, and other audio glitches for a lot of people in a lot of circumstances because the in-kernel mixing is (for good reason) very simplistic.<BR/><BR/>They don't allow dynamic real-time changing of output devices, such as when I plug in a USB headset.<BR/><BR/>They don't allow sound font caching across multiple processes, meaning that a simple sound theme in GNOME without Pulse (or ESD) could introduce a huge memory spike or excessive audio I/O every play (leading to pops and clicks under load).<BR/><BR/>They don't do a lot of things that Pulse does and that people actually need.<BR/><BR/>In your first post on the topic, you mentioned how mad people would be if you introduced your new IMAPv4 provider to Evolution. Sure, early tech previews can be a drag. But on the other hand, you DID write a new IMAPv4 backend, even though quite a few people will happily claim that Evolution's current IMAP support "just works" right now. Moral of the story? Just because you don't see the problem doesn't mean it's not there.<BR/><BR/>Yes, it sucks you're hitting these problems. They NEED to be fixed. But you have to help, because (obviously) whatever specific issue is causing these problems for you simply aren't happening for the PulseAudio developers. You should know as well as anyone that you can't fix a bug you can't find. If PulseAudio daemon is hanging, try getting some stack traces from GDB, SystemTap output, or _something_ to send to the PA developers. Make sure you give them extensive hardware information dumps (there are multiple revisions of every laptop model, including the T61, so the model number isn't enough - specific chip IDs helps more). The bug you filed has already been classified as a blocker - the developers care, make no doubt.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-76882865143475500902008-07-10T16:53:00.000-04:002008-07-10T16:53:00.000-04:00I understand the frustration with the bugs, which ...I understand the frustration with the bugs, which seems suse-specific. But ranting against FINALLY getting sound fixed in Linux just because there are some bumps? You must really not have actually used sound in Linux earlier. It was never solved, not with Alsa+Dmix, not ever. Read. Up. On. Why. Pulse. Hint: it has very little with moving streams between computers and mixing. Just go read. Now.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-7571176241245539472008-07-10T15:09:00.000-04:002008-07-10T15:09:00.000-04:00By the same token, there's no reason any applicati...By the same token, there's no reason any application should be sending image data over the wire to a local display daemon just so it can dump it to the kernel's video driver. That's just ridiculous.Thomas Vander Stichelehttps://www.blogger.com/profile/02484569633652208179noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-62523427511437766172008-07-10T12:19:00.000-04:002008-07-10T12:19:00.000-04:00AdamW: why do we need a sound daemon process? AFAI...AdamW: why do we need a sound daemon process? AFAIK, ESD was only ever written because at the time software mixing was not a solved problem. Now it is in ALSA and (even better) in OSS in the kernel.<BR/><BR/>Running a sound server is a gross hack that only makes the entire linux desktop sound architecture more likely to fail (it just adds more points of failure).<BR/><BR/>The only time it's needed is if you need to redirect sound to another machine on the network - but that can be as an addon rather than part of the core.<BR/><BR/>There's no reason any application should be sending wav data over the wire to a local sound daemon just so it can dump it to the kernel's audio driver. That's just ridiculous.<BR/><BR/>Applications should use a simple sound library for sending audio data directly to the kernel driver (where it should be mixed if needed) before being passed to the hardware itself.<BR/><BR/>Audio mixing does not belong in a userspace daemon process, especially one that is unreliable in that it likes to hang.<BR/><BR/>It frustrates me that people like to solve problems by making a mountain out of a mole hill and over-architecting everything (which just makes things less reliable, bloated, etc).Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-52616466209411220922008-07-10T12:00:00.000-04:002008-07-10T12:00:00.000-04:00My system wide PulseAudio server hangs every night...My system wide PulseAudio server hangs every night. It's working when I go to bed and it's dead when I get up. "killall -9 pulseaudio" is now a part of my morning ritual.Unknownhttps://www.blogger.com/profile/01911464792441928896noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-84620463197979301072008-07-10T11:51:00.000-04:002008-07-10T11:51:00.000-04:00Jeff, well, it's more complex than that. Everyone'...Jeff, well, it's more complex than that. Everyone's known for years that we're going to need to pick a sound server and use it. Before Fedora pushed the boat out with PulseAudio, this had been known for years but no-one was doing anything about it.<BR/><BR/>You say the previous situation "worked", but that's a simplification. It worked for you, but it was really not an acceptable system and it didn't work for a lot of people. esd was crap, and it was unmaintained. It may have worked for you, but others had a lot of problems with it - just like Pulse.<BR/><BR/>At least now all the major distros have gone with Pulse, everyone knows where things are going and what they need to do: make their app play nice with Pulse. For the two or three years previous, all anyone did was whine about how terrible Linux audio is, which wasn't really very productive. At least now people are aiming to fix it.<BR/><BR/>Still, in Mandriva, we did go to the trouble of coding a big happy "Disable Pulseaudio" button. Isn't there one in SUSE?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-90288540231399918352008-07-10T11:09:00.000-04:002008-07-10T11:09:00.000-04:00a) I'm on a Lenovo T61 laptop - afaik, intel sound...a) I'm on a Lenovo T61 laptop - afaik, intel sound card along with intel pretty much everything else hardware (including graphics chipset).<BR/><BR/>b) the PA that openSUSE 11 is using is the latest 0.9.10 and of the 3 patches applied to it, 2 of them are from upstream and 1 changes some default values in the daemon.conf file.<BR/><BR/>I'll try changing them back to the upstream defaults I guess.Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-19633717525636451512008-07-10T10:41:00.000-04:002008-07-10T10:41:00.000-04:00Two ideas:a) What audio hardware and driver are yo...Two ideas:<BR/><BR/>a) What audio hardware and driver are you using? Maybe there's a bug in that driver that Pulse just happens to trigger.<BR/><BR/>b) Lots of people with Ubuntu or Fedora claim PA works, but you're on OpenSUSE. Maybe the PA package in OpenSUSE is outdated, has a bad patch, is miscompiled, or something? God knows that kind of stuff does happen time to time. (Hello Debian/OpenSSL! ;) I know in Fedora 8 I'd have very occasional PA crashes, but that doesn't seem to happen in Fedora 9 ever. Either an updated kernel, updated ALSA, or updated PA fixed whatever the issue was.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-203063759820106893.post-85705160470829459872008-07-10T08:03:00.000-04:002008-07-10T08:03:00.000-04:00I seem to have libflashsupport-000-67.1I have no i...I seem to have libflashsupport-000-67.1<BR/><BR/>I have no idea how recent it is, but I would imagine fairly recent as openSUSE 11 was only released a month or 2 ago.Jeffrey Stedfasthttps://www.blogger.com/profile/12271561115384429651noreply@blogger.com