Firefox 49.0 & Youtube....Video: Yes - Audio: No...

classic Classic list List threaded Threaded
272 messages Options
1234 ... 14
Reply | Threaded
Open this post in threaded view
|

Firefox 49.0 & Youtube....Video: Yes - Audio: No...

meino.cramer
Hi,

this evening I updated GENTOO and a new firefox was installed.
This one seem completly to disable flash video finally...
since I got no video/audio at all.

I disabled all flash-related addons of my firefox and
restarted  it.

Now I got a video ... but without any audio.
(I am running jackd by the way).
I check with qjackctl whether there were any
ports which I missed to connect...nothing.

Hmmm...

Is there any fix for that?

Best regards,
Meino




Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
On 161015-20:27+0200, [hidden email] wrote:

> Hi,
>
> this evening I updated GENTOO and a new firefox was installed.
> This one seem completly to disable flash video finally...
> since I got no video/audio at all.
>
> I disabled all flash-related addons of my firefox and
> restarted  it.
>
> Now I got a video ... but without any audio.
> (I am running jackd by the way).
> I check with qjackctl whether there were any
> ports which I missed to connect...nothing.
If jackd is to do with alsa, then it could be the following.

Mozilla went pulse all the way:
 Require PulseAudio on Linux
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
See also:
Firefox nightly requires Pulse Audio
http://forums.debian.net/viewtopic.php?f=20&t=130028

> Hmmm...
>
> Is there any fix for that?
Not familiar with jackd. But as far as alsa (which I stick to, like
other discontented users), I don't have sound since months ago.  The
only way to get it would be to compile alsa myself, I'm afraid.

Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

meino.cramer
Miroslav Rovis <[hidden email]> [16-10-16 07:00]:

> On 161015-20:27+0200, [hidden email] wrote:
> > Hi,
> >
> > this evening I updated GENTOO and a new firefox was installed.
> > This one seem completly to disable flash video finally...
> > since I got no video/audio at all.
> >
> > I disabled all flash-related addons of my firefox and
> > restarted  it.
> >
> > Now I got a video ... but without any audio.
> > (I am running jackd by the way).
> > I check with qjackctl whether there were any
> > ports which I missed to connect...nothing.
>
> If jackd is to do with alsa, then it could be the following.
>
> Mozilla went pulse all the way:
>  Require PulseAudio on Linux
> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> See also:
> Firefox nightly requires Pulse Audio
> http://forums.debian.net/viewtopic.php?f=20&t=130028
>
> > Hmmm...
> >
> > Is there any fix for that?
> Not familiar with jackd. But as far as alsa (which I stick to, like
> other discontented users), I don't have sound since months ago.  The
> only way to get it would be to compile alsa myself, I'm afraid.
>
> Regards!
> --
> Miroslav Rovis
> Zagreb, Croatia
> http://www.CroatiaFidelis.hr

Hi Miroslav,

THANKS A LOT ! :)

...got it working...somehow...

I installed pulseaudio and used pactl to set the default sink
and source to the one soundcard (onboard), which is connected
to my loudspeakers.

Drawback: Setting the volume seems only to be tweakable via
the volume slider of the HTML5 player in Firefox...and my alsa
volume "app" of my taskbar doesn't work anymore.

Hopefully the rest of my sound stuff still works....


Cheers,
Meino

Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Jigme Datse Yli-RAsku
With Pulseaudio the best way (I have found) for controling the volume, is through the pulse audio volume controls.

It works well for me.  Though they are somewhat of a pain (though not sure if that's because I simply don't know the "easier" way to handle them.

I also tend to like to handle volume control through external speaker controls if practical.

Jigme Datse Yli-Rasku

On 2016-10-15 23:48, [hidden email] wrote:

> Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
> > On 161015-20:27+0200, [hidden email] wrote:
> >> Hi,
> >>
> >> this evening I updated GENTOO and a new firefox was installed.
> >> This one seem completly to disable flash video finally...
> >> since I got no video/audio at all.
> >>
> >> I disabled all flash-related addons of my firefox and
> >> restarted  it.
> >>
> >> Now I got a video ... but without any audio.
> >> (I am running jackd by the way).
> >> I check with qjackctl whether there were any
> >> ports which I missed to connect...nothing.
> >
> > If jackd is to do with alsa, then it could be the following.
> >
> > Mozilla went pulse all the way:
> >  Require PulseAudio on Linux
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> > See also:
> > Firefox nightly requires Pulse Audio
> > http://forums.debian.net/viewtopic.php?f=20&t=130028
> >
> >> Hmmm...
> >>
> >> Is there any fix for that?
> > Not familiar with jackd. But as far as alsa (which I stick to, like
> > other discontented users), I don't have sound since months ago.  The
> > only way to get it would be to compile alsa myself, I'm afraid.
> >
> > Regards!
> > --
> > Miroslav Rovis
> > Zagreb, Croatia
> > http://www.CroatiaFidelis.hr
>
> Hi Miroslav,
>
> THANKS A LOT ! :)
>
> ...got it working...somehow...
>
> I installed pulseaudio and used pactl to set the default sink
> and source to the one soundcard (onboard), which is connected
> to my loudspeakers.
>
> Drawback: Setting the volume seems only to be tweakable via
> the volume slider of the HTML5 player in Firefox...and my alsa
> volume "app" of my taskbar doesn't work anymore.
>
> Hopefully the rest of my sound stuff still works....
>
>
> Cheers,
> Meino
>
--
Jigme Datse Yli-Rasku
[hidden email] (Preferred address for new messages)
250-505-6117

Jigme Datse Yli-Rasku
PO Box 270
Rossland, BC V0G 1Y0
Canada

.......................................................................
... This message should be electronically signed, and if the sender ...
... has your public key, may also be encrypted. ...
... If you have any questions about this, please email, or call. ...
... ...
... Note, unknown calls likely will go to voicemail. ...
... Please leave a message if you get voicemail. ...
.......................................................................





signature.asc (925 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

meino.cramer
Jigme Datse Yli-RAsku <[hidden email]> [16-10-16 09:12]:

> With Pulseaudio the best way (I have found) for controling the volume, is through the pulse audio volume controls.
>
> It works well for me.  Though they are somewhat of a pain (though not sure if that's because I simply don't know the "easier" way to handle them.
>
> I also tend to like to handle volume control through external speaker controls if practical.
>
> Jigme Datse Yli-Rasku
>
> On 2016-10-15 23:48, [hidden email] wrote:
> > Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
> > > On 161015-20:27+0200, [hidden email] wrote:
> > >> Hi,
> > >>
> > >> this evening I updated GENTOO and a new firefox was installed.
> > >> This one seem completly to disable flash video finally...
> > >> since I got no video/audio at all.
> > >>
> > >> I disabled all flash-related addons of my firefox and
> > >> restarted  it.
> > >>
> > >> Now I got a video ... but without any audio.
> > >> (I am running jackd by the way).
> > >> I check with qjackctl whether there were any
> > >> ports which I missed to connect...nothing.
> > >
> > > If jackd is to do with alsa, then it could be the following.
> > >
> > > Mozilla went pulse all the way:
> > >  Require PulseAudio on Linux
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> > > See also:
> > > Firefox nightly requires Pulse Audio
> > > http://forums.debian.net/viewtopic.php?f=20&t=130028
> > >
> > >> Hmmm...
> > >>
> > >> Is there any fix for that?
> > > Not familiar with jackd. But as far as alsa (which I stick to, like
> > > other discontented users), I don't have sound since months ago.  The
> > > only way to get it would be to compile alsa myself, I'm afraid.
> > >
> > > Regards!
> > > --
> > > Miroslav Rovis
> > > Zagreb, Croatia
> > > http://www.CroatiaFidelis.hr
> >
> > Hi Miroslav,
> >
> > THANKS A LOT ! :)
> >
> > ...got it working...somehow...
> >
> > I installed pulseaudio and used pactl to set the default sink
> > and source to the one soundcard (onboard), which is connected
> > to my loudspeakers.
> >
> > Drawback: Setting the volume seems only to be tweakable via
> > the volume slider of the HTML5 player in Firefox...and my alsa
> > volume "app" of my taskbar doesn't work anymore.
> >
> > Hopefully the rest of my sound stuff still works....
> >
> >
> > Cheers,
> > Meino
> >
>
> --
> Jigme Datse Yli-Rasku
> [hidden email] (Preferred address for new messages)
> 250-505-6117
>
> Jigme Datse Yli-Rasku
> PO Box 270
> Rossland, BC V0G 1Y0
> Canada
>
> .......................................................................
> ... This message should be electronically signed, and if the sender ...
> ... has your public key, may also be encrypted. ...
> ... If you have any questions about this, please email, or call. ...
> ... ...
> ... Note, unknown calls likely will go to voicemail. ...
> ... Please leave a message if you get voicemail. ...
> .......................................................................
>
>
>
>

Hi Jigme,

THANKS FOR YOUR HELP! :)

Installing pulseaudio disables smplayer (no audio) -- I switched
to Kaffeine, which seems to work.

Now ZynAddSubFX (Softsynth) does not show up with QJackCTL.
Starting Zyn with -a gives me the audio of the Synth back...
but with BIG distortions (I mailed to the Zyn mailing list for that).

Setting the volume via pactl is a pain - and reaching the volume
knobs of my speakers (behind my monitor...) are also a pain.

Why oh why seems audio and Linux a problem in so many situations? ;)

I will search further...and if I will find anything useful I post it
here...

Cheers,
Meino






Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

meino.cramer
In reply to this post by Jigme Datse Yli-RAsku
Jigme Datse Yli-RAsku <[hidden email]> [16-10-16 09:12]:

> With Pulseaudio the best way (I have found) for controling the volume, is through the pulse audio volume controls.
>
> It works well for me.  Though they are somewhat of a pain (though not sure if that's because I simply don't know the "easier" way to handle them.
>
> I also tend to like to handle volume control through external speaker controls if practical.
>
> Jigme Datse Yli-Rasku
>
> On 2016-10-15 23:48, [hidden email] wrote:
> > Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
> > > On 161015-20:27+0200, [hidden email] wrote:
> > >> Hi,
> > >>
> > >> this evening I updated GENTOO and a new firefox was installed.
> > >> This one seem completly to disable flash video finally...
> > >> since I got no video/audio at all.
> > >>
> > >> I disabled all flash-related addons of my firefox and
> > >> restarted  it.
> > >>
> > >> Now I got a video ... but without any audio.
> > >> (I am running jackd by the way).
> > >> I check with qjackctl whether there were any
> > >> ports which I missed to connect...nothing.
> > >
> > > If jackd is to do with alsa, then it could be the following.
> > >
> > > Mozilla went pulse all the way:
> > >  Require PulseAudio on Linux
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> > > See also:
> > > Firefox nightly requires Pulse Audio
> > > http://forums.debian.net/viewtopic.php?f=20&t=130028
> > >
> > >> Hmmm...
> > >>
> > >> Is there any fix for that?
> > > Not familiar with jackd. But as far as alsa (which I stick to, like
> > > other discontented users), I don't have sound since months ago.  The
> > > only way to get it would be to compile alsa myself, I'm afraid.
> > >
> > > Regards!
> > > --
> > > Miroslav Rovis
> > > Zagreb, Croatia
> > > http://www.CroatiaFidelis.hr
> >
> > Hi Miroslav,
> >
> > THANKS A LOT ! :)
> >
> > ...got it working...somehow...
> >
> > I installed pulseaudio and used pactl to set the default sink
> > and source to the one soundcard (onboard), which is connected
> > to my loudspeakers.
> >
> > Drawback: Setting the volume seems only to be tweakable via
> > the volume slider of the HTML5 player in Firefox...and my alsa
> > volume "app" of my taskbar doesn't work anymore.
> >
> > Hopefully the rest of my sound stuff still works....
> >
> >
> > Cheers,
> > Meino
> >
>
> --
> Jigme Datse Yli-Rasku
> [hidden email] (Preferred address for new messages)
> 250-505-6117
>
> Jigme Datse Yli-Rasku
> PO Box 270
> Rossland, BC V0G 1Y0
> Canada
>
> .......................................................................
> ... This message should be electronically signed, and if the sender ...
> ... has your public key, may also be encrypted. ...
> ... If you have any questions about this, please email, or call. ...
> ... ...
> ... Note, unknown calls likely will go to voicemail. ...
> ... Please leave a message if you get voicemail. ...
> .......................................................................
>
>
>
>

Hi Jigme,

...found a workaround:

Source:
http://www.jackaudio.org/faq/pulseaudio_and_jack.html

Start QJackctl and click "Setup".

There is an entry titled "Serfer Prefix" which shows
"jackd" normally. Replace this one with "pasuspender -- jackd".
This will disable Pulseaudio while using jackd.

This enables a good sound from ZynAddSubFX again ... but
is does not enables the possibility to watch TV (DVBT) and/or
YouTube while playing with the Softsynth... ;)

Cheers,
Meino











Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

David M. Fellows
In reply to this post by meino.cramer
>Hi,
>
>this evening I updated GENTOO and a new firefox was installed.
>This one seem completly to disable flash video finally...
>since I got no video/audio at all.
>
>I disabled all flash-related addons of my firefox and
>restarted  it.
>
>Now I got a video ... but without any audio.
>(I am running jackd by the way).
>I check with qjackctl whether there were any
>ports which I missed to connect...nothing.
>
>Hmmm...

Did you also update adobe-flash and depclean at about the same time?
Check which versions of adobe-flash are installed.
For firefox on x86 you need adobe-flash:0 (currently 11.2.202.637)
For firefox on amd64 you need either adobe-flash:0 (currently 11.2.202.637)
OR adobe-flash:22 (currently 23.0.0.185) and freshplayerplugin.

If you had adobe-flash in @world, unslotted, recent updates will have installed the
23.... versions and a subsequent depclean would remove the 11.... version.

>
>Is there any fix for that?
>
>Best regards,
>Meino
>
>
>
>
DaveF

Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Ian Zimmerman-2
In reply to this post by Miroslav Rovis
On 2016-10-16 06:55, Miroslav Rovis wrote:

> Mozilla went pulse all the way:
>  Require PulseAudio on Linux
> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> See also:
> Firefox nightly requires Pulse Audio
> http://forums.debian.net/viewtopic.php?f=20&t=130028

Thanks for alerting me to another reason why pinning firefox to <44 is
now a permanent feature of my system.

--
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html

Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
In reply to this post by meino.cramer
Hi Meino!

I regret not having told you more... See below...

And there is a question/query/my-asking-for-advice further below.

On 161016-08:48+0200, [hidden email] wrote:

> Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
> > On 161015-20:27+0200, [hidden email] wrote:
> > > Hi,
> > >
> > > this evening I updated GENTOO and a new firefox was installed.
> > > This one seem completly to disable flash video finally...
> > > since I got no video/audio at all.
> > >
> > > I disabled all flash-related addons of my firefox and
> > > restarted  it.
> > >
> > > Now I got a video ... but without any audio.
> > > (I am running jackd by the way).
> > > I check with qjackctl whether there were any
> > > ports which I missed to connect...nothing.
> >
> > If jackd is to do with alsa, then it could be the following.
> >
> > Mozilla went pulse all the way:
> >  Require PulseAudio on Linux
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> > See also:
> > Firefox nightly requires Pulse Audio
> > http://forums.debian.net/viewtopic.php?f=20&t=130028
> >
> > > Hmmm...
> > >
> > > Is there any fix for that?
> > Not familiar with jackd. But as far as alsa (which I stick to, like
> > other discontented users), I don't have sound since months ago.  The
> > only way to get it would be to compile alsa myself, I'm afraid.
> >
> > Regards!
> > --
> > Miroslav Rovis
> > Zagreb, Croatia
> > http://www.CroatiaFidelis.hr
>
> Hi Miroslav,
>
> THANKS A LOT ! :)
You may not thank me, if you read my view, and even remotely agree:
http://www.mail-archive.com/alsa-user@.../msg31926.html
( and that is what I regret not having told you... I regret it because
you now may remain with that pulse spyware..

However, pls. note that in my first message to you I just said what the
reason was. I did not recommend pulse to you... )

> ...got it working...somehow...
>
> I installed pulseaudio and used pactl to set the default sink
> and source to the one soundcard (onboard), which is connected
> to my loudspeakers.
>
> Drawback: Setting the volume seems only to be tweakable via
> the volume slider of the HTML5 player in Firefox...and my alsa
> volume "app" of my taskbar doesn't work anymore.
>
> Hopefully the rest of my sound stuff still works....
>
And now the question/query/my-asking-for-advice.

In that thred on alsa-user archive that I linked to, I got this link:

[linuxaudio.org] html5 in ff through jack
http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188

I'm gasping for free time to do various things, fixing audio in ff is
not of higest priority... Can not dedicate hours to this...

Anyone has a link for easy fixing of audio in Firefox the sans-pulse
way (and other poetterware excluded as well, of course)? With clear easy
steps, maybe?

Thanks in advance!

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Daniel Campbell (zlg)
On 11/18/2016 10:11 PM, Miroslav Rovis wrote:

> Hi Meino!
>
> I regret not having told you more... See below...
>
> And there is a question/query/my-asking-for-advice further below.
>
> On 161016-08:48+0200, [hidden email] wrote:
>> Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
>>> On 161015-20:27+0200, [hidden email] wrote:
>>>> Hi,
>>>>
>>>> this evening I updated GENTOO and a new firefox was installed.
>>>> This one seem completly to disable flash video finally...
>>>> since I got no video/audio at all.
>>>>
>>>> I disabled all flash-related addons of my firefox and
>>>> restarted  it.
>>>>
>>>> Now I got a video ... but without any audio.
>>>> (I am running jackd by the way).
>>>> I check with qjackctl whether there were any
>>>> ports which I missed to connect...nothing.
>>>
>>> If jackd is to do with alsa, then it could be the following.
>>>
>>> Mozilla went pulse all the way:
>>>  Require PulseAudio on Linux
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
>>> See also:
>>> Firefox nightly requires Pulse Audio
>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
>>>
>>>> Hmmm...
>>>>
>>>> Is there any fix for that?
>>> Not familiar with jackd. But as far as alsa (which I stick to, like
>>> other discontented users), I don't have sound since months ago.  The
>>> only way to get it would be to compile alsa myself, I'm afraid.
>>>
>>> Regards!
>>> --
>>> Miroslav Rovis
>>> Zagreb, Croatia
>>> http://www.CroatiaFidelis.hr
>>
>> Hi Miroslav,
>>
>> THANKS A LOT ! :)
> You may not thank me, if you read my view, and even remotely agree:
> http://www.mail-archive.com/alsa-user@.../msg31926.html
> ( and that is what I regret not having told you... I regret it because
> you now may remain with that pulse spyware..
>
> However, pls. note that in my first message to you I just said what the
> reason was. I did not recommend pulse to you... )
>
>> ...got it working...somehow...
>>
>> I installed pulseaudio and used pactl to set the default sink
>> and source to the one soundcard (onboard), which is connected
>> to my loudspeakers.
>>
>> Drawback: Setting the volume seems only to be tweakable via
>> the volume slider of the HTML5 player in Firefox...and my alsa
>> volume "app" of my taskbar doesn't work anymore.
>>
>> Hopefully the rest of my sound stuff still works....
>>
>
> And now the question/query/my-asking-for-advice.
>
> In that thred on alsa-user archive that I linked to, I got this link:
>
> [linuxaudio.org] html5 in ff through jack
> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
>
> I'm gasping for free time to do various things, fixing audio in ff is
> not of higest priority... Can not dedicate hours to this...
>
> Anyone has a link for easy fixing of audio in Firefox the sans-pulse
> way (and other poetterware excluded as well, of course)? With clear easy
> steps, maybe?
>
> Thanks in advance!
>
Generally if you run into this problem, it's one of two things:

1. `alsamixer` hasn't been used to unmute the levels. After configuring
it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
service is in the default run-level (`rc-update add alsasound default`
as root), or...
2. Try adding these to your user's ~/.asoundrc file:

defaults.ctl.card x;
defaults.pcm.card x;

Replace 'x' with the numeric index of your card (which you can view in
alsamixer using F6). If the order of your cards changes on boot, you'll
need to tell the module controlling your sound (snd_hda_intel is common)
to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
lines like `options snd_hda_intel index=1` or something similar.

Others have done a far better job explaining this than me. Our own guide
on our wiki [0] and Arch's wiki [1] should be adequate to get you going
fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
you don't have exotic hardware, this can be fixed in 15 minutes or less.

Hope this helps.

[0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
[1]:
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
--
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
On 161119-00:33-0800, Daniel Campbell wrote:

> On 11/18/2016 10:11 PM, Miroslav Rovis wrote:
> > Hi Meino!
> >
> > I regret not having told you more... See below...
> >
> > And there is a question/query/my-asking-for-advice further below.
> >
> > On 161016-08:48+0200, [hidden email] wrote:
> >> Miroslav Rovis <[hidden email]> [16-10-16 07:00]:
> >>> On 161015-20:27+0200, [hidden email] wrote:
> >>>> Hi,
> >>>>
> >>>> this evening I updated GENTOO and a new firefox was installed.
> >>>> This one seem completly to disable flash video finally...
> >>>> since I got no video/audio at all.
> >>>>
> >>>> I disabled all flash-related addons of my firefox and
> >>>> restarted  it.
> >>>>
> >>>> Now I got a video ... but without any audio.
> >>>> (I am running jackd by the way).
> >>>> I check with qjackctl whether there were any
> >>>> ports which I missed to connect...nothing.
> >>>
> >>> If jackd is to do with alsa, then it could be the following.
> >>>
> >>> Mozilla went pulse all the way:
> >>>  Require PulseAudio on Linux
> >>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> >>> See also:
> >>> Firefox nightly requires Pulse Audio
> >>> http://forums.debian.net/viewtopic.php?f=20&t=130028
> >>>
> >>>> Hmmm...
> >>>>
> >>>> Is there any fix for that?
> >>> Not familiar with jackd. But as far as alsa (which I stick to, like
> >>> other discontented users), I don't have sound since months ago.  The
> >>> only way to get it would be to compile alsa myself, I'm afraid.
> >>>
> >>> Regards!
> >>> --
> >>> Miroslav Rovis
> >>> Zagreb, Croatia
> >>> http://www.CroatiaFidelis.hr
> >>
> >> Hi Miroslav,
> >>
> >> THANKS A LOT ! :)
> > You may not thank me, if you read my view, and even remotely agree:
> > http://www.mail-archive.com/alsa-user@.../msg31926.html
> > ( and that is what I regret not having told you... I regret it because
> > you now may remain with that pulse spyware..
> >
> > However, pls. note that in my first message to you I just said what the
> > reason was. I did not recommend pulse to you... )
> >
> >> ...got it working...somehow...
> >>
> >> I installed pulseaudio and used pactl to set the default sink
> >> and source to the one soundcard (onboard), which is connected
> >> to my loudspeakers.
> >>
> >> Drawback: Setting the volume seems only to be tweakable via
> >> the volume slider of the HTML5 player in Firefox...and my alsa
> >> volume "app" of my taskbar doesn't work anymore.
> >>
> >> Hopefully the rest of my sound stuff still works....
> >>
> >
> > And now the question/query/my-asking-for-advice.
> >
> > In that thred on alsa-user archive that I linked to, I got this link:
> >
> > [linuxaudio.org] html5 in ff through jack
> > http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
> >
> > I'm gasping for free time to do various things, fixing audio in ff is
> > not of higest priority... Can not dedicate hours to this...
> >
> > Anyone has a link for easy fixing of audio in Firefox the sans-pulse
> > way (and other poetterware excluded as well, of course)? With clear easy
> > steps, maybe?
> >
> > Thanks in advance!
So it's only this, probably (and I had given links that, indirectly,
mislead another Gentoo user...):

> Generally if you run into this problem, it's one of two things:
>
> 1. `alsamixer` hasn't been used to unmute the levels. After configuring
> it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
> service is in the default run-level (`rc-update add alsasound default`
> as root), or...
> 2. Try adding these to your user's ~/.asoundrc file:
>
> defaults.ctl.card x;
> defaults.pcm.card x;
>
> Replace 'x' with the numeric index of your card (which you can view in
> alsamixer using F6). If the order of your cards changes on boot, you'll
> need to tell the module controlling your sound (snd_hda_intel is common)
> to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
> lines like `options snd_hda_intel index=1` or something similar.
>
> Others have done a far better job explaining this than me. Our own guide
> on our wiki [0] and Arch's wiki [1] should be adequate to get you going
> fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
> you don't have exotic hardware, this can be fixed in 15 minutes or less.
>
> Hope this helps.
>
> [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
> [1]:
> https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
> fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
And here is a Gentoo developer who is helping us out:

https://dev.gentoo.org/~zlg/

Really thanks!

I don't think I even need to be back to report here if this just works
(will try it next), but I'll make sure I CC this to Meino...

Meino (for the Anglo folks, and for the only-English-as-foreign-language
speakers: that name, or don't know if it's a nickname, is pronounced,
approximately, as if it was written Mino ), I'm sorry again.

FYI, once I even installed the SELinux (whose original manufacturer is
NSA itself), but I was able to go back to the state of my system
previous to installing it... However, I was able to do it only from
dd-made backup of my entire system...

I hope you still have some way left to still go pulse-free.. Pulse
should not have its tentacles as deep as SELinux does (or used to have;
my brush with it happened some 5 or 6 years ago, I had reported it on
Gentoo Forums)...

Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
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.
...

> > >>> If jackd is to do with alsa, then it could be the following.
> > >>>
> > >>> Mozilla went pulse all the way:
> > >>>  Require PulseAudio on Linux
> > >>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
> > >>> See also:
> > >>> Firefox nightly requires Pulse Audio
> > >>> http://forums.debian.net/viewtopic.php?f=20&t=130028
> > >>>
> > >>>> Hmmm...
> > >>>>
> > >>>> Is there any fix for that?
> > >>> Not familiar with jackd. But as far as alsa (which I stick to, like
> > >>> other discontented users), I don't have sound since months ago.  The
> > >>> only way to get it would be to compile alsa myself, I'm afraid.
> > >>>
...
> > > In that thred on alsa-user archive that I linked to, I got this link:
> > >
> > > [linuxaudio.org] html5 in ff through jack
> > > http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
...
> So it's only this, probably (and I had given links that, indirectly,
> mislead another Gentoo user...):
( No, it's not only this: )
> > Generally if you run into this problem, it's one of two things:
I've looked all options of my alsamixer, and it doesn't appear to me
that is's muted. I can play anything with MPlayer, and I can play an
HTML video by giving the url to Vlc...
> > 1. `alsamixer` hasn't been used to unmute the levels. After configuring
> > it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
> > service is in the default run-level (`rc-update add alsasound default`
> > as root), or...
> > 2. Try adding these to your user's ~/.asoundrc file:

Also:
> > defaults.ctl.card x;
> > defaults.pcm.card x;
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 '^#'  

pcm.!default { type hw card 1 }
ctl.!default { type hw card 1 }

and sometimes I need to set it to 0, sometimes to 1 (depending of the
update of the system and where the old Hauppauge HVR3000's audio, or the
MBO's Intel HD Audio end up...

So this below is what I somehow practice since long:
> > Replace 'x' with the numeric index of your card (which you can view in
> > alsamixer using F6).
That does give the option to choose the card. But it's only one of the
two, the Hauppauge or the Intel HD...

Starting alsamixer and hitting F3 should be where to look for. And I
don't see anything the changing of which gives me audio to work in
Firefox...
> > If the order of your cards changes on boot, you'll
> > need to tell the module controlling your sound (snd_hda_intel is common)
> > to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
> > lines like `options snd_hda_intel index=1` or something similar.
I have all built in the kernel. I do have audio, such as with MPlayer or
with Vlc, just I don't have audio in Firefox.

> > Others have done a far better job explaining this than me. Our own guide
> > on our wiki [0] and Arch's wiki [1] should be adequate to get you going
> > fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
> > you don't have exotic hardware, this can be fixed in 15 minutes or less.
> >
> > Hope this helps.
> >
> > [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
> > [1]:
> > https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
It appears to be basically the same info as in your kind explanation...

But this is now getting way more than 15 minutes... I will try to find
more time, still, but not hours, for this issue...

> 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...

Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Daniel Campbell (zlg)
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.
> ...
>>>>>> If jackd is to do with alsa, then it could be the following.
>>>>>>
>>>>>> Mozilla went pulse all the way:
>>>>>>  Require PulseAudio on Linux
>>>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
>>>>>> See also:
>>>>>> Firefox nightly requires Pulse Audio
>>>>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
>>>>>>
>>>>>>> Hmmm...
>>>>>>>
>>>>>>> Is there any fix for that?
>>>>>> Not familiar with jackd. But as far as alsa (which I stick to, like
>>>>>> other discontented users), I don't have sound since months ago.  The
>>>>>> only way to get it would be to compile alsa myself, I'm afraid.
>>>>>>
> ...
>>>> In that thred on alsa-user archive that I linked to, I got this link:
>>>>
>>>> [linuxaudio.org] html5 in ff through jack
>>>> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
> ...
>> So it's only this, probably (and I had given links that, indirectly,
>> mislead another Gentoo user...):
> ( No, it's not only this: )
>>> Generally if you run into this problem, it's one of two things:
> I've looked all options of my alsamixer, and it doesn't appear to me
> that is's muted. I can play anything with MPlayer, and I can play an
> HTML video by giving the url to Vlc...
>>> 1. `alsamixer` hasn't been used to unmute the levels. After configuring
>>> it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
>>> service is in the default run-level (`rc-update add alsasound default`
>>> as root), or...
>>> 2. Try adding these to your user's ~/.asoundrc file:
>
> Also:
>>> defaults.ctl.card x;
>>> defaults.pcm.card x;
> 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 '^#'  
>
> pcm.!default { type hw card 1 }
> ctl.!default { type hw card 1 }
>
> and sometimes I need to set it to 0, sometimes to 1 (depending of the
> update of the system and where the old Hauppauge HVR3000's audio, or the
> MBO's Intel HD Audio end up...
>
> So this below is what I somehow practice since long:
>>> Replace 'x' with the numeric index of your card (which you can view in
>>> alsamixer using F6).
> That does give the option to choose the card. But it's only one of the
> two, the Hauppauge or the Intel HD...
>
> Starting alsamixer and hitting F3 should be where to look for. And I
> don't see anything the changing of which gives me audio to work in
> Firefox...
>>> If the order of your cards changes on boot, you'll
>>> need to tell the module controlling your sound (snd_hda_intel is common)
>>> to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
>>> lines like `options snd_hda_intel index=1` or something similar.
> I have all built in the kernel. I do have audio, such as with MPlayer or
> with Vlc, just I don't have audio in Firefox.
>
>>> Others have done a far better job explaining this than me. Our own guide
>>> on our wiki [0] and Arch's wiki [1] should be adequate to get you going
>>> fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
>>> you don't have exotic hardware, this can be fixed in 15 minutes or less.
>>>
>>> Hope this helps.
>>>
>>> [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
>>> [1]:
>>> https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
> It appears to be basically the same info as in your kind explanation...
>
> But this is now getting way more than 15 minutes... I will try to find
> more time, still, but not hours, for this issue...
>
>> 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...
>
> Regards!
>
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)

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:

ALSA_CARD="Onboard" firefox

in a terminal, go to Youtube, and check stdout in the terminal.

You can check for your card names with this pipeline:

aplay -l | awk '/^card/{print$3}' | sort | uniq

For me, my primary card is "SB", which is onboard Intel HDA.

If you can get $ALSA_CARD to work, then we know firefox itself can play
sound, but somehow isn't defaulting to the device you want it to. Back
when I used ALSA + apulse (and intend to do so again some time in the
future...), I used $ALSA_CARD for some programs that misbehaved and
things were okay.

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.

Let me know how it goes.
--
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
Hi Daniel!

I'll try all of your suggestions below after I read them over carefully,
as I'm confident again there must be a way to fix audio in FF without
pulse...

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.
> > ...
> >>>>>> If jackd is to do with alsa, then it could be the following.

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=1247056
> >>>>>> See also:
> >>>>>> Firefox nightly requires Pulse Audio
> >>>>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
and if the other info that the dev at alsa-user gave me:
http://www.mail-archive.com/alsa-user@.../msg31929.html
where he gave the link to:
html5 in ff through jack
http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/105188.html

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...

(And is that "html5 in ff through jack" the news that's missing for
people who are being misled on that Mozilla Dev page?)
...

[ 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@.../msg31927.html

I will...

But I first need to come to some terms with a different issue at:

qemu-system-x86 segfaults in libspice-server.so.1.12.0
https://bugs.freedesktop.org/show_bug.cgi?id=98779#c3

for which I'm now studying stuff like:
https://wiki.gentoo.org/wiki/Project_Talk:Quality_Assurance/Backtraces
https://wiki.gentoo.org/wiki/Project:Virtualization
and quite a few related stuff elsewhere, and it's pretty hard and
time-comsuming...

>
> Let me know how it goes.
I sure will, but I need longer to find time for Firefox and alsa/jackd.

> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
> fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
>

Thanks again for offering your advice!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
In reply to this post by Daniel Campbell (zlg)
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!
>
...
> 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:
...

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=1247056
> > >>>>>> See also:
> > >>>>>> Firefox nightly requires Pulse Audio
> > >>>>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
> and if the other info that the dev at alsa-user gave me:
> http://www.mail-archive.com/alsa-user@.../msg31929.html
> where he gave the link to:
> html5 in ff through jack
> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/105188.html
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=1247056#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@.../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.
> > ...
...
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.
> >>>> [linuxaudio.org] html5 in ff through jack
> >>>> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.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 '^#'  
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_custom_.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_Architecture#Set_the_default_sound_card
> > It appears to be basically the same info as in your kind explanation...
> >
> > But this is now getting way more than 15 minutes... I will try to find
> > more time, still, but not hours, for this issue...
> >
> >> 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...
> >
> > Regards!
> >
> 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)
>
> 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="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.
>
> 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!

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Ian Zimmerman-2
Thanks for your hard work.

I don't even need/want audio in the browser anymore, but your research
may well be helpful when I install jack, as I plan to.

--
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html

Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
On 161128-13:54-0800, Ian Zimmerman wrote:
> Thanks for your hard work.
No, not my hard work, but our developers (including the kindness of one
Daniel Campbell, but I primarily mean all the developers who make
Gentoo, esp. the true *nix variant of Gentoo happen).

> I don't even need/want audio in the browser anymore, but your research
> may well be helpful when I install jack, as I plan to.

Very marginally touching on this topic, next.

I see both of us are not only systemd free, but also dbus free. That's a
blessing that I believe will be spreading more and more in the
*nixworld, and more will not necessarily mean quantity, but quality...

I believe it will come to pass so, even though in some distros, like
Devuan, the Debian fork, there is a little downtime... Also the
systemd-free Archlinux appears to me to be sidelined a bit...

And it's OpenRC, the Gentoo native, which is apealing to more and more
developers of other FOSS GNU Linux brands.

To me, that makes me proud of our developers.
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Daniel Campbell (zlg)
In reply to this post by Miroslav Rovis
On 11/28/2016 08:30 AM, Miroslav Rovis wrote:

> 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!
>>
> ...
>> 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:
> ...
>
> 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=1247056
>>>>>>>>> See also:
>>>>>>>>> Firefox nightly requires Pulse Audio
>>>>>>>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
>> and if the other info that the dev at alsa-user gave me:
>> http://www.mail-archive.com/alsa-user@.../msg31929.html
>> where he gave the link to:
>> html5 in ff through jack
>> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/105188.html
>
> 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=1247056#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@.../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.
>>> ...
> ...
> 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.
>>>>>> [linuxaudio.org] html5 in ff through jack
>>>>>> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.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 '^#'  
> 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_custom_.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_Architecture#Set_the_default_sound_card
>>> It appears to be basically the same info as in your kind explanation...
>>>
>>> But this is now getting way more than 15 minutes... I will try to find
>>> more time, still, but not hours, for this issue...
>>>
>>>> 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...
>>>
>>> Regards!
>>>
>> 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)
>>
>> 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="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.
>>
>> 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!
>
It's my pleasure. I only run PA and dbus for OBS Studio. One day this
system will be back to vanilla ALSA with apulse to fill in any gaps. :)

I'm glad you were able to find a solution. Audio is one of those things
that's almost unique to every system and problems in one system (even
with the same hardware) may not match the other, so I chose to give you
a handful of options to try, since it's not always clear which solution
is best.

If you ever get sick of manually updating the card numbers, you could
probably write a script for it.

Happy browsing,

~zlg
--
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Firefox 49.0 & Youtube....Video: Yes - Audio: No...

Miroslav Rovis
On 161128-23:51-0800, Daniel Campbell wrote:
Pls. note what the title was of this Mozilla Firefox bug just below:
> >>>>>>>>>  Require PulseAudio on Linux
> >>>>>>>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
Surely us users could only get to the conclusion there was no more video
w/o Pulse (such as in Debian):
> >>>>>>>>> Firefox nightly requires Pulse Audio
> >>>>>>>>> http://forums.debian.net/viewtopic.php?f=20&t=130028
(but I let the Debianers know that it doesn't have to be like that... if
they get their developers to do it for them, like Gentoo and Archlinux
did it for their users:
( the same topic: Firefox nightly requires Pulse Audio)
http://forums.debian.net/viewtopic.php?f=20&t=130028#p630102
)
I said that to Mozilla devs, how our devs did it for us (but in the
discussion ensuing this comment of mine below):
> > Pls. read my comment of just some half hour ago:
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1247056#c171
> >

Pls. note the change of title to:
Require PulseAudio to play sound on Linux
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056#c172

This below (living without dbus):
> > 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!
wasn't the case just maybe one year, two year ago, with lots of
packages. Lots of packages couldn't be installed, well: not easily, in a
non-dbus system!

Now they can! That's such amazing change in my eyes! And I understand I
owe it to some of the really great, some of among the best developers on
the planet, because there's no computing like FOSS GNU/Linux, and
there's not many distros that match up to Gentoo...

You know, it's not very little at all, it takes long use to understand
even this much that I have arrived to understand by now...

If I compare my knowledge of just a few years ago... I'm slow in my
advancing, but still. And it's amazing to be able to understand these
nuances.

To be able to understand these nuances... to some extent.

Can I ask you about this Mozilla bug that even according to my
poor user's understanding ;-) , is almost clearly an imposition which
wasn't due by any fair reasoning, which wasn't necessary for any
warranted reason, can I ask you about it?

It would take me long time if I went and perused the Mozilla sources
related to this change, and Gentoo ebuilds, and then I would maybe even
be able to understand... But that huge kind of time I don't have...

((
E.g. here's the only two occurrences of either ALSA, PULSE or even AUDIO or
SOUND in the patchset for Firefox-50.0 that I found:

# tar xf /usr/portage/distfiles/firefox-50.0-patches-02.tar.xz
firefox/
firefox/allow-utf8-fallback.patch
firefox/8006_fix_third_party_nICEr_math_header.patch
...[16 lines cut]..
firefox/8009_system_harfbuzz_graphite2_bug847568_v4.patch
...[12 lines cut]..
#
# grep -riE 'alsa|pulse|audio|sound' firefox/
firefox/8009_system_harfbuzz_graphite2_bug847568_v4.patch: if
CONFIG['MOZ_ALSA']:

firefox/8009_system_harfbuzz_graphite2_bug847568_v4.patch:     OS_LIBS
+= CONFIG['MOZ_ALSA_LIBS']

#
(the above are two lines only, not four, that are found, but they are
wrapped for email format)

And that just does not seem to have any connection with the (as I
perceive it) planned imposition of pulseaudio requirement to Firefox by
Mozilla... Or does it?
))

So can I ask you, but I'm perfectly fine if you can't tell either, I'm
not asking you to do the work of reading the code and the ebuilds to
tell me what happened, but I only ask you if you maybe know by mere
skimming through that Mozilla bug and maybe just giving it a glance at
the Gentoo ebuilds...

How come Mozilla says the source now requires Pulseaudio, but neither
the Achlinux (which is systemd-based), nor Gentoo (which is, the
default, OpenRC-based), just do not have that requirement?

What's the play there with that strange requirement bug? Go as broad as
you feel like. I called it, indirectly, an very likely accomodation for
eavesdropping:
https://www.mail-archive.com/alsa-user@.../msg31928.html

And where's the magic that does it, to do away with that sad (to not say
silly) requirement, in Gentoo patchset?

> >
> It's my pleasure. I only run PA and dbus for OBS Studio. One day this
> system will be back to vanilla ALSA with apulse to fill in any gaps. :)
>
> I'm glad you were able to find a solution. Audio is one of those things
> that's almost unique to every system and problems in one system (even
> with the same hardware) may not match the other, so I chose to give you
> a handful of options to try, since it's not always clear which solution
> is best.
And we figured out, and solved it. But the pleasure was mine!

> If you ever get sick of manually updating the card numbers, you could
> probably write a script for it.
Sure, but it's not often that I happen to need to change the card
numbers.
> Happy browsing,
Thanks!
>
> ~zlg
> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
> fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
>

Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No

Miroslav Rovis
In reply to this post by meino.cramer
Hi!

Possibly bad news (for pure ALSA users)! Read the new comment at:

Require PulseAudio to play sound on Linux
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056#c178

BTW, lots of comments are disallowed as "advocacy". Many users
complained. I took time and did some investigation:
( in that other thread... details best found starting from maybe this
email:
Firefox 49.0 & Youtube....Video: Yes - Audio: No...
https://marc.info/?l=gentoo-user&m=147953595617288&w=2
and later
)
, and fixed audio in my Gentoo, thanks also to help by developers here
and one (contributing) at ALSA ML.

I still have audio in my Firefox, and my ebuilds have for years now
contained: "-pulseaudio":
www-client/firefox-50.0.2

such as when playing Vimeo/Youtube/any other, in HTML, I have both video
and audio.

But as you can see, they see to insist to disable pure ALSA, and impose
on everyone using Firefox, to install pusleaudio if they want to view
videos in Firefox, and be able to listen to the sound of those video.

The title of that bug now carries:
Target Milestone: mozilla52

so it's not immediate (but pls note that it was claimed otherwise
previously, previous target was earliear, IIUC).

In my stron opinion, and opinions are allowed in Gentoo, just not
imposing your opinion onto others (and that I am not doing, feel free
to disagree!), pulseadio is spyware, read more here:

Re: [Alsa-user] sans-pulseaudio Firefox? was: a strange thing
https://www.mail-archive.com/alsa-user@.../msg31928.html

I'll try and ask on Alsa-user whether this decision makes a real threat
to remain without audio for all users who want to stick with pure ALSA
(I will never install pulseaudio).

If some Gentoo developers, and there usually are a few, are reading here, is
this a serious possibility that -pulseaudio useflag users will remain
with silent Firefox, or is this just noise on the part of some
...particularly inclined Mozilla devs with some decision power?

(I already asked such a question:
Firefox 49.0 & Youtube....Video: Yes - Audio: No...
https://marc.info/?l=gentoo-user&m=148054527030206&w=2
but didn't get a reply, but, apparently, so far the "pulseaudio required"
was bogus for the previous target which was Firefox46 IIUC, or?)

Thanks for the kind consideration!

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

signature.asc (817 bytes) Download Attachment
1234 ... 14