[-CURRENT] Microphone does not work in firefox anymore

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
Hi all.

I installed the latest snapshot and, suddenly, the microphone
stopped working in firefox.

The mic itself is recognized and firefox can access it, so
it seems the sndiod back-end is working. However, even if I can
the microphone, no audio comes out of it.

I have both an integrated microphone and external USB audio
card and, previously, both worked flawlessly.

I know some changes were made to sndiod in the latest months
that could cause such a problem, but, looking at the
upgrade notes, nothing is mentioned about additional device
permissions.

Regards.

--
Andrea

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Solene Rapenne
Le Thu, 21 May 2020 10:23:14 +0200 (CEST),
[hidden email] a écrit :

> Hi all.
>
> I installed the latest snapshot and, suddenly, the microphone
> stopped working in firefox.
>
> The mic itself is recognized and firefox can access it, so
> it seems the sndiod back-end is working. However, even if I can
> the microphone, no audio comes out of it.
>
> I have both an integrated microphone and external USB audio
> card and, previously, both worked flawlessly.
>
> I know some changes were made to sndiod in the latest months
> that could cause such a problem, but, looking at the
> upgrade notes, nothing is mentioned about additional device
> permissions.
>
> Regards.
>
> --
> Andrea
>

I tried with Firefox on https://webcammictest.com/check-mic.html

At first I had no result but I think my input level was too low, using
this I had some sound:

$ sndioctl input.level=1

You may also have to increase the microphone input level within mixerctl.

Of course you need to have the sysctl kern.audio.record set to 1.

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
Hi Solene

> Il giorno 21 mag 2020, alle ore 11:36, Solene Rapenne <[hidden email]> ha scritto:
>
> Le Thu, 21 May 2020 10:23:14 +0200 (CEST),
> [hidden email] a écrit :
>
>> Hi all.
>>
>> I installed the latest snapshot and, suddenly, the microphone
>> stopped working in firefox.
>>
>> The mic itself is recognized and firefox can access it, so
>> it seems the sndiod back-end is working. However, even if I can
>> the microphone, no audio comes out of it.
>>
>> I have both an integrated microphone and external USB audio
>> card and, previously, both worked flawlessly.
>>
>> I know some changes were made to sndiod in the latest months
>> that could cause such a problem, but, looking at the
>> upgrade notes, nothing is mentioned about additional device
>> permissions.
>>
>> Regards.
>>
>> --
>> Andrea
>>
>
> I tried with Firefox on https://webcammictest.com/check-mic.html

> At first I had no result but I think my input level was too low, using
> this I had some sound:
>
> $ sndioctl input.level=1
>
> You may also have to increase the microphone input level within mixerctl.
>
> Of course you need to have the sysctl kern.audio.record set to 1.
>

Ok, I tried the website you posted  and everything is fine. The mic works ok. However, we use tools for work such as hangouts and bigbluebutton for teleconferencing and there, the microphone still doesn't works.

The web apps can access che mic, but no sound is coming out of them. I can see some activity on the sound cards related to the mic, but no volume adjusting solves the problem.

kern.audio.record is properl set to 1.

I made some attempts with various mixerctl settings, but nothing changes.

I confirm is bot an hardware problem, it seems it's related to how firefox handle the sndio back-end for hangouts et simila.

--
Andrea



Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Jan Beich
In reply to this post by Andrea Biscuola
[hidden email] writes:

> Hi all.
>
> I installed the latest snapshot and, suddenly, the microphone
> stopped working in firefox.

Does it happen since nss 3.52 update? If so ask landry@ to apply
https://hg.mozilla.org/mozilla-central/rev/463069687b3d

See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Landry Breuil-5
On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:

> [hidden email] writes:
>
> > Hi all.
> >
> > I installed the latest snapshot and, suddenly, the microphone
> > stopped working in firefox.
>
> Does it happen since nss 3.52 update? If so ask landry@ to apply
> https://hg.mozilla.org/mozilla-central/rev/463069687b3d
>
> See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632
Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
time to actually test this helps, but if one can confirm the attached
port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
sure apply it. From my understanding of the FreeBSD bug, it's also
broken on esr ? Can someone test and confirm the patch needs also
backporting there ?

Thanks jan!

Landry

fx-bug1624128.diff (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Landry Breuil-5
On Fri, May 22, 2020 at 04:53:13PM +0200, Landry Breuil wrote:

> On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:
> > [hidden email] writes:
> >
> > > Hi all.
> > >
> > > I installed the latest snapshot and, suddenly, the microphone
> > > stopped working in firefox.
> >
> > Does it happen since nss 3.52 update? If so ask landry@ to apply
> > https://hg.mozilla.org/mozilla-central/rev/463069687b3d
> >
> > See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632
>
> Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
> time to actually test this helps, but if one can confirm the attached
> port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
> sure apply it. From my understanding of the FreeBSD bug, it's also
> broken on esr ? Can someone test and confirm the patch needs also
> backporting there ?

Well, i'm puzzled, because from my own testing here on a freshly updated
-current, i have no issue with webrtc testing (recording cam & mic) on
https://www.webrtc-experiment.com/RecordRTC/, both with firefox-76.0 and
esr 68.8.0, and that with nss 3.52. I dont have libs lying around from
nss 3.51..

so, sure i can backport that commit, but it'd be nice to understand why
this fails for some (many?) and not for me. So please someone else
confirm that this fixes the issue for them :)

Landry

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Landry Breuil-5
In reply to this post by Andrea Biscuola
On Thu, May 21, 2020 at 02:32:01PM +0200, Andrea Biscuola wrote:
> Hi Solene
>
>
> Ok, I tried the website you posted  and everything is fine. The mic works ok. However, we use tools for work such as hangouts and bigbluebutton for teleconferencing and there, the microphone still doesn't works.

ok, so something else to try ... can you locally revert/remove
patches/patch-media_libcubeb_src_cubeb_sndio_c and check if this helps ?
This was recently changed by ratchov@ to fix *some* recordings, and im
pretty sure he tested many sites with it.

Landry

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Landry Breuil-5
In reply to this post by Landry Breuil-5
On Sat, May 23, 2020 at 07:53:41AM +0200, Landry Breuil wrote:

> On Fri, May 22, 2020 at 04:53:13PM +0200, Landry Breuil wrote:
> > On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:
> > > [hidden email] writes:
> > >
> > > > Hi all.
> > > >
> > > > I installed the latest snapshot and, suddenly, the microphone
> > > > stopped working in firefox.
> > >
> > > Does it happen since nss 3.52 update? If so ask landry@ to apply
> > > https://hg.mozilla.org/mozilla-central/rev/463069687b3d
> > >
> > > See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632
> >
> > Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
> > time to actually test this helps, but if one can confirm the attached
> > port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
> > sure apply it. From my understanding of the FreeBSD bug, it's also
> > broken on esr ? Can someone test and confirm the patch needs also
> > backporting there ?
>
> Well, i'm puzzled, because from my own testing here on a freshly updated
> -current, i have no issue with webrtc testing (recording cam & mic) on
> https://www.webrtc-experiment.com/RecordRTC/, both with firefox-76.0 and
> esr 68.8.0, and that with nss 3.52. I dont have libs lying around from
> nss 3.51..
>
> so, sure i can backport that commit, but it'd be nice to understand why
> this fails for some (many?) and not for me. So please someone else
> confirm that this fixes the issue for them :)

Jan, i see that mike hommey fixed the issue in debian with this:
https://salsa.debian.org/mozilla-team/firefox/-/commit/87df541b27a0b012e843978a0343f2918e0f2f58
(corresponding bug is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960012)

it looks like a simpler fix, have you considered it in FreeBSD ?

Landry

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
In reply to this post by Jan Beich
Hi Jan.

On Fri, 22 May 2020 05:05:38 +0200
Jan Beich <[hidden email]> wrote:

> [hidden email] writes:
>
> > Hi all.
> >
> > I installed the latest snapshot and, suddenly, the microphone
> > stopped working in firefox.  
>
> Does it happen since nss 3.52 update? If so ask landry@ to apply
> https://hg.mozilla.org/mozilla-central/rev/463069687b3d
>
> See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632
>

I checked and it seems related to the latest update to nss 3.52.

--
Andrea

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
In reply to this post by Landry Breuil-5
Hi Landry.

On Sat, 23 May 2020 07:53:41 +0200
Landry Breuil <[hidden email]> wrote:

> On Fri, May 22, 2020 at 04:53:13PM +0200, Landry Breuil wrote:
> > On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:  
> > > [hidden email] writes:
> > >  
> > > > Hi all.
> > > >
> > > > I installed the latest snapshot and, suddenly, the microphone
> > > > stopped working in firefox.  
> > >
> > > Does it happen since nss 3.52 update? If so ask landry@ to apply
> > > https://hg.mozilla.org/mozilla-central/rev/463069687b3d
> > >
> > > See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632 
> >
> > Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
> > time to actually test this helps, but if one can confirm the attached
> > port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
> > sure apply it. From my understanding of the FreeBSD bug, it's also
> > broken on esr ? Can someone test and confirm the patch needs also
> > backporting there ?  
>
> Well, i'm puzzled, because from my own testing here on a freshly updated
> -current, i have no issue with webrtc testing (recording cam & mic) on
> https://www.webrtc-experiment.com/RecordRTC/, both with firefox-76.0 and
> esr 68.8.0, and that with nss 3.52. I dont have libs lying around from
> nss 3.51..
>
> so, sure i can backport that commit, but it'd be nice to understand why
> this fails for some (many?) and not for me. So please someone else
> confirm that this fixes the issue for them :)
>
> Landry
>

Just as a confirmation the situation is weird, I tried WebRTC at the link
you posted:

        https://www.webrtc-experiment.com/RecordRTC/

And it works! After that, I tested again:

        https://test.bigbluebutton.org/

And the audio doesn't work. Notice that also the webcam isn't working,
but this happened also before (I tried to raise a bug to the developers,
without success). Previously, the mic was ok.

I also tried again with hangouts, with the same results. No audio from the
microphone.

Regards.

--
Andrea

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
In reply to this post by Landry Breuil-5
Hi Landry

On Sat, 23 May 2020 07:57:38 +0200
Landry Breuil <[hidden email]> wrote:

> On Thu, May 21, 2020 at 02:32:01PM +0200, Andrea Biscuola wrote:
> > Hi Solene
> >
> >
> > Ok, I tried the website you posted  and everything is fine. The mic works ok. However, we use tools for work such as hangouts and bigbluebutton for teleconferencing and there, the microphone still doesn't works.  
>
> ok, so something else to try ... can you locally revert/remove
> patches/patch-media_libcubeb_src_cubeb_sndio_c and check if this helps ?
> This was recently changed by ratchov@ to fix *some* recordings, and im
> pretty sure he tested many sites with it.
>
> Landry
>

Ok, I'll try and see if I can  build the port. I'll be back to you once done.

--
Andrea

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Alexandre Ratchov-2
In reply to this post by Landry Breuil-5
On Sat, May 23, 2020 at 07:57:38AM +0200, Landry Breuil wrote:

> On Thu, May 21, 2020 at 02:32:01PM +0200, Andrea Biscuola wrote:
> > Hi Solene
> >
> >
> > Ok, I tried the website you posted  and everything is fine. The mic works ok. However, we use tools for work such as hangouts and bigbluebutton for teleconferencing and there, the microphone still doesn't works.
>
> ok, so something else to try ... can you locally revert/remove
> patches/patch-media_libcubeb_src_cubeb_sndio_c and check if this helps ?
> This was recently changed by ratchov@ to fix *some* recordings, and im
> pretty sure he tested many sites with it.
>

you could try the following:

First ensure recording works. Example, record a file, then play it to
check it has the expected content:

        $ aucat -o /tmp/foo.wav
        talk to the microphone then press ^C, and play the result
        $ aucat -i /tmp/foo.wav

Then stop sndiod and run it (as root) as follows:

        sndiod -ddd

restart firefox and try using your audioconferencing website and see
what's going on: does it attempts to record? does it start and stop
continuously? possibly send me sndiod output.

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Alexandre Ratchov-2
In reply to this post by Andrea Biscuola
On Sat, May 23, 2020 at 12:26:25PM +0200, Andrea Biscuola wrote:

> Hi Landry.
>
> On Sat, 23 May 2020 07:53:41 +0200
> Landry Breuil <[hidden email]> wrote:
>
> > On Fri, May 22, 2020 at 04:53:13PM +0200, Landry Breuil wrote:
> > > On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:  
> > > > [hidden email] writes:
> > > >  
> > > > > Hi all.
> > > > >
> > > > > I installed the latest snapshot and, suddenly, the microphone
> > > > > stopped working in firefox.  
> > > >
> > > > Does it happen since nss 3.52 update? If so ask landry@ to apply
> > > > https://hg.mozilla.org/mozilla-central/rev/463069687b3d
> > > >
> > > > See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632 
> > >
> > > Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
> > > time to actually test this helps, but if one can confirm the attached
> > > port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
> > > sure apply it. From my understanding of the FreeBSD bug, it's also
> > > broken on esr ? Can someone test and confirm the patch needs also
> > > backporting there ?  
> >
> > Well, i'm puzzled, because from my own testing here on a freshly updated
> > -current, i have no issue with webrtc testing (recording cam & mic) on
> > https://www.webrtc-experiment.com/RecordRTC/, both with firefox-76.0 and
> > esr 68.8.0, and that with nss 3.52. I dont have libs lying around from
> > nss 3.51..
> >
> > so, sure i can backport that commit, but it'd be nice to understand why
> > this fails for some (many?) and not for me. So please someone else
> > confirm that this fixes the issue for them :)
> >
> > Landry
> >
>
> Just as a confirmation the situation is weird, I tried WebRTC at the link
> you posted:
>
> https://www.webrtc-experiment.com/RecordRTC/
>
> And it works! After that, I tested again:
>
> https://test.bigbluebutton.org/
>
> And the audio doesn't work. Notice that also the webcam isn't working,
> but this happened also before (I tried to raise a bug to the developers,
> without success). Previously, the mic was ok.
>
> I also tried again with hangouts, with the same results. No audio from the
> microphone.
>

I just tried above two links with the firefox 76 package, on -current,
and recording works in both (audio only, no webcam).

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Andrea Biscuola
In reply to this post by Alexandre Ratchov-2
Hi Alexandre

Just as an information, I tried to upgrade the system today
with the latest snapshot and the latest packages. No luck, as
the mic doesn't work with the teleconferencing tools

On Mon, 25 May 2020 09:55:11 +0200
Alexandre Ratchov <[hidden email]> wrote:

> On Sat, May 23, 2020 at 07:57:38AM +0200, Landry Breuil wrote:
> > On Thu, May 21, 2020 at 02:32:01PM +0200, Andrea Biscuola wrote:
> > > Hi Solene
> > >
> > >
> > > Ok, I tried the website you posted  and everything is fine. The mic works ok. However, we use tools for work such as hangouts and bigbluebutton for teleconferencing and there, the microphone still doesn't works.
> >
> > ok, so something else to try ... can you locally revert/remove
> > patches/patch-media_libcubeb_src_cubeb_sndio_c and check if this helps ?
> > This was recently changed by ratchov@ to fix *some* recordings, and im
> > pretty sure he tested many sites with it.
> >
>
> you could try the following:
>
> First ensure recording works. Example, record a file, then play it to
> check it has the expected content:
>
> $ aucat -o /tmp/foo.wav
> talk to the microphone then press ^C, and play the result
> $ aucat -i /tmp/foo.wav

Ok, recording works, I can register and listen to the audio track.

>
> Then stop sndiod and run it (as root) as follows:
>
> sndiod -ddd
>
> restart firefox and try using your audioconferencing website and see
> what's going on: does it attempts to record? does it start and stop
> continuously? possibly send me sndiod output.
>

Here is the output from sndiod with debugging enabled.
The steps were:

1. Started sndiod as:

        # sndiod -ddd

2. Started firefox

3. Opened https://test.bigbluebutton.org

4. Inserted username and allowed the website to access the microphone

5. The audio test is started.

6. I hear nothing back from the registration.

7. Stopped Firefox

8 Stopped sndiod

snd3 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
snd2 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
snd1 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
worker(worker|ini): created
listen(/tmp/sndio/sock0|ini): created
helper(helper|ini): created
sock(sock|ini): created
helper: recv: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
helper: recv: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 6
snd0 pst=cfg: using rsnd/0
worker: send: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 7
sio(dev|ini): created
sioctl(mix|ini): created
snd0 pst=cfg: adding output0.level=150 at 9
snd0 pst=cfg: adding output1.level=150 at 10
snd0 pst=cfg: adding output0.mute=0 at 41
snd0 pst=cfg: adding output1.mute=0 at 42
snd0 pst=cfg: adding input0.level=124 at 73
snd0 pst=cfg: adding input1.level=124 at 74
snd0 pst=cfg: adding input0.mute=0 at 105
snd0 pst=cfg: adding input1.mute=0 at 106
snd0 pst=cfg: 48000Hz, s16le, play 0:1, rec 0:1, 16 blocks of 480 frames
snd0 pst=cfg: adding app/firefox0.level=127 at 0
firefox0 vol=127,pst=ini: using snd0 pst=ini.default, mode = 1
sock(sock|ini): processed in 11054us
firefox0 vol=127,pst=ini,rmsg,widl: BYE message
firefox0 vol=127,pst=ini,rmsg,widl: closing
snd0 pst=ini: device released
snd0 pst=cfg: software master level control enabled
snd0 pst=cfg: adding output.level=127 at 8
snd0 pst=cfg: closed
sio(dev|zom): destroyed
sioctl(mix|zom): destroyed
snd0 pst=cfg: closing
sock(sock|zom): destroyed
sock(sock|ini): created
sock,rmsg,widl: AUTH message
helper: recv: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
helper: recv: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 6
snd0 pst=cfg: using rsnd/0
worker: send: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 7
sio(dev|ini): created
sioctl(mix|ini): created
snd0 pst=cfg: adding output0.level=150 at 9
snd0 pst=cfg: adding output1.level=150 at 10
snd0 pst=cfg: adding output0.mute=0 at 41
snd0 pst=cfg: adding output1.mute=0 at 42
snd0 pst=cfg: adding input0.level=124 at 73
snd0 pst=cfg: adding input1.level=124 at 74
snd0 pst=cfg: adding input0.mute=0 at 105
snd0 pst=cfg: adding input1.mute=0 at 106
snd0 pst=cfg: 48000Hz, s16le, play 0:1, rec 0:1, 16 blocks of 480 frames
snd0 pst=cfg: adding app/firefox0.level=127 at 0
firefox0 vol=127,pst=ini: using snd0 pst=ini.default, mode = 1
firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:7 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks
firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: START message
firefox0 vol=127,pst=ini: playing s16le -> s16le
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 6
firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers
firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:7, 4 blocks of 480 frames
firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127
snd0 pst=ini: device started
snd0 pst=run: started
firefox0 vol=127,pst=run: attached at -7680, delta = 0
firefox0 vol=127,pst=run: set weight: 23170/23170
firefox0 vol=127,pst=run,rmsg,widl: STOP message
firefox0 vol=127,pst=run: stopping
firefox0 vol=127,pst=ini,rmsg,widl: stopped
firefox0 vol=127,pst=ini: drained
firefox0 vol=127,pst=ini,rmsg,widl: building STOP message
firefox0 vol=127,pst=ini,rmsg,widl: BYE message
firefox0 vol=127,pst=ini,rmsg,widl: closing
snd0 pst=run: device released
sock(sock|zom): destroyed
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <firefox>, mode = 3, ver 7
snd0 pst=run: device requested
firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 3
firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: recording channels 0:1 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:7 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks
firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: START message
firefox0 vol=127,pst=ini: playing s16le -> s16le
firefox0 vol=127,pst=ini: recording s16le <- s16le
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 6
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers
firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:7, rec 0:1, 4 blocks of 480 frames
firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127
firefox0 vol=127,pst=run: attached at -7680, delta = 0
firefox0 vol=127,pst=run: set weight: 23170/23170
firefox0 vol=127,pst=run: prime = 16
firefox0 vol=127,pst=run: prime = 15
firefox0 vol=127,pst=run,rmsg,widl: STOP message
firefox0 vol=127,pst=run: stopping
firefox0 vol=127,pst=ini,rmsg,widl: stopped
firefox0 vol=127,pst=ini: drained
firefox0 vol=127,pst=ini,rmsg,widl: building STOP message
firefox0 vol=127,pst=ini,rmsg,widl: BYE message
firefox0 vol=127,pst=ini,rmsg,widl: closing
snd0 pst=run: device released
sock(sock|zom): destroyed
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <firefox>, mode = 3, ver 7
snd0 pst=run: device requested
firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 3
firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: recording channels 0:1 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:1 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks
firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: START message
firefox0 vol=127,pst=ini: playing s16le -> s16le
firefox0 vol=127,pst=ini: recording s16le <- s16le
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers
firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:1, rec 0:1, 4 blocks of 480 frames
firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127
firefox0 vol=127,pst=run: attached at -7680, delta = 0
firefox0 vol=127,pst=run: set weight: 23170/23170
firefox0 vol=127,pst=run: prime = 16
firefox0 vol=127,pst=run: prime = 15
firefox0 vol=127,pst=run: prime = 14
firefox0 vol=127,pst=run: prime = 13
firefox0 vol=127,pst=run: prime = 12
firefox0 vol=127,pst=run: prime = 11
firefox0 vol=127,pst=run: prime = 10
firefox0 vol=127,pst=run: prime = 9
firefox0 vol=127,pst=run: prime = 8
firefox0 vol=127,pst=run: prime = 7
firefox0 vol=127,pst=run: prime = 6
firefox0 vol=127,pst=run: prime = 5
firefox0 vol=127,pst=run: prime = 4
firefox0 vol=127,pst=run: prime = 3
firefox0 vol=127,pst=run: prime = 2
firefox0 vol=127,pst=run: prime = 1
sio(dev|ini): processed in 11417us
firefox0 vol=127,pst=run,rmsg,widl: STOP message
firefox0 vol=127,pst=run: stopping
firefox0 vol=127,pst=ini,rmsg,widl: stopped
firefox0 vol=127,pst=ini: drained
firefox0 vol=127,pst=ini,rmsg,widl: building STOP message
firefox0 vol=127,pst=ini,rmsg,widl: BYE message
firefox0 vol=127,pst=ini,rmsg,widl: closing
snd0 pst=run: device released
sock(sock|zom): destroyed
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7
snd0 pst=run: device requested
firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 1
firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:1 -> 0:1
firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks
firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message
firefox0 vol=127,pst=ini,rmsg,widl: START message
firefox0 vol=127,pst=ini: playing s16le -> s16le
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers
firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:1, 4 blocks of 480 frames
firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127
firefox0 vol=127,pst=sta,rmsg,widl: STOP message
firefox0 vol=127,pst=sta: stopping
firefox0 vol=127,pst=run: attached at -7680, delta = 0
firefox0 vol=127,pst=run: set weight: 23170/23170
firefox0 vol=127,pst=ini,rmsg,widl: stopped
firefox0 vol=127,pst=ini: drained
firefox0 vol=127,pst=ini,rmsg,widl: building STOP message
firefox0 vol=127,pst=ini,rmsg,widl: BYE message
firefox0 vol=127,pst=ini,rmsg,widl: closing
snd0 pst=run: device released
sock(sock|zom): destroyed
snd0 pst=run: device stopped
snd0 pst=run: stopped, load avg = 293469 / 19170525
snd0 pst=cfg: software master level control enabled
snd0 pst=cfg: adding output.level=127 at 8
snd0 pst=cfg: closed
sio(dev|zom): destroyed
sioctl(mix|zom): destroyed
snd0 pst=cfg: closing
sio(dev|zom): processed in 9749us
^Chelper: hup
helper(helper|zom): destroyed
nothing to do...
worker(worker|zom): destroyed
listen(/tmp/sndio/sock0|zom): destroyed
snd3 pst=cfg: draining
snd2 pst=cfg: draining
snd1 pst=cfg: draining
snd0 pst=cfg: draining
nothing to do...
snd3 pst=cfg: deleting
snd2 pst=cfg: deleting
snd1 pst=cfg: deleting
snd0 pst=cfg: deleting

It seems to be restarting, but not being an expert about sndiod(8), I can't tell for sure.

Regards.

--
Andrea

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Alexandre Ratchov-2
On Mon, May 25, 2020 at 10:18:02PM +0200, Andrea Biscuola wrote:
> Hi Alexandre
>
> Just as an information, I tried to upgrade the system today
> with the latest snapshot and the latest packages. No luck, as
> the mic doesn't work with the teleconferencing tools
>

I just did a "pkg_add -uI" again and I confirm, it's broken. The only
difference I see is the nss version.

Reply | Threaded
Open this post in threaded view
|

Re: [-CURRENT] Microphone does not work in firefox anymore

Alexandre Ratchov-2
In reply to this post by Landry Breuil-5
On Fri, May 22, 2020 at 04:53:13PM +0200, Landry Breuil wrote:

> On Fri, May 22, 2020 at 05:05:38AM +0200, Jan Beich wrote:
> > [hidden email] writes:
> >
> > > Hi all.
> > >
> > > I installed the latest snapshot and, suddenly, the microphone
> > > stopped working in firefox.
> >
> > Does it happen since nss 3.52 update? If so ask landry@ to apply
> > https://hg.mozilla.org/mozilla-central/rev/463069687b3d
> >
> > See https://bugzilla.mozilla.org/show_bug.cgi?id=1636632
>
> Well, what a shitshow. I dont use 76 (only 77beta here) and wont have
> time to actually test this helps, but if one can confirm the attached
> port patch fixes webrtc on 76 (and 68esr, if it's broken) then yes i'll
> sure apply it. From my understanding of the FreeBSD bug, it's also
> broken on esr ? Can someone test and confirm the patch needs also
> backporting there ?
>
> Thanks jan!
>
> Landry


This fixes the bluebutton.org problem (that I finally managed to
reproduce on -current).