From owner-freebsd-desktop@freebsd.org Wed Feb 13 12:28:55 2019 Return-Path: Delivered-To: freebsd-desktop@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7186914EE2C1 for ; Wed, 13 Feb 2019 12:28:55 +0000 (UTC) (envelope-from kamisouckova@gmail.com) Received: from mail-vk1-f193.google.com (mail-vk1-f193.google.com [209.85.221.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C104B880EF for ; Wed, 13 Feb 2019 12:28:51 +0000 (UTC) (envelope-from kamisouckova@gmail.com) Received: by mail-vk1-f193.google.com with SMTP id d201so500581vka.0 for ; Wed, 13 Feb 2019 04:28:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dDj4ZRjAm2yudWIxF5yFphlrQOEOUWN2PLt1bfkT6XM=; b=SRTwQDOOqX01IOKu+A961auRXFC1eUIr5dTkq6Hr1OOOp3SY0SVKf4Ho7a+ZahferD rEpBkKKcqN5zAzxMtxm52TWG+d3hGJNmxf9fJXsmkg335u4IOS+FI3SUOLl74CsRLf8n ooBEGMTmDhpjE117m/w+9i0UcEveS8lVIFgxWsNynRSTUVJWTeBLUIpbC7i54MJ+48OH G7eA1uJ7ncS9pEkxU6/75z28p8xZbI1CBCpvT65rCC66XzWGLcTXUhv14HdYFIrbFpt9 mZ2dcpfQVhGeEouYGXz4Qrg7R9kJ0vOz9ebUdWTi3Jqb/xJJ7nR75cpk+xsDxmjA4xd9 s0cA== X-Gm-Message-State: AHQUAuYY0dCOjqYBsYXK4gRh86kC+r7dhduHvujOy+mLaN4obMWmSU7X vWCa67y/JObzELdHQBTqtunlsrZsGolzV5dwGBGbVe1X X-Google-Smtp-Source: AHgI3Ibfh3++wUvz42hQkaRjmHOXOHzRSqzVEj9l72tz190soCwwlse2dQ/beI+pNqgcBTs0+NRZHpssL+E+/tCdTnU= X-Received: by 2002:a1f:1e09:: with SMTP id e9mr66688vke.18.1550059612310; Wed, 13 Feb 2019 04:06:52 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?S2FtaWxhIFNvdcSNa292w6E=?= Date: Wed, 13 Feb 2019 13:06:41 +0100 Message-ID: Subject: Microphone not working in Firefox To: freebsd-desktop@freebsd.org X-Rspamd-Queue-Id: C104B880EF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kamisouckova@gmail.com designates 209.85.221.193 as permitted sender) smtp.mailfrom=kamisouckova@gmail.com X-Spamd-Result: default: False [-4.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; URIBL_BLOCKED(0.00)[libsmime3.so.multi.uribl.com,libnspr4.so.multi.uribl.com,libplc4.so.multi.uribl.com,libnss3.so.multi.uribl.com,libnssutil3.so.multi.uribl.com,webrtc.org.multi.uribl.com,libssl3.so.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+,1:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[193.221.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.95)[-0.945,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[kamila@ksp.sk,kamisouckova@gmail.com]; DMARC_NA(0.00)[ksp.sk]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[kamila@ksp.sk,kamisouckova@gmail.com]; IP_SCORE(-1.16)[ipnet: 209.85.128.0/17(-3.77), asn: 15169(-1.97), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 12:28:55 -0000 Hello, I recently installed FreeBSD on my laptop (X1 Carbon 4th gen). The hardware support is not terrible, but I am having issues higher up in the stack. One of the problems I've encountered is that I cannot get my microphone working in Firefox, even though it works in native applications and in Chromium. "Doesn't work" means that: - Firefox thinks I have a "default" microphone and asks for permission when I try to use it. - Websites that test microphone by recording and playing it back either get silence or complain about being unable to find the microphone. - https://test.webrtc.org/ reports: Audio capture [ OK ] Audio track created using device=default [ FAILED ] No active input channels detected. Microphone is most likely muted or broken, please check if muted in the sound settings or physically on the device. Then rerun the test. - It works in Chromium: I can hear myself when I record and re-play on a mic testing website. - I do not have PulseAudio installed and I believe my Firefox is using Alsa emulation. - As Chromium seems to be compiled without PulseAudio, I tried recompiling Firefox with PULSEAUDIO: off. No change. - This is probably useless, but: My webcam works in Firefox. pkg info firefox: firefox-65.0_2,1 Name : firefox Version : 65.0_2,1 Installed on : Tue Feb 12 19:23:52 2019 CET Origin : www/firefox Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : ipv6 www Licenses : Maintainer : gecko@FreeBSD.org WWW : http://www.mozilla.com/firefox Comment : Web browser based on the browser portion of Mozilla Options : ALSA : on CANBERRA : off DBUS : on DEBUG : off FFMPEG : on GCONF : on JACK : off LIBPROXY : off OPTIMIZED_CFLAGS: on PROFILE : on PULSEAUDIO : off SNDIO : off TEST : off Shared Libs required: libdbus-glib-1.so.2 libgtk-x11-2.0.so.0 libXext.so.6 libpango-1.0.so.0 libjpeg.so.8 libpixman-1.so.0 libsqlite3.so.0 libcairo.so.2 libgtk-3.so.0 libffi.so.6 libxcb-shm.so.0 libX11-xcb.so.1 libfreetype.so.6 libwebp.so.7 libcairo-gobject.so.2 libatk-1.0.so.0 libevent-2.1.so.6 libXt.so.6 libplc4.so libXcomposite.so.1 libxcb.so.1 libgdk_pixbuf-2.0.so.0 libgio-2.0.so.0 libssl3.so libXfixes.so.3 libwebpdemux.so.2 libnss3.so libnssutil3.so libnspr4.so libgobject-2.0.so.0 libicuuc.so.63 libharfbuzz.so.0 libstartup-notification-1.so.0 libX11.so.6 libdbus-1.so.3 libXdamage.so.1 libglib-2.0.so.0 libgraphite2.so.3 libasound.so.2 libgdk-x11-2.0.so.0 libpng16.so.16 libXrender.so.1 libicui18n.so.63 libfontconfig.so.1 libsmime3.so libgdk-3.so.0 Annotations : FreeBSD_version: 1200086 cpe : cpe:2.3:a:mozilla:firefox:65.0:::::freebsd12:x64:2 no_provide_shlib: yes repo_type : binary repository : poudriere-local Where can I go from here? Thank you! Best, Kamila From owner-freebsd-desktop@freebsd.org Wed Feb 13 12:57:08 2019 Return-Path: Delivered-To: freebsd-desktop@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FC5114EEAA8 for ; Wed, 13 Feb 2019 12:57:08 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C75D388DF2 for ; Wed, 13 Feb 2019 12:57:06 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.lissoft.com.ua ([109.237.91.29] helo=thinkpad.flex-it.com.ua) by mail.flex-it.com.ua with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gtu5u-00020G-Rb; Wed, 13 Feb 2019 14:56:54 +0200 Subject: Re: Microphone not working in Firefox To: freebsd-desktop@freebsd.org, kamila@ksp.sk References: From: Alexandr Krivulya Message-ID: <8656c588-a4fa-e04c-18b8-9a9d99ea02b9@shurik.kiev.ua> Date: Wed, 13 Feb 2019 14:56:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-SA-Exim-Connect-IP: 109.237.91.29 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on mail.flex-it.com.ua); SAEximRunCond expanded to false X-Rspamd-Queue-Id: C75D388DF2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua X-Spamd-Result: default: False [-2.62 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URIBL_BLOCKED(0.00)[webrtc.org.multi.uribl.com,libssl3.so.multi.uribl.com,libsmime3.so.multi.uribl.com,libplc4.so.multi.uribl.com,libnss3.so.multi.uribl.com,libnssutil3.so.multi.uribl.com,libnspr4.so.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.986,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[graal.shurik.kiev.ua]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.59)[-0.594,0]; NEURAL_HAM_MEDIUM(-0.74)[-0.741,0]; IP_SCORE(0.01)[country: UA(0.04)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 12:57:08 -0000 Hi! You can try run firefox with different audio backends. It works for me with media.cubeb.backend=pulse (firefox from packages with PULSEAUDIO=on) pkg info -D firefox: To select non-default audio backend open about:config page and create media.cubeb.backend preference. Supported values are: alsa, jack, pulse, pulse-rust, sndio. Currently used backend can be inspected on about:support page. 13.02.19 14:06, Kamila Součková пишет: > Hello, > > I recently installed FreeBSD on my laptop (X1 Carbon 4th gen). The hardware > support is not terrible, but I am having issues higher up in the stack. One > of the problems I've encountered is that I cannot get my microphone working > in Firefox, even though it works in native applications and in Chromium. > > "Doesn't work" means that: > - Firefox thinks I have a "default" microphone and asks for permission when > I try to use it. > - Websites that test microphone by recording and playing it back either get > silence or complain about being unable to find the microphone. > - https://test.webrtc.org/ reports: > Audio capture > [ OK ] Audio track created using device=default > [ FAILED ] No active input channels detected. Microphone is most likely > muted or broken, please check if muted in the sound settings or physically > on the device. Then rerun the test. > - It works in Chromium: I can hear myself when I record and re-play on a > mic testing website. > - I do not have PulseAudio installed and I believe my Firefox is using Alsa > emulation. > - As Chromium seems to be compiled without PulseAudio, I tried recompiling > Firefox with PULSEAUDIO: off. No change. > - This is probably useless, but: My webcam works in Firefox. > > pkg info firefox: > > firefox-65.0_2,1 > Name : firefox > Version : 65.0_2,1 > Installed on : Tue Feb 12 19:23:52 2019 CET > Origin : www/firefox > Architecture : FreeBSD:12:amd64 > Prefix : /usr/local > Categories : ipv6 www > Licenses : > Maintainer : gecko@FreeBSD.org > WWW : http://www.mozilla.com/firefox > Comment : Web browser based on the browser portion of Mozilla > Options : > ALSA : on > CANBERRA : off > DBUS : on > DEBUG : off > FFMPEG : on > GCONF : on > JACK : off > LIBPROXY : off > OPTIMIZED_CFLAGS: on > PROFILE : on > PULSEAUDIO : off > SNDIO : off > TEST : off > Shared Libs required: > libdbus-glib-1.so.2 > libgtk-x11-2.0.so.0 > libXext.so.6 > libpango-1.0.so.0 > libjpeg.so.8 > libpixman-1.so.0 > libsqlite3.so.0 > libcairo.so.2 > libgtk-3.so.0 > libffi.so.6 > libxcb-shm.so.0 > libX11-xcb.so.1 > libfreetype.so.6 > libwebp.so.7 > libcairo-gobject.so.2 > libatk-1.0.so.0 > libevent-2.1.so.6 > libXt.so.6 > libplc4.so > libXcomposite.so.1 > libxcb.so.1 > libgdk_pixbuf-2.0.so.0 > libgio-2.0.so.0 > libssl3.so > libXfixes.so.3 > libwebpdemux.so.2 > libnss3.so > libnssutil3.so > libnspr4.so > libgobject-2.0.so.0 > libicuuc.so.63 > libharfbuzz.so.0 > libstartup-notification-1.so.0 > libX11.so.6 > libdbus-1.so.3 > libXdamage.so.1 > libglib-2.0.so.0 > libgraphite2.so.3 > libasound.so.2 > libgdk-x11-2.0.so.0 > libpng16.so.16 > libXrender.so.1 > libicui18n.so.63 > libfontconfig.so.1 > libsmime3.so > libgdk-3.so.0 > Annotations : > FreeBSD_version: 1200086 > cpe : cpe:2.3:a:mozilla:firefox:65.0:::::freebsd12:x64:2 > no_provide_shlib: yes > repo_type : binary > repository : poudriere-local > > Where can I go from here? > > Thank you! > > Best, > Kamila > _______________________________________________ > freebsd-desktop@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-desktop > To unsubscribe, send any mail to "freebsd-desktop-unsubscribe@freebsd.org"