Gentoo Archives: gentoo-user

From: Miroslav Rovis <miro.rovis@××××××××××××××.hr>
To: gentoo-user@l.g.o
Cc: Daniel Campbell <zlg@g.o>
Subject: Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No...
Date: Sat, 19 Nov 2016 10:00:29
Message-Id: 20161119095952.GC10942@g0n.xdwgrp
In Reply to: Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No... by Miroslav Rovis
1 On 161119-10:22+0100, Miroslav Rovis wrote:
2 > On 161119-00:33-0800, Daniel Campbell wrote:
3 ...
4 > > > And there is a question/query/my-asking-for-advice further below.
5 ...
6 > > >>> If jackd is to do with alsa, then it could be the following.
7 > > >>>
8 > > >>> Mozilla went pulse all the way:
9 > > >>> Require PulseAudio on Linux
10 > > >>> https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
11 > > >>> See also:
12 > > >>> Firefox nightly requires Pulse Audio
13 > > >>> http://forums.debian.net/viewtopic.php?f=20&t=130028
14 > > >>>
15 > > >>>> Hmmm...
16 > > >>>>
17 > > >>>> Is there any fix for that?
18 > > >>> Not familiar with jackd. But as far as alsa (which I stick to, like
19 > > >>> other discontented users), I don't have sound since months ago. The
20 > > >>> only way to get it would be to compile alsa myself, I'm afraid.
21 > > >>>
22 ...
23 > > > In that thred on alsa-user archive that I linked to, I got this link:
24 > > >
25 > > > [linuxaudio.org] html5 in ff through jack
26 > > > http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/thread.html#105188
27 ...
28 > So it's only this, probably (and I had given links that, indirectly,
29 > mislead another Gentoo user...):
30 ( No, it's not only this: )
31 > > Generally if you run into this problem, it's one of two things:
32 I've looked all options of my alsamixer, and it doesn't appear to me
33 that is's muted. I can play anything with MPlayer, and I can play an
34 HTML video by giving the url to Vlc...
35 > > 1. `alsamixer` hasn't been used to unmute the levels. After configuring
36 > > it, be sure to run 'alsactl store' as root and make sure the 'alsasound'
37 > > service is in the default run-level (`rc-update add alsasound default`
38 > > as root), or...
39 > > 2. Try adding these to your user's ~/.asoundrc file:
40
41 Also:
42 > > defaults.ctl.card x;
43 > > defaults.pcm.card x;
44 I every do often change my default card... I have only these two lines
45 (if I grep out all that is commented out) in my:
46 $ cat ~/.asoundrc | grep -v '^#'
47
48 pcm.!default { type hw card 1 }
49 ctl.!default { type hw card 1 }
50
51 and sometimes I need to set it to 0, sometimes to 1 (depending of the
52 update of the system and where the old Hauppauge HVR3000's audio, or the
53 MBO's Intel HD Audio end up...
54
55 So this below is what I somehow practice since long:
56 > > Replace 'x' with the numeric index of your card (which you can view in
57 > > alsamixer using F6).
58 That does give the option to choose the card. But it's only one of the
59 two, the Hauppauge or the Intel HD...
60
61 Starting alsamixer and hitting F3 should be where to look for. And I
62 don't see anything the changing of which gives me audio to work in
63 Firefox...
64 > > If the order of your cards changes on boot, you'll
65 > > need to tell the module controlling your sound (snd_hda_intel is common)
66 > > to set its index in a file like /etc/modprobe.d/alsa-base.conf, with
67 > > lines like `options snd_hda_intel index=1` or something similar.
68 I have all built in the kernel. I do have audio, such as with MPlayer or
69 with Vlc, just I don't have audio in Firefox.
70
71 > > Others have done a far better job explaining this than me. Our own guide
72 > > on our wiki [0] and Arch's wiki [1] should be adequate to get you going
73 > > fairly quickly. Just Ctrl+F "default" to find what you need. Assuming
74 > > you don't have exotic hardware, this can be fixed in 15 minutes or less.
75 > >
76 > > Hope this helps.
77 > >
78 > > [0]: https://wiki.gentoo.org/wiki/ALSA#Configuration
79 > > [1]:
80 > > https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card
81 It appears to be basically the same info as in your kind explanation...
82
83 But this is now getting way more than 15 minutes... I will try to find
84 more time, still, but not hours, for this issue...
85
86 > I don't think I even need to be back to report here if this just works
87 No, it doesn't. And the issue is not solved yet...
88
89 Regards!
90 --
91 Miroslav Rovis
92 Zagreb, Croatia
93 http://www.CroatiaFidelis.hr

Attachments

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

Replies