Firefox audio crackling and popping on Linux Mint

linux mint firefox sound problem

This problem was bugging me for quite a while and today I finally decided to address it. There are lot of advices online to try to run Firefox in safe mode and see if that fixes the problem, so I tried that first but it didn’t help. Safe mode actually just turns off extensions, but in my case it didn’t help.

I found out that the easiest way to reproduce the problem was to run YouTube video in one window and after that open another window with eBay. After few seconds crackling and popping always started. I run audio mainly via HDMI to my monitor, but as I have external DAC I decided to try that audio output and yes, it worked without problems. So, it seemed something was wrong with PulseAudio over HDMI.

After some investigation I found out that these two settings of Firefox may fix the problem:

Just type about:config in your Firefox URL line and set them to false. In my case just disabling media.webspeech.synth fixed the problem, but I still set both of these to false.

So, the main cause for the trouble was Firefox’s Web Speech API. If you wish, you can also completely uninstall this feature:

killall speech-dispatcher
sudo apt remove speech-dispatcher

Finally restart your browser. This may help someone.

How to fix possible missing firmware warning during kernel update on Linux Mint

Learn how to fix possible missing firmware warning during kernel update on Linux Mint
linux mint ubuntu missing firmware problem kernel update mainland

Run Docker as normal user on Ubuntu 20.04

Learn how to setup permissions to run Docker as normal user on Ubuntu 20.04
Docker ubuntu mint usermod setfacl ACL pemission

Add Google search engine to your Linux Mint

Add Google Search engine to Firefox on Linux Mint
linux mint firefox google search