Closed Bug 1417836 Opened 8 years ago Closed 6 years ago

Enabling "Reader mode" for the first time in session "breaks" PulseAudio output

Categories

(Core :: Web Speech, defect, P2)

57 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1444567

People

(Reporter: glibnes, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20171115100050 Steps to reproduce: 1. Open up a new Firefox session (restart the browser) 2. Go to any page that has "Reader mode" available 3. Open "Reader mode" Opening "Reader mode" again or on different pages in the same session won't reproduce this problem. It appears this problem occurs only at initialization of "Reader mode". Actual results: 1. Any sounds that are outputed by my machine start to sound weird, like's there a lot of static noise. Killing PulseAudio ("pulseaudio -k") solves the problem and it does not happen again after it reboots. I can reproduce this problem every time on my machine which has a "Realtek ALC1220" on the motherboard. I cannot reproduce the exact same problem on the laptop that has a "Realtek ALC272", but I can confirm that sometimes it also has a "crackling noise" problem once "Reader mode" is enabled, but it disappears almost immediately. Expected results: 1. Sound should not be affected at all
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Missing details: - On both computers I use Ubuntu 17.04 - PulseAudio's version is 10.0 - I can reproduce the same problem on both Firefox Nightly (59.0a1 (2017-11-15) (64 bit)) and the latest stable version, Firefox 57 - I can reproduce the same problem with a fresh profile on both versions of the browser Please let me know if I should post more details.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Component: Audio/Video: Playback → Audio/Video: cubeb
Priority: -- → P2
Minor update on the issue - I've noticed that the same thing happens when I open Discord's website for the first time in a session.
Can confirm that this is also happening to me on Ubuntu 17.10 with Firefox 58.0.2 and PulseAudio 10.0. I also recall running into this on earlier versions of Firefox and Ubuntu. This seems to be related to the speech feature of speech-dispatcher in the reader mode, as mentioned in the following reddit thread. https://www.reddit.com/r/firefox/comments/7n5vn6/linux_firefox_and_speechdispatcher_are_making/ The reddit post also suggests disabling reader.parse-on-load.enabled and media.webspeech.synth.enabled as a temporary workaround. PS: a similar bug (but possibly completely unrelated) also happens when starting the open source VOIP application Mumble and some other audio related programs.

Just want to confirm that this is still reproducable with Firefox 67.0.2 on Debian 9 (.9)

The audio chip on this machine is a Realtek ALC887-VD and I'm running Linux 5.2

Setting media.webspeech.synth.enabled to false in about:config fixes it for me.

Obviously disabling the reader mode speech synthesizer would be less than ideal for someone that actually needs it.

This looks like Bug 1444567 (which is still open). Can you please confirm?

(In reply to Alex Chronopoulos [:achronop] from comment #6)

This looks like Bug 1444567 (which is still open). Can you please confirm?

Hey Alex.

Yes, I can confirm Bug 1444567 too

Firefox spawns /usr/bin/speech-dispatcher in both cases, that seems to be the cause of this problem.

If I kill the speech-dispatcher process audio playback is restored to normal.

I will dub this one to Bug 1444567 in order to keep that discussion in one place.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Component: Audio/Video: cubeb → Web Speech
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.