Gentoo Archives: gentoo-user

From: Daniel Campbell <zlg@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No...
Date: Sat, 19 Nov 2016 08:33:54
Message-Id: 6148fd18-1171-ab25-c455-541ce864bf1e@gentoo.org
In Reply to: Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No... by Miroslav Rovis
1 On 11/18/2016 10:11 PM, Miroslav Rovis wrote:
2 > Hi Meino!
3 >
4 > I regret not having told you more... See below...
5 >
6 > And there is a question/query/my-asking-for-advice further below.
7 >
8 > On 161016-08:48+0200, Meino.Cramer@×××.de wrote:
9 >> Miroslav Rovis <miro.rovis@××××××××××××××.hr> [16-10-16 07:00]:
10 >>> On 161015-20:27+0200, Meino.Cramer@×××.de wrote:
11 >>>> Hi,
12 >>>>
13 >>>> this evening I updated GENTOO and a new firefox was installed.
14 >>>> This one seem completly to disable flash video finally...
15 >>>> since I got no video/audio at all.
16 >>>>
17 >>>> I disabled all flash-related addons of my firefox and
18 >>>> restarted it.
19 >>>>
20 >>>> Now I got a video ... but without any audio.
21 >>>> (I am running jackd by the way).
22 >>>> I check with qjackctl whether there were any
23 >>>> ports which I missed to connect...nothing.
24 >>>
25 >>> If jackd is to do with alsa, then it could be the following.
26 >>>
27 >>> Mozilla went pulse all the way:
28 >>> Require PulseAudio on Linux
29 >>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
30 >>> See also:
31 >>> Firefox nightly requires Pulse Audio
32 >>> http://forums.debian.net/viewtopic.php?f=20&t=130028
33 >>>
34 >>>> Hmmm...
35 >>>>
36 >>>> Is there any fix for that?
37 >>> Not familiar with jackd. But as far as alsa (which I stick to, like
38 >>> other discontented users), I don't have sound since months ago. The
39 >>> only way to get it would be to compile alsa myself, I'm afraid.
40 >>>
41 >>> Regards!
42 >>> --
43 >>> Miroslav Rovis
44 >>> Zagreb, Croatia
45 >>> http://www.CroatiaFidelis.hr
46 >>
47 >> Hi Miroslav,
48 >>
49 >> THANKS A LOT ! :)
50 > You may not thank me, if you read my view, and even remotely agree:
51 > http://www.mail-archive.com/alsa-user@×××××××××××××××××.net/msg31926.html
52 > ( and that is what I regret not having told you... I regret it because
53 > you now may remain with that pulse spyware..
54 >
55 > However, pls. note that in my first message to you I just said what the
56 > reason was. I did not recommend pulse to you... )
57 >
58 >> ...got it working...somehow...
59 >>
60 >> I installed pulseaudio and used pactl to set the default sink
61 >> and source to the one soundcard (onboard), which is connected
62 >> to my loudspeakers.
63 >>
64 >> Drawback: Setting the volume seems only to be tweakable via
65 >> the volume slider of the HTML5 player in Firefox...and my alsa
66 >> volume "app" of my taskbar doesn't work anymore.
67 >>
68 >> Hopefully the rest of my sound stuff still works....
69 >>
70 >
71 > And now the question/query/my-asking-for-advice.
72 >
73 > In that thred on alsa-user archive that I linked to, I got this link:
74 >
75 > [linuxaudio.org] html5 in ff through jack
76 > http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
77 >
78 > I'm gasping for free time to do various things, fixing audio in ff is
79 > not of higest priority... Can not dedicate hours to this...
80 >
81 > Anyone has a link for easy fixing of audio in Firefox the sans-pulse
82 > way (and other poetterware excluded as well, of course)? With clear easy
83 > steps, maybe?
84 >
85 > Thanks in advance!
86 >
87 Generally if you run into this problem, it's one of two things:
88
89 1. `alsamixer` hasn't been used to unmute the levels. After configuring
90 it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
91 service is in the default run-level (`rc-update add alsasound default`
92 as root), or...
93 2. Try adding these to your user's ~/.asoundrc file:
94
95 defaults.ctl.card x;
96 defaults.pcm.card x;
97
98 Replace 'x' with the numeric index of your card (which you can view in
99 alsamixer using F6). If the order of your cards changes on boot, you'll
100 need to tell the module controlling your sound (snd_hda_intel is common)
101 to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
102 lines like `options snd_hda_intel index=1` or something similar.
103
104 Others have done a far better job explaining this than me. Our own guide
105 on our wiki [0] and Arch's wiki [1] should be adequate to get you going
106 fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
107 you don't have exotic hardware, this can be fixed in 15 minutes or less.
108
109 Hope this helps.
110
111 [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
112 [1]:
113 https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
114 --
115 Daniel Campbell - Gentoo Developer
116 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
117 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No... Miroslav Rovis <miro.rovis@××××××××××××××.hr>