Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] no sound with pulseaudio
Date: Wed, 28 Sep 2011 23:30:48
Message-Id: CADPrc8191MmF-iBvq5tOd5r-a=T3qp_T1WaRpz=kJXk+ET4bVA@mail.gmail.com
In Reply to: Re: [gentoo-user] no sound with pulseaudio by "Canek Peláez Valdés"
1 On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
2 > On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@××××××××××.com> wrote:
3 >> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
4 >>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@××××××××××.com> wrote:
5 >>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
6 >>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi <th982a@××××××××××.com> wrote:
7 >>>>>> Hi!
8 >>>>>> I have configured pulseaudio according
9 >>>>>>
10 >>>>>> http://en.gentoo-wiki.com/wiki/PulseAudio
11 >>>>>>
12 >>>>>>
13 >>>>>> but I simply have no sound.
14 >>>>>>
15 >>>>>> The pulseaudio playback volume meter shows me signal, and that the bars
16 >>>>>> are jumping if I playback a music track.
17 >>>>>>
18 >>>>>> alsa-plugins (with pulseaudio USE flag)
19 >>>>>> gst-plugins-pulse
20 >>>>>>
21 >>>>>> are installed. But I don't know what is being blocked, that I have no
22 >>>>>> sound output at my headphones.
23 >>>>>>
24 >>>>>> PS: the headphones are ok.
25 >>>>>>
26 >>>>>> Any suggestions?
27 >>>>>
28 >>>>> What music player are you using? Did you set or modify ~/.asoundrc?
29 >>>>
30 >>>> ~/.asoundrc doesn't exist.
31 >>>>
32 >>>> I have /etc/asound.conf with these entries:
33 >>>>
34 >>>>
35 >>>> pcm.pulse {
36 >>>>    type pulse
37 >>>> }
38 >>>>
39 >>>> ctl.pulse {
40 >>>>    type pulse
41 >>>> }
42 >>>>
43 >>>> for all alsa applications to be redirected to pulse!
44 >>>
45 >>> Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse,
46 >>> then you need to specify pulse as the virtual ALSA device. If you want
47 >>> "all alsa applications to be redirected to pulse", you need:
48 >>>
49 >>> pcm.!default {
50 >>>     type pulse
51 >>> }
52 >>>
53 >>> ctl.!default {
54 >>>     type pulse
55 >>> }
56 >>>
57 >>>> The players Rhythmbox, xine all with pulseaudio default output plugins.
58 >>>
59 >>> That should work. Did you check in sound settings that pulse is indeed
60 >>> the desired output
61 >>>
62 >>>>> What Desktop do you use?
63 >>>>
64 >>>> Gnome, latest 2.x version
65 >>>>
66 >>>>  Is the pulseaudio daemon running?
67 >>>>
68 >>>> Yes!
69 >>>>
70 >>>> tamer@office ~ $ pstree -pu | grep puls
71 >>>>
72 >>>> |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841)
73 >>>>        |                         |-{pulseaudio}(22839)
74 >>>>        |                         `-{pulseaudio}(22842)
75 >>>
76 >>> Looks OK.
77 >>>
78 >>>> I have added all config files in "/etc/pulse/"
79 >>>
80 >>> I wouldn't touch the files on /etc/pulse. I recommend first trying to
81 >>> make it work with the files included with pulseaudio (backup
82 >>> /etc/pulse, move the dir out of /etc and emerge again pulseaudio)
83 >>> before trying anything else. Supposedly, pulseaudio should "just
84 >>> works". Since the first time I installed it I have never touched the
85 >>> files in /etc/pulse, except to change the log-level of the daemon.
86 >>>
87 >> As requested, I moved the pulse folder somewhere else and remerged
88 >> pulseaudio as well moved /etc/asound.conf somewhere else as well.
89 >>
90 >> No sound!
91 >
92 > Weird.
93 >
94 >>> I'm on GNOME 3, so things are a little different, and I don't remember
95 >>> exactly the dialogs, but instead of the Gentoo wiki page, I would
96 >>> follow this:
97 >>>
98 >>> http://www.pulseaudio.org/wiki/PerfectSetup
99 >>>
100 >>> And more specifically:
101 >>>
102 >>> http://www.pulseaudio.org/wiki/PerfectSetup#GNOME
103 >>>
104 >>> and
105 >>>
106 >>> http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications
107 >>>
108 >>> Also, in really weird cases, the ALSA device gets its volume muted:
109 >>> You can try to remove (back up first) /etc/asound.conf, and run (as
110 >>> root)
111 >>>
112 >>> alsamixer -V all
113 >>
114 >> I did, and fired all the bars up. nothing! really nothing!
115
116 Also, in alsamixer not only set the bars up: make sure the control is
117 not muted (it has an "M" at the bottom if muted). You can mute/unmute
118 pressing the letter 'm'.
119
120 Regards.
121 --
122 Canek Peláez Valdés
123 Posgrado en Ciencia e Ingeniería de la Computación
124 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] no sound with pulseaudio Tamer Higazi <th982a@××××××××××.com>
Re: [gentoo-user] no sound with pulseaudio Tamer Higazi <th982a@××××××××××.com>