Gentoo Archives: gentoo-user

From: "Maximilian Bräutigam" <max.braeutigam@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ff & chromium trapped in deafness or how to configure ALSA correctly
Date: Mon, 22 Aug 2011 12:01:33
Message-Id: 4E5244D9.7090403@gmail.com
In Reply to: Re: [gentoo-user] ff & chromium trapped in deafness or how to configure ALSA correctly by Volker Armin Hemmann
1 Am 21.08.2011 12:57, schrieb Volker Armin Hemmann:
2 > Am Sonntag 21 August 2011, 04:48:49 schrieb Dale:
3 >> Maximilian Bräutigam wrote:
4 >>> Hello all,
5 >>>
6 >>> I recently bought a Zotac Barebone ZBOX HD-AD02 AMD E-350 and installed
7 >>> Gentoo on it, what is working more or less very well except the sound. I
8 >>> did everything according to gentoo and gentoowiki docs, I installed (due
9 >>> to laziness) a gentoo-sources kernel with genkernel and Sabayon linux
10 >>> standard configuration, and I am using pulseaudio, but when I launch
11 >>> firefox or chromium from console and play some sounds, I get lots of
12 >>> these error messages:
13 >>>
14 >>> "ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave"
15 >>>
16 >>> I already googled for it but didn't find something helpful. The Zbox has
17 >>> a HDMI and a standard device:
18 >>>
19 >>> # lspci -v | grep -i audio
20 >>> 00:01.1 Audio device: ATI Technologies Inc Device 1314
21 >>> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev
22 >>> 40)
23 >>>
24 >>> # cat /proc/asound/cards
25 >>>
26 >>> 0 [Generic ]: HDA-Intel - HD-Audio Generic
27 >>>
28 >>> HD-Audio Generic at
29 >>> 0xfeb44000 irq 40
30 >>>
31 >>> 1 [SB ]: HDA-Intel - HDA ATI SB
32 >>>
33 >>> HDA ATI SB at 0xfeb40000
34 >>> irq 16
35 >>>
36 >>> You can find the complete alsa-info output at
37 >>> http://paste.pocoo.org/show/461744/
38 >>>
39 >>> For me, the interesting part is this section:
40 >>>
41 >>> **** List of PLAYBACK Hardware Devices ****
42 >>> card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
43 >>>
44 >>> Subdevices: 1/1
45 >>> Subdevice #0: subdevice #0
46 >>>
47 >>> card 1: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
48 >>>
49 >>> Subdevices: 1/1
50 >>> Subdevice #0: subdevice #0
51 >>>
52 >>> card 1: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
53 >>>
54 >>> Subdevices: 1/1
55 >>> Subdevice #0: subdevice #0
56 >>>
57 >>> Is is possible that ff and chromium are sending data to HDMI since it is
58 >>> card 0? If you think, it would be helpful to disable card 0 or change
59 >>> the order, please tell me how to do it?
60 >>>
61 >>> I highly appreciate all kinds of help!
62 >>>
63 >>> Kind regards,
64 >>> der Max
65 >>
66 >> A silly question for a common problem. You did unmute the volume
67 >> right? The default is to have everything muted so it is very common for
68 >> folks to forget that little but important detail.
69 >>
70 >> Also, on one of my rigs, I had to unmute with both Kimix and alsamixer.
71 >>
72 >> Just a thought. I've done this myself.
73 >
74 > and don't forget to mute spdif optical raw
75 >
76 > and try without pulseaudio first.
77 >
78 >>
79 >> Dale
80 >>
81 >> :-) :-)
82
83 Hi Dale and Volker,
84
85 I tried it without pulseaudio first and, Dale, my card is unmuted. ;)
86 Totem and vlc are working without any problems but ff and chromium
87 aren't able to produce sound - and it is somehow related to the error
88 message above.
89
90 But Volker, I highly appreciate the tip with the spdif and I'll try that.
91
92 Thank you very much.
93
94 Kind regards,
95 Max