6 ms·
Firefox stopped supporting ALSA, so I had to install PA. PA gives me: a noise chirp when the PA daemon starts, which is probably some uninitialized garbage buff
by dom0 9y ago
Firefox stopped supporting ALSA, so I had to install PA. PA gives me: a noise chirp when the PA daemon starts, which is probably some uninitialized garbage buffer. Sometimes (I don't know what triggers it, seems to be random, and no, it's not the auto-suspend module which is on by default but seems to cause a similar bug for many people) audio starts to lag by .3-.5 seconds. Restarting PA does not help; have to reboot, which I can't/won't do for days at a time. This is supposed to be a Linux system, not Windows 98.
I don't hate PA. On another machine it was always installed. But it is quite clear to me that it is yet-another layer on top of the existing infrastructure, so it statistically will cause more issues than just the infra that's there already.
- majewsky 9y agoThe problem with PA is that (it appears like) there aren't really any simple errors. For most software, you have a bunch of common problems that you can find on Stackoverflow easily with a reliable solution. Pulse, on the other hand, while working fine on 99% of systems, usually fails catastrophically in creative ways on the remaining 1% and it's really hard to even understand what the problem is. (And of course, these 1% will shape public opinion. A large portion of the 99% is not even aware they're using Pulse.)
- hashkb 9y agoTwo nines isn't very many nines. I've had problems with PA 100% of the time. Must be me, right? The only PA solution I know is purging it from my system.
- throwaway2048 9y agowhat people mean when they say the vast majority of people dont have problems is "I don't care about your objectively broken experience"
- makomk 9y agoYeah, I've certainly had to learn a few tricks to debug audio issues on my Linux systems. Last one was a crash when disconnecting Bluetooth headphones, traced to PulseAudio unloading its Bluetooth plugin from code within the plugin. You don't get a backtrace if the crash is from returning into code that doesn't exist anymore. I still haven't figured out why this didn't cause crashes on all systems. Factors which will have majorly affected people's PulseAudio experience over the years include audio hardware, what software they use with it, system uptime, local RF interference, use of suspend/resume, which patches their distro backported, and the exact stack and heap layout of the process on their system.
- bryananderson 9y agoYou should install apulse and run that with Firefox! Works like a charm.
- onli 9y agoYou can also compile FF with ALSA enabled. Gentoo has a useflag for that.
- gcp 9y agoThis is the better option (aside from fixing your PA config in the first place, which I'd heavily recommend instead). apulse can get into issues with Firefox's sandboxing. It supports PulseAudio and works with ALSA too, but ALSA-pretending-to-be-PA won't work. But really, fix your PulseAudio instead.
- digi_owl 9y agoIn theory yes. But compiling Firefox is just a mess.
- twiddo 9y agoI thought they had plans to deprecate the build flag in a later version, but can't find verification.
- digi_owl 9y agoIt will in any case not get any maintenance, so expect things to break with no recourse as new versions are released. This similar to how on paper Firefox can still be compiled with GTK2, but it is not supported.
- justinsaccount 9y ago> Restarting PA does not help; have to reboot Then PA is not the problem, your sound card/drivers is.
- sigjuice 9y agoHow does one go about debugging something like this to pinpoint the root cause? I am just curious. I know nothing about PA (or even sound). Thanks!
- baldfat 9y agoHow to debug PulseAudio problems https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems https://fedoraproject.org/wiki/How_to_debug_PulseAudio_probl...
- sigjuice 9y agoThanks! I just skimmed through this and discovered strace -k (Print the execution stack trace of the traced processes after each system call). TIL
- snaky 9y ago> Firefox stopped supporting ALSA, so I had to install PA PulseAudio emulation for ALSA https://github.com/i-rinat/apulse https://github.com/i-rinat/apulse