1 |
On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi <th982a@××××××××××.com> wrote: |
2 |
> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: |
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 |
>> Really weird. |
118 |
>> |
119 |
>>>> and trying to unmute and turn up the volume on everything. When you |
120 |
>>>> hear something with any player, return the asound.conf to /etc and try |
121 |
>>>> again. |
122 |
>>>> |
123 |
>>>> Regards. |
124 |
>>> |
125 |
>>> I have the dumb feeling that one process is blocking the output, I hear |
126 |
>>> in my headphones the white noise of my system, which wouldn't be there |
127 |
>>> if the soundcard hadn't been initialised. |
128 |
>> |
129 |
>> It's more simple than that: if you see the bars movind in the mixer |
130 |
>> application, some sound should be made. |
131 |
>> |
132 |
>>> Is there a way to find out which applications might make use of the |
133 |
>>> soundcard right now?! |
134 |
>> |
135 |
>> Probably with strace or a similar tool; however, let me see first if |
136 |
>> I'm understanding the problem. This is a laptop? |
137 |
> |
138 |
> A usual tower machine! Core2 DUO, nothing's special! |
139 |
> |
140 |
> If so, the sound |
141 |
>> works without headphones? The internal speakers work? |
142 |
> |
143 |
> with the headphones all the time.... |
144 |
> |
145 |
> There are no internal speakers (not a notebook) |
146 |
>> |
147 |
>> Also, can you please post the output of "pactl list"? |
148 |
> Yes of course, here it is: |
149 |
> |
150 |
> http://pastebin.com/raw.php?i=wDgy3x64 |
151 |
|
152 |
OK, I'm back on my laptop. I would have told you yesterday the |
153 |
commands, but using my phone keyboard make it slightly impossible. |
154 |
|
155 |
The problem (I think) is that your sound card has digital and analog |
156 |
outputs. At some point in the future, the kernel drivers would be able |
157 |
to auto-detect which output has a cable connected to it, but right now |
158 |
(AFAIK) is not working, and for some reason in your machine pulse is |
159 |
sending the output through the digital output: that's the meaning of: |
160 |
|
161 |
Aktive Profile: output:iec958-stereo |
162 |
|
163 |
the last line of your "pactl list". The profile you want is |
164 |
"output:analog-stereo+input:analog-stereo", because (if I'm not |
165 |
mistaken), that's the output that sends the sound to your speakers. To |
166 |
select that profile, simply do (as your normal user, not as root): |
167 |
|
168 |
pacmd set-card-profile 0 "output:analog-stereo+input:analog-stereo" |
169 |
|
170 |
The 0 is the index of your card (you know is this for the line "Karte |
171 |
#0" in the output of pactl list), and the profile is the analog one, |
172 |
both for output and input. |
173 |
|
174 |
Please reboot your machine with the default config files in |
175 |
/etc/pulse, and with your /etc/asound.conf, to make sure no other |
176 |
setting is getting in the way, and try the pacmd command. Then try |
177 |
again to play music with rhythmbox. |
178 |
|
179 |
Regards. |
180 |
-- |
181 |
Canek Peláez Valdés |
182 |
Posgrado en Ciencia e Ingeniería de la Computación |
183 |
Universidad Nacional Autónoma de México |