GNU bug report logs - #36961
Can't use microphone in ungoogled-chromium

Previous Next

Package: guix;

Reported by: Brian Leung <bkleung89 <at> gmail.com>

Date: Wed, 7 Aug 2019 16:22:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36961 in the body.
You can then email your comments to 36961 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Wed, 07 Aug 2019 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Leung <bkleung89 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 07 Aug 2019 16:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Leung <bkleung89 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Can't use microphone in ungoogled-chromium
Date: Wed, 7 Aug 2019 18:20:50 +0200
[Message part 1 (text/plain, inline)]
When a microphone is plugged in, ungoogled-chromium fails to detect it.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Mon, 12 Aug 2019 10:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Brian Leung <bkleung89 <at> gmail.com>
Cc: 36961 <at> debbugs.gnu.org
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Mon, 12 Aug 2019 12:38:20 +0200
Brian Leung <bkleung89 <at> gmail.com> writes:

> When a microphone is plugged in, ungoogled-chromium fails to detect it.

I have the same issue here.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Mon, 19 Aug 2019 18:44:02 GMT) Full text and rfc822 format available.

Message #11 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: 36961 <at> debbugs.gnu.org
Subject: Can't use microphone in ungoogled-chromium
Date: Mon, 19 Aug 2019 14:43:39 -0400 (EDT)
I think that this is related to the same thing that is being discussed in 
upstream issue 785 
<https://github.com/Eloston/ungoogled-chromium/issues/785>. In particular, 
it looks like Guix is disabling audio capture ins master-preferences.json 
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files/chromium/master-preferences.json#n21>.

I haven't yet had a chance to dig deeper or try a fix, apologies.

I'm also curious to know why it was disabled before recommending that it 
be changed.

All the best,
Jack




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Mon, 26 Aug 2019 12:37:02 GMT) Full text and rfc822 format available.

Message #14 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Lirzin <mthl <at> gnu.org>
Cc: 36961 <at> debbugs.gnu.org, Brian Leung <bkleung89 <at> gmail.com>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Mon, 26 Aug 2019 14:36:33 +0200
Hello,

Mathieu Lirzin <mthl <at> gnu.org> skribis:

> Brian Leung <bkleung89 <at> gmail.com> writes:
>
>> When a microphone is plugged in, ungoogled-chromium fails to detect it.
>
> I have the same issue here.

I initially had the same problem (specifically with Jitsi on
https://riot.im) but switching the input to the right microphone in
‘pavucontrol’ fixed it.

So perhaps it’s just that, for some reason, Chromium picks the wrong
PulseAudio input by default?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Mon, 26 Aug 2019 12:57:02 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: bug-guix <at> gnu.org
Cc: 36961 <at> debbugs.gnu.org, Brian Leung <bkleung89 <at> gmail.com>,
 Mathieu Lirzin <mthl <at> gnu.org>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Mon, 26 Aug 2019 08:56:44 -0400
Ludovic Courtès writes:

> Hello,
>
> Mathieu Lirzin <mthl <at> gnu.org> skribis:
>
>> Brian Leung <bkleung89 <at> gmail.com> writes:
>>
>>> When a microphone is plugged in, ungoogled-chromium fails to detect it.
>>
>> I have the same issue here.
>
> I initially had the same problem (specifically with Jitsi on
> https://riot.im) but switching the input to the right microphone in
> ‘pavucontrol’ fixed it.
>
> So perhaps it’s just that, for some reason, Chromium picks the wrong
> PulseAudio input by default?
>
> Thanks,
> Ludo’.

FWIW I just did a VoIP call using ungoogled-chromium last Friday.  I had
to *both* open pavucontrol and select the right input device and enable
it (it was muted) also click on the microphone button (I don't remember
where) and select the particular device.  Once I did that, worked like a
charm.




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Mon, 26 Aug 2019 12:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Tue, 27 Aug 2019 15:48:01 GMT) Full text and rfc822 format available.

Message #23 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 36961 <at> debbugs.gnu.org
Cc: Christopher Lemmer Webber <cwebber <at> dustycloud.org>, bkleung89 <at> gmail.com,
 mthl <at> gnu.org
Subject: bug#36961: Can't use microphone in ungoogled-chromium
Date: Tue, 27 Aug 2019 17:47:55 +0200
[Message part 1 (text/plain, inline)]
I have the same issue, but the pavucontrol trick does not do it for me
as I have only one microphone (the one of my webcam on my laptop) and
it's not muted.

ungoogled-chromium complains about an "Error obtaining microphone permission."

Note that both the webcam and the microphone work in other contexts
(e.g. audacity, appear.in).

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Tue, 27 Aug 2019 18:14:01 GMT) Full text and rfc822 format available.

Message #26 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mathieu.lirzin <at> nereide.fr>
To: 36961 <at> debbugs.gnu.org
Cc: Christopher Lemmer Webber <cwebber <at> dustycloud.org>, bkleung89 <at> gmail.com,
 Ludovic Courtès <ludo <at> gnu.org>,
 Pierre Neidhardt <mail <at> ambrevar.xyz>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Tue, 27 Aug 2019 20:13:33 +0200
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> I have the same issue, but the pavucontrol trick does not do it for me
> as I have only one microphone (the one of my webcam on my laptop) and
> it's not muted.
>
> ungoogled-chromium complains about an "Error obtaining microphone permission."
>
> Note that both the webcam and the microphone work in other contexts
> (e.g. audacity, appear.in).

Here is a screenshot of the error message I get in chromium with the mic
activated in pavucontrol.

[mic-error.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Tue, 27 Aug 2019 21:37:01 GMT) Full text and rfc822 format available.

Message #29 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Lirzin <mathieu.lirzin <at> nereide.fr>
Cc: 36961 <at> debbugs.gnu.org, bkleung89 <at> gmail.com,
 Pierre Neidhardt <mail <at> ambrevar.xyz>,
 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Tue, 27 Aug 2019 23:36:12 +0200
Hi Mathieu,

Mathieu Lirzin <mathieu.lirzin <at> nereide.fr> skribis:

> Pierre Neidhardt <mail <at> ambrevar.xyz> writes:
>
>> I have the same issue, but the pavucontrol trick does not do it for me
>> as I have only one microphone (the one of my webcam on my laptop) and
>> it's not muted.
>>
>> ungoogled-chromium complains about an "Error obtaining microphone permission."
>>
>> Note that both the webcam and the microphone work in other contexts
>> (e.g. audacity, appear.in).
>
> Here is a screenshot of the error message I get in chromium with the mic
> activated in pavucontrol.

That’s about granting permission to use the microphone.

Jitsi should have a button to request permission for the web page to use
the microphone or webcam, which in turn should trigger a dialog box from
the browser where you can allow/disallow and choose devices.  Did you go
through that process?

HTH,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Tue, 27 Aug 2019 22:08:01 GMT) Full text and rfc822 format available.

Message #32 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Ludovic Courtès <ludo <at> gnu.org>, Mathieu Lirzin
 <mathieu.lirzin <at> nereide.fr>
Cc: 36961 <at> debbugs.gnu.org, bkleung89 <at> gmail.com,
 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Wed, 28 Aug 2019 00:07:50 +0200
[Message part 1 (text/plain, inline)]
In Chromium if you click on the camera button right of the address bar,
you can see the per-domain permissions.  In my case, they are granted
to meet.jit.si.

The compile-time configuration javascript that Jack mentioned might have
something to do with this.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Tue, 03 Sep 2019 11:07:02 GMT) Full text and rfc822 format available.

Message #35 received at 36961 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mathieu.lirzin <at> nereide.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 36961 <at> debbugs.gnu.org, bkleung89 <at> gmail.com,
 Pierre Neidhardt <mail <at> ambrevar.xyz>,
 Mathieu Lirzin <mathieu.lirzin <at> nereide.fr>,
 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Tue, 03 Sep 2019 13:06:30 +0200
Hello Ludo,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Mathieu Lirzin <mathieu.lirzin <at> nereide.fr> skribis:
>
>> Pierre Neidhardt <mail <at> ambrevar.xyz> writes:
>>
>>> I have the same issue, but the pavucontrol trick does not do it for me
>>> as I have only one microphone (the one of my webcam on my laptop) and
>>> it's not muted.
>>>
>>> ungoogled-chromium complains about an "Error obtaining microphone permission."
>>>
>>> Note that both the webcam and the microphone work in other contexts
>>> (e.g. audacity, appear.in).
>>
>> Here is a screenshot of the error message I get in chromium with the mic
>> activated in pavucontrol.
>
> That’s about granting permission to use the microphone.
>
> Jitsi should have a button to request permission for the web page to use
> the microphone or webcam, which in turn should trigger a dialog box from
> the browser where you can allow/disallow and choose devices.  Did you go
> through that process?

Yes, I have tried to manually force allowing of the microphone for Jitsi
but Chromium fallback to "blocked" even when manually selecting the
"allowed" (either in the URL bar icon or in chromium settings
interface).

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Wed, 04 Sep 2019 11:20:01 GMT) Full text and rfc822 format available.

Notification sent to Brian Leung <bkleung89 <at> gmail.com>:
bug acknowledged by developer. (Wed, 04 Sep 2019 11:20:02 GMT) Full text and rfc822 format available.

Message #40 received at 36961-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>, Ludovic Courtès
 <ludo <at> gnu.org>, Mathieu Lirzin <mathieu.lirzin <at> nereide.fr>
Cc: 36961-done <at> debbugs.gnu.org, bkleung89 <at> gmail.com
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Wed, 04 Sep 2019 13:19:29 +0200
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> In Chromium if you click on the camera button right of the address bar,
> you can see the per-domain permissions.  In my case, they are granted
> to meet.jit.si.
>
> The compile-time configuration javascript that Jack mentioned might have
> something to do with this.

Hello!

Sorry for the slow response here...

I can confirm that removing audio_capture_enabled from
master_preferences.json solves this issue.  Fix pushed in
5ee1c0459eebdd3b7771abaeab0f0b52ff86fdd5.

For existing Chromium profiles, you will need to close all browser
windows and run

 sed -i 's/"audio_capture_enabled":false/"audio_capture_enabled":true/' \
     ~/.config/chromium/Default/Preferences 

...to get the new default.

Thanks!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Wed, 04 Sep 2019 11:40:01 GMT) Full text and rfc822 format available.

Message #43 received at 36961-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 36961-done <at> debbugs.gnu.org, bkleung89 <at> gmail.com,
 Ludovic Courtès <ludo <at> gnu.org>,
 Pierre Neidhardt <mail <at> ambrevar.xyz>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Wed, 04 Sep 2019 13:39:36 +0200
Hello Marius,

Marius Bakke <mbakke <at> fastmail.com> writes:

> Pierre Neidhardt <mail <at> ambrevar.xyz> writes:
>
>> In Chromium if you click on the camera button right of the address bar,
>> you can see the per-domain permissions.  In my case, they are granted
>> to meet.jit.si.
>>
>> The compile-time configuration javascript that Jack mentioned might have
>> something to do with this.
>
> Hello!
>
> Sorry for the slow response here...
>
> I can confirm that removing audio_capture_enabled from
> master_preferences.json solves this issue.  Fix pushed in
> 5ee1c0459eebdd3b7771abaeab0f0b52ff86fdd5.
>
> For existing Chromium profiles, you will need to close all browser
> windows and run
>
>  sed -i 's/"audio_capture_enabled":false/"audio_capture_enabled":true/' \
>      ~/.config/chromium/Default/Preferences 
>
> ...to get the new default.

This fix worked for me, thank you very much!

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Information forwarded to bug-guix <at> gnu.org:
bug#36961; Package guix. (Wed, 04 Sep 2019 19:44:02 GMT) Full text and rfc822 format available.

Message #46 received at 36961-done <at> debbugs.gnu.org (full text, mbox):

From: Brian Leung <bkleung89 <at> gmail.com>
To: Mathieu Lirzin <mthl <at> gnu.org>
Cc: 36961-done <at> debbugs.gnu.org, Marius Bakke <mbakke <at> fastmail.com>,
 Pierre Neidhardt <mail <at> ambrevar.xyz>,
 Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#36961: Can't use microphone in ungoogled-chromium
Date: Wed, 4 Sep 2019 21:39:38 +0200
[Message part 1 (text/plain, inline)]
Hi Marius,

I'm getting a build error with the latest push. I've attached the log;
anyone else have the same issue?

Thanks,
Brian

On Wed, Sep 4, 2019 at 1:39 PM Mathieu Lirzin <mthl <at> gnu.org> wrote:

> Hello Marius,
>
> Marius Bakke <mbakke <at> fastmail.com> writes:
>
> > Pierre Neidhardt <mail <at> ambrevar.xyz> writes:
> >
> >> In Chromium if you click on the camera button right of the address bar,
> >> you can see the per-domain permissions.  In my case, they are granted
> >> to meet.jit.si.
> >>
> >> The compile-time configuration javascript that Jack mentioned might have
> >> something to do with this.
> >
> > Hello!
> >
> > Sorry for the slow response here...
> >
> > I can confirm that removing audio_capture_enabled from
> > master_preferences.json solves this issue.  Fix pushed in
> > 5ee1c0459eebdd3b7771abaeab0f0b52ff86fdd5.
> >
> > For existing Chromium profiles, you will need to close all browser
> > windows and run
> >
> >  sed -i 's/"audio_capture_enabled":false/"audio_capture_enabled":true/' \
> >      ~/.config/chromium/Default/Preferences
> >
> > ...to get the new default.
>
> This fix worked for me, thank you very much!
>
> --
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
>
[Message part 2 (text/html, inline)]
[chromium-build-log.drv.bz2 (application/x-bzip, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Oct 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.