
Don’t try to output to card 0 or the pulseaudio server, but to pcm "default", which can be changed arbitrarily by users. This would be also the default rate of Youtube, so I can’t see any valid reason, why it would fail.Īnyway, this whole Linux audio output mess from Firefox would be fixed by a simple change. speaker-test works flawlessly, even though it outputs as 48000 mono. Actually Alsa would handle it, but Firefox accesses it obviously in unintended ways. I didn’t experience playback hangs though.

You can hear a crack, when the playback tries to start. Switching into USB mode the usb driver outputs to those frequencies.īut back to where Firefox fails: If any rate conversion above 48000 is required, there won’t be sound. For me that seems to be a limitation of snd_hda_intel though. Since it has an audio processor, why do you even need dmix? Actually ALSA should then use hardware mixing by default.Īnyway, in my case I need it and found also two frequencies (88200, 176400) not working. To narrow down since i don't really get ALSA output from Firefox I assume it's something resampling releated but it's really hard The pattern here seems multiples of 48000 (96000 + 192000)Īnd not an upper limit because 176400 also works. Those are the "rate" values that tested and their result: Initial configuration again with the following changes:Įverything works, all videos and sounds have audio. (other/higher values for those do not change anything)Ĭomplete opposite behaviour of situation "1" Shows the thread opening sound (/dev/snd/*) * Player remains stuck at "0:00", also strace Jwplayer Test (OPUS IN OGG) -> NO SOUND * >8->8->8->8-ĭescription "Dmix Xonar X2D Digital S/PDIF Output" Have never issues for the past years, but 2 browsers) (This makes it even more strange, because all other audio players I found a very similar issue on the Chromium bug list: One is a HDMI AMD Card and the other an USB 2.0 audio device. Test have been repeated with 2 other sound hardware devices withĮxactly the same result to rule out hardware issues. I'm listing videos i've used here but it affected all the videosįrom either YouTube or Vimeo all the time. This doesn't rule outĪLSA bugs, but at least makes triggering the bug really rare.įirefox 41.0.2 binary release from The same ALSA config has been used for many years now and noĪudio software ever had issues with it.

Details on how to switch or workaround the behaviour is In general everything on YouTube works while everything on Vimeoįails. User Agent: Mozilla/5.0 (X11 Linux x86_64 rv:42.0) Gecko/20100101 Firefox/42.0Ĭertain HTML5 media has no sound on ALSA with dmix and 96 Khz
