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 11:57:36
Message-Id: 4E5243EE.4070201@gmail.com
In Reply to: Re: [gentoo-user] ff & chromium trapped in deafness or how to configure ALSA correctly by Leonardo Guilherme
1 Am 21.08.2011 12:24, schrieb Leonardo Guilherme:
2 > 2011/8/21 Maximilian Bräutigam<max.braeutigam@××××××××××.com>:
3 >> Hello all,
4 >>
5 >> I recently bought a Zotac Barebone ZBOX HD-AD02 AMD E-350 and installed
6 >> Gentoo on it, what is working more or less very well except the sound. I
7 >> did everything according to gentoo and gentoowiki docs, I installed (due
8 >> to laziness) a gentoo-sources kernel with genkernel and Sabayon linux
9 >> standard configuration, and I am using pulseaudio, but when I launch
10 >> firefox or chromium from console and play some sounds, I get lots of
11 >> these error messages:
12 >>
13 >> "ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave"
14 >>
15 >> I already googled for it but didn't find something helpful. The Zbox has
16 >> a HDMI and a standard device:
17 >>
18 >> # lspci -v | grep -i audio
19 >> 00:01.1 Audio device: ATI Technologies Inc Device 1314
20 >> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
21 >>
22 >> # cat /proc/asound/cards
23 >> 0 [Generic ]: HDA-Intel - HD-Audio Generic
24 >> HD-Audio Generic at 0xfeb44000 irq 40
25 >> 1 [SB ]: HDA-Intel - HDA ATI SB
26 >> HDA ATI SB at 0xfeb40000 irq 16
27 >>
28 >> You can find the complete alsa-info output at
29 >> http://paste.pocoo.org/show/461744/
30 >>
31 >> For me, the interesting part is this section:
32 >>
33 >> **** List of PLAYBACK Hardware Devices ****
34 >> card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
35 >> Subdevices: 1/1
36 >> Subdevice #0: subdevice #0
37 >> card 1: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
38 >> Subdevices: 1/1
39 >> Subdevice #0: subdevice #0
40 >> card 1: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
41 >> Subdevices: 1/1
42 >> Subdevice #0: subdevice #0
43 >>
44 >> Is is possible that ff and chromium are sending data to HDMI since it is
45 >> card 0? If you think, it would be helpful to disable card 0 or change
46 >> the order, please tell me how to do it?
47 >>
48 >> I highly appreciate all kinds of help!
49 >>
50 >> Kind regards,
51 >> der Max
52 >>
53 >>
54 >
55 >
56 > Have you tried running alsaconf? what happens when you try alsamixer?
57 > I tend to hate pulseaudio. I fail to see its purpose, the only time i
58 > tried it gave me a big headache. My (totally biased and personal
59 > without any techincal background) advice is to stay clear of
60 > pulseaudio.
61 >
62
63 Hi Leonardo,
64
65 i tried it of course without pulse audio in advance, but e.g. totem and
66 vlc were using the wrong "standard" device and emerging world with
67 pulseaudio use flag makes totem and vlc use the right device ...
68 my only problems are chromium and ff ... and probably some other apps,
69 that I didn't test so far.
70
71 Kind regards,
72 Max