Gentoo Archives: gentoo-user

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