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:28:03
Message-Id: 4E83BB43.1060607@googlemail.com
In Reply to: Re: [gentoo-user] no sound with pulseaudio by "Canek Peláez Valdés"
1 Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
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 > Really weird.
117 >
118 >>> and trying to unmute and turn up the volume on everything. When you
119 >>> hear something with any player, return the asound.conf to /etc and try
120 >>> again.
121 >>>
122 >>> Regards.
123 >>
124 >> I have the dumb feeling that one process is blocking the output, I hear
125 >> in my headphones the white noise of my system, which wouldn't be there
126 >> if the soundcard hadn't been initialised.
127 >
128 > It's more simple than that: if you see the bars movind in the mixer
129 > application, some sound should be made.
130 >
131 >> Is there a way to find out which applications might make use of the
132 >> soundcard right now?!
133 >
134 > Probably with strace or a similar tool; however, let me see first if
135 > I'm understanding the problem. This is a laptop?
136
137 A usual tower machine! Core2 DUO, nothing's special!
138
139 If so, the sound
140 > works without headphones? The internal speakers work?
141
142 with the headphones all the time....
143
144 There are no internal speakers (not a notebook)
145 >
146 > Also, can you please post the output of "pactl list"?
147 Yes of course, here it is:
148
149 http://pastebin.com/raw.php?i=wDgy3x64
150 >
151 > Regards.
152
153 thanks
154
155
156 Tamer

Replies

Subject Author
Re: [gentoo-user] no sound with pulseaudio "Canek Peláez Valdés" <caneko@×××××.com>
Re: [gentoo-user] no sound with pulseaudio "Canek Peláez Valdés" <caneko@×××××.com>