From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 623B51395E2 for ; Mon, 28 Nov 2016 16:31:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96611E0B6B; Mon, 28 Nov 2016 16:30:59 +0000 (UTC) Received: from smtp6.plusvps.com (smtp6.plusvps.com [89.201.164.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 444F9E0A84 for ; Mon, 28 Nov 2016 16:30:58 +0000 (UTC) Received: from lin16.mojsite.com ([178.218.164.164]) by smtp6.plusvps.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1cBOpT-0009eF-Rm for gentoo-user@lists.gentoo.org; Mon, 28 Nov 2016 17:30:55 +0100 Received: from 93-138-28-206.adsl.net.t-com.hr ([93.138.28.206]:35414 helo=g0n.localdomain) by lin16.mojsite.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1cBOpS-0001oz-Tw; Mon, 28 Nov 2016 17:30:54 +0100 Received: by g0n.localdomain (Postfix, from userid 1000) id 6A62F47; Mon, 28 Nov 2016 17:30:51 +0100 (CET) Date: Mon, 28 Nov 2016 17:30:51 +0100 From: Miroslav Rovis To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No... Message-ID: <20161128163051.GA11387@g0n.xdwgrp> References: <20161015182743.GB4541@solfire> <20161016045512.GD9708@g0n.xdwgrp> <20161016064808.GA4917@solfire> <20161119061158.GA10942@g0n.xdwgrp> <6148fd18-1171-ab25-c455-541ce864bf1e@gentoo.org> <20161119092205.GB10942@g0n.xdwgrp> <20161119095952.GC10942@g0n.xdwgrp> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-PlusHosting-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details, Found to be clean X-PlusHosting-MailScanner-SpamCheck: X-Spam-Status: No, No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lin16.mojsite.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - croatiafidelis.hr X-Get-Message-Sender-Via: lin16.mojsite.com: authenticated_id: miro.rovis@croatiafidelis.hr X-Authenticated-Sender: lin16.mojsite.com: miro.rovis@croatiafidelis.hr X-PlusHosting-MailScanner-Information: Please contact the ISP for more information X-PlusHosting-MailScanner-ID: 1cBOpT-0009eF-Rm X-PlusHosting-MailScanner-From: miro.rovis@croatiafidelis.hr X-Archives-Salt: fd250ade-b957-4082-858c-282950e92c22 X-Archives-Hash: 4c32efbb2a5b659b559dbdbcad9dedc6 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I just got Firefox to play HTML5 pages (and likely other stuff as well), with audio working, my system. But let me first vent my frustration for why it was so hard... On 161120-20:46+0100, Miroslav Rovis wrote: > Hi Daniel! >=20 =2E.. > On 161120-00:10-0800, Daniel Campbell wrote: > > On 11/19/2016 01:59 AM, Miroslav Rovis wrote: > > > On 161119-10:22+0100, Miroslav Rovis wrote: =2E.. It took me such long time, well, yes, because ALSA had advanced and I kept the old config, simply because it worked with all apps (but not the Firefox, more below...)... What other conclusion could a not very advanced user get but this one below?: > Just in the meantime, a (hopefully) easier question: doesn't this bug > below mean harder to get non-pulse audio to work with Firefox: > > >>>>>> Mozilla went pulse all the way: > > >>>>>> Require PulseAudio on Linux > > >>>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=3D1247056 > > >>>>>> See also: > > >>>>>> Firefox nightly requires Pulse Audio > > >>>>>> http://forums.debian.net/viewtopic.php?f=3D20&t=3D130028 > and if the other info that the dev at alsa-user gave me: > http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg31929.html > where he gave the link to: > html5 in ff through jack > http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/105188.h= tml And I've just delivered on this promise of mine: > if that means the info in that bug page is incomplte in the sense it is > misleading to users who want to stick with sans-pulse alsa... then once > I figure out how to do it, I'll post there for other users to know... Pls. read my comment of just some half hour ago: https://bugzilla.mozilla.org/show_bug.cgi?id=3D1247056#c171 > [ I'll try all of your suggestions ... as I'm confident again there must > be a way to fix audio in FF without pulse... ] just as the other dev > said, that it is there, only for Archlinux, at: > http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg31927.html How on Earth would a non-advanced user know after reading that Mozilla bug, that she/he don't need to get that another layer for suspicious purposes onto their fine ALSA? Now I'll explain what was the reason it did not work (because I promised I would ;-) and you were kind to offer help)... On 161120-00:10-0800, Daniel Campbell wrote: > On 11/19/2016 01:59 AM, Miroslav Rovis wrote: > > On 161119-10:22+0100, Miroslav Rovis wrote: > >> On 161119-00:33-0800, Daniel Campbell wrote: > > ... > >>>> And there is a question/query/my-asking-for-advice further below. > > ... =2E.. No, jack was not needed, but according to: https://wiki.gentoo.org/wiki/ALSA#JACK_audio_connection_kit is far superior to pulseaudio, just to make clear. The below wasn't needed for me to solve my issue.=20 > >>>> [linuxaudio.org] html5 in ff through jack > >>>> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thr= ead.html#105188 > > ... This was one of two issues that needed to be fixed/put in place/corrected: > > Also: > >>> defaults.ctl.card x; > >>> defaults.pcm.card x; Yeah! And what I had, the below...: > > I every do often change my default card... I have only these two lines > > (if I grep out all that is commented out) in my: > > $ cat ~/.asoundrc | grep -v '^#' =20 This: > > pcm.!default { type hw card 1 } > > ctl.!default { type hw card 1 } was wrong! (that's old config, maybe 2-3 or more years old. It just worked all the time, who cared... MPlayer, Vlc, the old cinch cables --the RCA IIRC-- could get the recordings from old/new equipment... So who cared...) So one of my two issues was exactly this one (and the change to make): https://wiki.gentoo.org/wiki/ALSA#Firefox_and_YouTube_have_no_audio_with_cu= stom_.asoundrc_but_other_apps_do And after making the other change first, which is simply what Gentoo Firefox Wiki says at: https://wiki.gentoo.org/wiki/Firefox#Lack_of_sound so after: # emerge gst-plugins-meta:1.0 and changing my ~/.asoundrc to: defaults.ctl.card 0 defaults.pcm.card 0 (or it will be defaults.ctl.card 1 defaults.pcm.card 1 sometimes, in my case) only then did Firefox finally start to play both video and audio when I opened HTML5 pages. A quick test was this page (but on my offline Apache, saying it because I need to propagate the change to this clone that I access online with, I did the changes on my maste machine, so if all keeps well when into clone, I won't need to inform of some functionality still not there) (doing the one-liner below worked): $ firefox http://www.CroatiaFidelis.hr/foss/cenz/iskon-t-com-miro-rovis/150320-17h_T-= com_davi_ugovorima.webm (that's actually a one-liner, only wrapped in mail) > >>> Hope this helps. > >>> > >>> [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration > >>> [1]: > >>> https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architectur= e#Set_the_default_sound_card > > It appears to be basically the same info as in your kind explanation... > >=20 > > But this is now getting way more than 15 minutes... I will try to find > > more time, still, but not hours, for this issue... > >=20 > >> I don't think I even need to be back to report here if this just works > > No, it doesn't. And the issue is not solved yet... > >=20 > > Regards! > >=20 > Hmm, that's strange... Your config looks sane to me (though specifying > something as 'type hw' can interfere with mixing sometimes; an empty or > non-existent ~/.asoundrc should default to dmix internally. I doubt this > is your problem though since it works on everything else) >=20 > Here's an idea: try using the ALSA_CARD environment variable and run > Firefox with it. All you'll need is the name of your card. So if your > card is named "Onboard", you'd issue this: This didn't help in my case: > ALSA_CARD=3D"Onboard" firefox No need to file a bug: > If this persists as a problem for you, it might be worth opening a bug > for it, as what I've shared is as far as my personal experience goes and > other people may be experiencing the same issue. You'll need to provide > 'emerge --info' and possibly 'emerge -pv firefox' output if you choose > to report a bug. >=20 > Let me know how it goes. I just did ;-) ! Thanks again for caring! I like our devs, I feel fine using Gentoo. Can live without systemd, can even live without dbus! That's not what you get easily at all in all the distros! --=20 Miroslav Rovis Zagreb, Croatia http://www.CroatiaFidelis.hr --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYPFu7AAoJEOqYhIhPuvCuu74P/jIm78v2RB0+dB6Xc2fe4zvC EWrWfnH52Doj4ERr39SZLILZ2BlD81PN9GqbAnTL2LLH4d42b8oH0ja071wLBLEH 61TvyPkSWW4M+zX45xHFzt0WWGMEvmwuCLDQQ2SD1p2u647vZgMRiVXmk2U9id4+ RN6W7KkStIW5uYW1StZTQgeEWNBMsXYcaiik97+1I4wkRqqVZwa4M1LGwE3aHOUi nV9Pw9MzrAhpXSaqC0gH5CUStzZbo6wsPu6XnPgc0Eb9nEjI9zMzRswNrXPyBd/r lhc8EHV1A4eKLMPhUm1MUp6ytH/hQw8GKO+Va/d9tt4Bz9cK+kermRUYHZINTOBQ iRTj+aJK55LvGrpWPj5aYspCAVxVRt8cnecL2fNYjK/B6Fnkc3xDMoLytFSF4NEI eAV+maDDC2b1J9GD9qYxmelAaCbYX0RmZLiA+29RKMGjnE0EjFgScajCj6H0nsJC yOUE3BmMUphkjfFf5jDcWlpLfpXXYenaBkTru9Fz50POs6B26vhk5ZpuhEhhiQZv vUQR7TmHsn63vC0kgAKKSAeHxGf1zqf2mpLeaNOBIZSpDEjuPeaAH5A1IAW7heM5 Nvr+pGD2eHcLmp7SyfszzQVtdChkjSsYX106pEBTrzHKybNbTKEEmhMl3xMiwzaS 1qYcRUIQobpTW/rscAcX =C9vT -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--