Page 1 of 2

Crackling-ass audio issue Firefox (on Ubuntu Mint) -- FIX?

Posted: 2022-06-21 04:26
by Steven W
Okay, the issue:

Audio starts to sound distorted crackle-y on, well it happens on Ubuntu Mint for me.

How to recreate (to see if it affects your HW)
  • Start a music video on Youtube.
  • Open bbc.co.uk in a new tab.
Fix (works for me)
about:config
search 'audio'

media.audio.audiosink.threshold_ms
400

dom.audioworklet.enabled
false

dom.webaudio.enabled
false

:mrgreen:

I thought about putting this in Hardware. Eh, move it if you wanna.

Posted: 2022-06-21 04:37
by Steven W
FUCK! That wasn't it, but I'm trying something else now. Seems to have temporarily helped.

media.audio.audiosink.threshold_ms
400

browser.tabs.delayHidingAudioPlayingIconMS
0

I swear to God, if this whole issue is caused that delay setting... :sick:

Posted: 2022-06-21 04:40
by Steven W
Steven W wrote:
2022-06-21 04:37
FUCK! That wasn't it, but I'm trying something else now. Seems to have temporarily helped.

media.audio.audiosink.threshold_ms
400

browser.tabs.delayHidingAudioPlayingIconMS
0

I swear to God, if this whole issue is caused that delay setting... :sick:
Well, that seems to have worked after 5 retries. I guess I keep an eye on it for a week or so and let anyone reading this know.

Posted: 2022-06-21 05:27
by Steven W
Well, running into the issue, but somehow it's not as bad.

Let's add one more config change:

media.navigator.audio.use_fec
false

That's still in addition to:

media.audio.audiosink.threshold_ms
400

browser.tabs.delayHidingAudioPlayingIconMS
0

Posted: 2022-06-21 06:18
by Steven W
Here's what I'm settling on so far. I'm not gonna call this a total fix. There seems to be two issues going on. A delay gets introduced and the distortion.
at_least_partial_fix.jpg
at_least_partial_fix.jpg (78.5 KiB) Viewed 6670 times
These settings seem to stop the delay:

media.audio.audiosink.threshold_ms
400

browser.tabs.delayHidingAudioPlayingIconMS
0

I'm hoping the other two settings, in the screenshot, will at least reduce the likelihood of the distortion starting.

Posted: 2022-06-22 23:20
by Steven W
Eh, it ain't a fix, but I can almost always Youtube and the BBC without it going wonky now. That said, I did find another site that will ALWAYS cause the issue with Youtube. :lol:

Posted: 2022-06-22 23:46
by Steven W
meg-ryan-big_O.gif
meg-ryan-big_O.gif (3.58 MiB) Viewed 6654 times
Okay, now even the site that was causing it every time isn't

I doubt all of these are necessary, but this is what I got:

media.audio.audiosink.threshold_ms
400.0

The following are all set '0':
media.audio.playbackrate.soundtouch_overlap_ms
media.audio.playbackrate.soundtouch_seekwindow_ms
media.audio.playbackrate.soundtouch_sequence_ms

media.autoplay.block-webaudio
true

media.navigator.audio.use_fec
false

media.rdd-webaudio.batch.size
1

media.rdd-webaudio.batch.size
false

media.webspeech.synth.enabled
false

reader.parse-on-load.enabled
false

Posted: 2022-06-22 23:51
by Steven W
oops! Better yet, I can copy/pasta:

browser.tabs.delayHidingAudioPlayingIconMS 0
media.audio.audiosink.threshold_ms 400.0
media.audio.playbackrate.soundtouch_overlap_ms 0
media.audio.playbackrate.soundtouch_seekwindow_ms 0
media.audio.playbackrate.soundtouch_sequence_ms 0
media.autoplay.block-webaudio true
media.navigator.audio.use_fec false
media.rdd-webaudio.batch.size 1
media.webspeech.synth.enabled false
reader.parse-on-load.enabled false

Posted: 2022-06-27 03:59
by Steven W
Better yet, agin

browser.tabs.delayHidingAudioPlayingIconMS 0
media.audio.audiosink.threshold_ms 400.0
media.autoplay.block-webaudio true
media.navigator.audio.use_fec false
media.rdd-webaudio.batch.size 1
media.webspeech.synth.enabled false
reader.parse-on-load.enabled false

Posted: 2022-07-07 05:03
by Steven W
Eh, knock on wood, I haven't experienced any issue since making the changes in the last post (the one just above this). I'm not certain if this is two issues or a single bug that causes two issues. I will say this, in tinkering with this, I could get crackling (distorted) audio with or without delay and, sometimes, I could get delayed audio with or without crackling. I sincerely think that setting 'browser.tabs.delayHidingAudioPlayingIconMS' does play into the delayed audio because once, in my tinkering, the audio got delayed and I inadvertently ran my pointer over one of those buttons/icons and the audio popped right back into sync. :crazy: I started to suspect that setting because it seemed as though the delay was roughly equivalent to the setting.