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