Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769389 - www-client/firefox[-pulseaudio]: microphone is silent
Summary: www-client/firefox[-pulseaudio]: microphone is silent
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 06:36 UTC by Vitaly Zdanevich
Modified: 2021-06-16 17:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info -- firefox-89 (emerge-info.firefox-89.txt,7.88 KB, text/plain)
2021-06-16 10:18 UTC, sphakka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2021-02-08 06:36:27 UTC
Microphone records me in Google Meet in www-client/google-chrome.

emerge --info:

Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, 5.4.92-gentoo+ x86_64)
=================================================================
System uname: Linux-5.4.92-gentoo+-x86_64-Intel-R-_Celeron-R-_CPU_N2920_@_1.86GHz-with-glibc2.2.5
KiB Mem:     3920756 total,   1317812 free
KiB Swap:    3906556 total,   3906556 free
Timestamp of repository gentoo: Mon, 08 Feb 2021 02:00:01 +0000
Head commit of repository gentoo: 8f5a73d9c76d759b31d39bf90e1a4ff33e492a1a
Timestamp of repository torbrowser: Fri, 05 Feb 2021 11:17:34 +0000
Head commit of repository torbrowser: faa2f05515fed8f8c1a87a5726698367c8c7aed1

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification statusnotifier svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vitaly Zdanevich 2021-02-08 06:37:21 UTC
=================================================================
                        Package Settings
=================================================================

www-client/firefox-85.0-r1::gentoo was built with the following:
USE="clang dbus gmp-autoupdate openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto -pgo -pulseaudio -screencast (-selinux) -wayland -wifi" ABI_X86="(64)" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW"
CFLAGS="-march=native -pipe"
CXXFLAGS="-march=native -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
Comment 2 Vitaly Zdanevich 2021-02-08 06:48:28 UTC
Check microphone here https://www.onlinemictest.com
Comment 3 Jonas Stein gentoo-dev 2021-02-08 23:04:38 UTC
Please test, report and reopen.
Comment 4 Vitaly Zdanevich 2021-02-09 17:05:01 UTC
Updated to 85.0.1, AMD64 - the same results on https://www.onlinemictest.com: silence in Firefox, records in www-client/google-chrome. Or did you mean build time tests?
Comment 5 Vitaly Zdanevich 2021-03-02 11:54:34 UTC
Another machine, Firefox 86.0 (i686), also microphone is silent on https://meet.google.com and https://www.onlinemictest.com, but works on firefox-bin of the same version.

emerge --info:
Portage 3.0.13 (python 3.8.7-final-0, default/linux/x86/17.0/desktop, gcc-9.3.0, glibc-2.32-r7, 5.4.97-gentoo+ i686)
=================================================================
System uname: Linux-5.4.97-gentoo+-i686-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-glibc2.1.3
KiB Mem:     3752192 total,   1220600 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Mon, 01 Mar 2021 00:15:01 +0000
Head commit of repository gentoo: 23bdbd55c4375a7feb4f3c97cbfdff3a89885288
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync2.ru.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE @FREE ipw3945"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=ivybridge -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=ivybridge -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=ivybridge -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=ivybridge -pipe"
GENTOO_MIRRORS="http://ftp.byfly.by/pub/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdr cli crypt dbus dri dts dvdr elogind emboss eme-free encode exif ffmpeg flac fortran gdbm gif glamor gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libinput libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis vpx webp wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Thomas Deutschmann gentoo-dev Security 2021-03-07 23:19:06 UTC
Working without any problems for me, including shown test page.

Check how you use your sound device. Please note that you have disabled almost any sound support due to USE="-jack -pulseaudio -screencast". I never tried alsa backend, I cannot help you with that.
Comment 7 Vitaly Zdanevich 2021-03-08 00:50:50 UTC
On https://www.onlinemictest.com mic works in www-client/vivaldi. Do I need to emerge Firefox with a screencast flag?
Comment 8 Thomas Deutschmann gentoo-dev Security 2021-03-08 01:11:57 UTC
No, USE=screencast only works with USE=wayland. But you are on X11 so you cannot use it.

Please tell us how you configured your sound. Do you really use no pulseaudio?
Comment 9 Vitaly Zdanevich 2021-03-08 01:30:30 UTC
No special configuration. No pulseaudio - I think that ALSA is easier on system resources.

┌──────────────────────── AlsaMixer v1.2.3 ────────────────────────┐
│ Card: HDA Intel PCH                      F1:  Help               │
│ Chip: Realtek ALC3202                    F2:  System information │
│ View: F3: Playback  F4:[Capture] F5: All F6:  Select sound card  │
│ Item: Capture [dB gain: 12.00, 12.00]    Esc: Exit               │
│                                                                  │
│                                                                  │
│                                                                  │
│                                                                  │
│                                                                  │
│     ┌──┐         ┌──┐         ┌──┐         ┌──┐         ┌──┐     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │  │         │  │         │  │         │  │     │
│     │  │         │▒▒│         │  │         │  │         │  │     │
│     │  │         │▒▒│         │  │         │  │         │  │     │
│     │  │         │▒▒│         │  │         │  │         │  │     │
│     │  │         │▒▒│         │▒▒│         │  │         │  │     │
│     │  │         │▒▒│         │▒▒│         │  │         │  │     │
│     │  │         │▒▒│         │▒▒│         │  │         │  │     │
│     │  │         │▒▒│         │▒▒│         │  │         │  │     │
│     │  │         │▒▒│         │▒▒│         │  │         │  │     │
│     └──┘        L└──┘R        └──┘         └──┘         └──┘     │
│                CAPTURE                                           │
│     0<>0        40<>40       24<>24        0<>0         0<>0     │
│  Mic Boost  <  Capture   >  Digital    Dock Mic Boo Internal Mic │
│                                                                  │
│                                                                  │
│                                                                  │
│                                                                  │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘
Comment 10 Vitaly Zdanevich 2021-04-24 09:10:07 UTC
The same problem, Firefox 88, but records successfully in Audacity :(
Comment 11 Maciej S. Szmigiero 2021-04-24 12:33:58 UTC
+1 here.

In addition to a microphone not being detected,
https://webrtc.github.io/samples/src/content/devices/input-output/ shows no audio output devices either for me (but a camera is detected properly).

I guess that is because I have a custom "default" device override in /etc/asound.conf, but I didn't have time yet to dig deeper.

Note that WebRTC audio output detection is a separate thing from normal media sound output (like on YouTube, etc.) - this is working fine.
Comment 12 sphakka 2021-06-16 10:17:21 UTC
Same with FF-89, emerge info attached.

OK with Vivaldi snapshot 3.6.2165.32.
Comment 13 sphakka 2021-06-16 10:18:01 UTC
Created attachment 716445 [details]
emerge info -- firefox-89
Comment 14 Zdravko Spoljar 2021-06-16 17:53:00 UTC
Vitaly Zdanevich , try set "Mic boost" to max.