From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-129030-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1R94y9-0006po-4X
	for garchives@archives.gentoo.org; Thu, 29 Sep 2011 00:59:21 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 50ECF21C09E;
	Thu, 29 Sep 2011 00:59:12 +0000 (UTC)
Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 6D23621C074
	for <gentoo-user@lists.gentoo.org>; Thu, 29 Sep 2011 00:58:19 +0000 (UTC)
Received: by wwg14 with SMTP id 14so218417wwg.10
        for <gentoo-user@lists.gentoo.org>; Wed, 28 Sep 2011 17:58:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=wvocInS8dreSbW6QKQA/AdlU+QO7IuXvO+WQix7vfCk=;
        b=aIlGz54leJabqQatYILz4arEjGUktNagNow3W+3SUGcp2XZs3x+GYFey6S8YqZ0QZF
         ZQMpBCWPRqIBFAOqKuDLIP683JGEzQknJpLDsnYVQhU8EVeOl16ZrciYFy/mVDxCNB6Z
         kDxKLvV4fLXZe+N9VzqVW3ljm36vrMvoTZQpg=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.216.6.211 with SMTP id 61mr10693515wen.94.1317257898420; Wed,
 28 Sep 2011 17:58:18 -0700 (PDT)
Received: by 10.216.132.80 with HTTP; Wed, 28 Sep 2011 17:58:18 -0700 (PDT)
Received: by 10.216.132.80 with HTTP; Wed, 28 Sep 2011 17:58:18 -0700 (PDT)
In-Reply-To: <4E83BB43.1060607@googlemail.com>
References: <4E83907E.1070202@googlemail.com>
	<CADPrc82rjzfyM_cQf-i2-TtWwb7BWD6UU6+XEN1WceSWHpGtmg@mail.gmail.com>
	<4E839652.1010807@googlemail.com>
	<CADPrc81X2hsAxcLtkj1C8HpjDohDw-P3x4JXBdcXfHh+D3jUAw@mail.gmail.com>
	<4E83A8EA.2090602@googlemail.com>
	<CADPrc82tw=XW0_J6CxftFA6c7bS2ba=c8jpMBTne+dDDtQtnzA@mail.gmail.com>
	<4E83BB43.1060607@googlemail.com>
Date: Wed, 28 Sep 2011 20:58:18 -0400
Message-ID: <CADPrc81UR_bCarvV733EW_6EWWR-Mw3y5MeiGY+doXRgUF+boQ@mail.gmail.com>
Subject: Re: [gentoo-user] no sound with pulseaudio
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary=0016364c77651ce8b804ae0a014b
X-Archives-Salt: 
X-Archives-Hash: 94cae4a49a22dffd429aabb86bbcc4f9

--0016364c77651ce8b804ae0a014b
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I think I see the problem: the sound is getting through the digital output,
not the analog one (near the end of pactl output). You need to set the
analog output: pactl man page will tell you how (sorry, left the laptop at
the office and I'm writing this on my phone). It's also possible to do it
with gnome-sound-settings, in the hardware tab (if I remember correctly).

Good luck.
El 28/09/2011 20:27, "Tamer Higazi" <th982a@googlemail.com> escribi=C3=B3:
> Am 29.09.2011 01:27, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com>
wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com>
wrote:
>>>>> Am 28.09.2011 23:28, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>>>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi <th982a@googlemail.com=
>
wrote:
>>>>>>> Hi!
>>>>>>> I have configured pulseaudio according
>>>>>>>
>>>>>>> http://en.gentoo-wiki.com/wiki/PulseAudio
>>>>>>>
>>>>>>>
>>>>>>> but I simply have no sound.
>>>>>>>
>>>>>>> The pulseaudio playback volume meter shows me signal, and that the
bars
>>>>>>> are jumping if I playback a music track.
>>>>>>>
>>>>>>> alsa-plugins (with pulseaudio USE flag)
>>>>>>> gst-plugins-pulse
>>>>>>>
>>>>>>> are installed. But I don't know what is being blocked, that I have
no
>>>>>>> sound output at my headphones.
>>>>>>>
>>>>>>> PS: the headphones are ok.
>>>>>>>
>>>>>>> Any suggestions?
>>>>>>
>>>>>> What music player are you using? Did you set or modify ~/.asoundrc?
>>>>>
>>>>> ~/.asoundrc doesn't exist.
>>>>>
>>>>> I have /etc/asound.conf with these entries:
>>>>>
>>>>>
>>>>> pcm.pulse {
>>>>> type pulse
>>>>> }
>>>>>
>>>>> ctl.pulse {
>>>>> type pulse
>>>>> }
>>>>>
>>>>> for all alsa applications to be redirected to pulse!
>>>>
>>>> Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse,
>>>> then you need to specify pulse as the virtual ALSA device. If you want
>>>> "all alsa applications to be redirected to pulse", you need:
>>>>
>>>> pcm.!default {
>>>> type pulse
>>>> }
>>>>
>>>> ctl.!default {
>>>> type pulse
>>>> }
>>>>
>>>>> The players Rhythmbox, xine all with pulseaudio default output
plugins.
>>>>
>>>> That should work. Did you check in sound settings that pulse is indeed
>>>> the desired output
>>>>
>>>>>> What Desktop do you use?
>>>>>
>>>>> Gnome, latest 2.x version
>>>>>
>>>>> Is the pulseaudio daemon running?
>>>>>
>>>>> Yes!
>>>>>
>>>>> tamer@office ~ $ pstree -pu | grep puls
>>>>>
>>>>>
|-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841)
>>>>> | |-{pulseaudio}(22839)
>>>>> | `-{pulseaudio}(22842)
>>>>
>>>> Looks OK.
>>>>
>>>>> I have added all config files in "/etc/pulse/"
>>>>
>>>> I wouldn't touch the files on /etc/pulse. I recommend first trying to
>>>> make it work with the files included with pulseaudio (backup
>>>> /etc/pulse, move the dir out of /etc and emerge again pulseaudio)
>>>> before trying anything else. Supposedly, pulseaudio should "just
>>>> works". Since the first time I installed it I have never touched the
>>>> files in /etc/pulse, except to change the log-level of the daemon.
>>>>
>>> As requested, I moved the pulse folder somewhere else and remerged
>>> pulseaudio as well moved /etc/asound.conf somewhere else as well.
>>>
>>> No sound!
>>
>> Weird.
>>
>>>> I'm on GNOME 3, so things are a little different, and I don't remember
>>>> exactly the dialogs, but instead of the Gentoo wiki page, I would
>>>> follow this:
>>>>
>>>> http://www.pulseaudio.org/wiki/PerfectSetup
>>>>
>>>> And more specifically:
>>>>
>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GNOME
>>>>
>>>> and
>>>>
>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications
>>>>
>>>> Also, in really weird cases, the ALSA device gets its volume muted:
>>>> You can try to remove (back up first) /etc/asound.conf, and run (as
>>>> root)
>>>>
>>>> alsamixer -V all
>>>
>>> I did, and fired all the bars up. nothing! really nothing!
>>
>> Really weird.
>>
>>>> and trying to unmute and turn up the volume on everything. When you
>>>> hear something with any player, return the asound.conf to /etc and try
>>>> again.
>>>>
>>>> Regards.
>>>
>>> I have the dumb feeling that one process is blocking the output, I hear
>>> in my headphones the white noise of my system, which wouldn't be there
>>> if the soundcard hadn't been initialised.
>>
>> It's more simple than that: if you see the bars movind in the mixer
>> application, some sound should be made.
>>
>>> Is there a way to find out which applications might make use of the
>>> soundcard right now?!
>>
>> Probably with strace or a similar tool; however, let me see first if
>> I'm understanding the problem. This is a laptop?
>
> A usual tower machine! Core2 DUO, nothing's special!
>
> If so, the sound
>> works without headphones? The internal speakers work?
>
> with the headphones all the time....
>
> There are no internal speakers (not a notebook)
>>
>> Also, can you please post the output of "pactl list"?
> Yes of course, here it is:
>
> http://pastebin.com/raw.php?i=3DwDgy3x64
>>
>> Regards.
>
> thanks
>
>
> Tamer
>

--0016364c77651ce8b804ae0a014b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>I think I see the problem: the sound is getting through the digital outp=
ut, not the analog one (near the end of pactl output). You need to set the =
analog output: pactl man page will tell you how (sorry, left the laptop at =
the office and I&#39;m writing this on my phone). It&#39;s also possible to=
 do it with gnome-sound-settings, in the hardware tab (if I remember correc=
tly).</p>

<p>Good luck.</p>
<div class=3D"gmail_quote">El 28/09/2011 20:27, &quot;Tamer Higazi&quot; &l=
t;<a href=3D"mailto:th982a@googlemail.com">th982a@googlemail.com</a>&gt; es=
cribi=C3=B3:<br type=3D"attribution">&gt; Am 29.09.2011 01:27, schrieb Cane=
k Pel=C3=A1ez Vald=C3=A9s:<br>
&gt;&gt; On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi &lt;<a href=3D"mailt=
o:th982a@googlemail.com">th982a@googlemail.com</a>&gt; wrote:<br>&gt;&gt;&g=
t; Am 29.09.2011 00:03, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:<br>&gt;&gt;&=
gt;&gt; On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi &lt;<a href=3D"mailto=
:th982a@googlemail.com">th982a@googlemail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt; Am 28.09.2011 23:28, schrieb Canek Pel=C3=A1ez Vald=C3=
=A9s:<br>&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Sep 28, 2011 at 5:24 PM, Tamer Hi=
gazi &lt;<a href=3D"mailto:th982a@googlemail.com">th982a@googlemail.com</a>=
&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi!<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have con=
figured pulseaudio according<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt=
;&gt;&gt;&gt;&gt; <a href=3D"http://en.gentoo-wiki.com/wiki/PulseAudio">htt=
p://en.gentoo-wiki.com/wiki/PulseAudio</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt=
;&gt;&gt;&gt;&gt; but I simply have no sound.<br>&gt;&gt;&gt;&gt;&gt;&gt;&g=
t;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; The pulseaudio playback volume meter sho=
ws me signal, and that the bars<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; are jumping if I playback a music track.<br>&g=
t;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; alsa-plugins (wi=
th pulseaudio USE flag)<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; gst-plugins-pulse<b=
r>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; are installed.=
 But I don&#39;t know what is being blocked, that I have no<br>&gt;&gt;&gt;=
&gt;&gt;&gt;&gt; sound output at my headphones.<br>&gt;&gt;&gt;&gt;&gt;&gt;=
&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; PS: the headphones are ok.<br>&gt;&gt;&gt;&gt;=
&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any suggestions?<br>&gt;&gt;&g=
t;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; What music player are you using?=
 Did you set or modify ~/.asoundrc?<br>
&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; ~/.asoundrc doesn&#39;t exist.=
<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I have /etc/asound.conf wi=
th these entries:<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&g=
t;&gt;&gt;&gt; pcm.pulse {<br>
&gt;&gt;&gt;&gt;&gt;    type pulse<br>&gt;&gt;&gt;&gt;&gt; }<br>&gt;&gt;&gt=
;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; ctl.pulse {<br>&gt;&gt;&gt;&gt;&gt;    ty=
pe pulse<br>&gt;&gt;&gt;&gt;&gt; }<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&=
gt;&gt; for all alsa applications to be redirected to pulse!<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Mmmh. It&#39;s not exactly like that: =
If you use pcm.pulse and ctl.pulse,<br>&gt;&gt;&gt;&gt; then you need to sp=
ecify pulse as the virtual ALSA device. If you want<br>&gt;&gt;&gt;&gt; &qu=
ot;all alsa applications to be redirected to pulse&quot;, you need:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; pcm.!default {<br>&gt;&gt;&gt;&gt;    =
 type pulse<br>&gt;&gt;&gt;&gt; }<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; c=
tl.!default {<br>&gt;&gt;&gt;&gt;     type pulse<br>&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; The players Rhythmbox, xine all wi=
th pulseaudio default output plugins.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&g=
t; That should work. Did you check in sound settings that pulse is indeed<b=
r>
&gt;&gt;&gt;&gt; the desired output<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;=
&gt;&gt; What Desktop do you use?<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&g=
t;&gt; Gnome, latest 2.x version<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt=
;&gt;  Is the pulseaudio daemon running?<br>
&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Yes!<br>&gt;&gt;&gt;&gt;&gt;<b=
r>&gt;&gt;&gt;&gt;&gt; tamer@office ~ $ pstree -pu | grep puls<br>&gt;&gt;&=
gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; |-pulseaudio(22833,tamer)-+-gconf-helpe=
r(22840)---{gconf-helper}(22841)<br>
&gt;&gt;&gt;&gt;&gt;        |                         |-{pulseaudio}(22839)=
<br>&gt;&gt;&gt;&gt;&gt;        |                         `-{pulseaudio}(22=
842)<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Looks OK.<br>&gt;&gt;&gt;&gt;<=
br>
&gt;&gt;&gt;&gt;&gt; I have added all config files in &quot;/etc/pulse/&quo=
t;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I wouldn&#39;t touch the files o=
n /etc/pulse. I recommend first trying to<br>&gt;&gt;&gt;&gt; make it work =
with the files included with pulseaudio (backup<br>
&gt;&gt;&gt;&gt; /etc/pulse, move the dir out of /etc and emerge again puls=
eaudio)<br>&gt;&gt;&gt;&gt; before trying anything else. Supposedly, pulsea=
udio should &quot;just<br>&gt;&gt;&gt;&gt; works&quot;. Since the first tim=
e I installed it I have never touched the<br>
&gt;&gt;&gt;&gt; files in /etc/pulse, except to change the log-level of the=
 daemon.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; As requested, I moved the puls=
e folder somewhere else and remerged<br>&gt;&gt;&gt; pulseaudio as well mov=
ed /etc/asound.conf somewhere else as well.<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; No sound!<br>&gt;&gt; <br>&gt;&gt; Weird.<br>&=
gt;&gt; <br>&gt;&gt;&gt;&gt; I&#39;m on GNOME 3, so things are a little dif=
ferent, and I don&#39;t remember<br>&gt;&gt;&gt;&gt; exactly the dialogs, b=
ut instead of the Gentoo wiki page, I would<br>
&gt;&gt;&gt;&gt; follow this:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; <a hr=
ef=3D"http://www.pulseaudio.org/wiki/PerfectSetup">http://www.pulseaudio.or=
g/wiki/PerfectSetup</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; And more sp=
ecifically:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; <a href=3D"http://www.pulseaudio.org/w=
iki/PerfectSetup#GNOME">http://www.pulseaudio.org/wiki/PerfectSetup#GNOME</=
a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; and<br>&gt;&gt;&gt;&gt;<br>&gt;&=
gt;&gt;&gt; <a href=3D"http://www.pulseaudio.org/wiki/PerfectSetup#GStreame=
rApplications">http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplica=
tions</a><br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Also, in really weird cases, the ALSA =
device gets its volume muted:<br>&gt;&gt;&gt;&gt; You can try to remove (ba=
ck up first) /etc/asound.conf, and run (as<br>&gt;&gt;&gt;&gt; root)<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; alsamixer -V all<br>&gt;&gt;&gt;<br>&g=
t;&gt;&gt; I did, and fired all the bars up. nothing! really nothing!<br>&g=
t;&gt; <br>&gt;&gt; Really weird.<br>&gt;&gt; <br>&gt;&gt;&gt;&gt; and tryi=
ng to unmute and turn up the volume on everything. When you<br>
&gt;&gt;&gt;&gt; hear something with any player, return the asound.conf to =
/etc and try<br>&gt;&gt;&gt;&gt; again.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;=
&gt; Regards.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I have the dumb feeling that =
one process is blocking the output, I hear<br>
&gt;&gt;&gt; in my headphones the white noise of my system, which wouldn&#3=
9;t be there<br>&gt;&gt;&gt; if the soundcard hadn&#39;t been initialised.<=
br>&gt;&gt; <br>&gt;&gt; It&#39;s more simple than that: if you see the bar=
s movind in the mixer<br>
&gt;&gt; application, some sound should be made.<br>&gt;&gt; <br>&gt;&gt;&g=
t; Is there a way to find out which applications might make use of the<br>&=
gt;&gt;&gt; soundcard right now?!<br>&gt;&gt; <br>&gt;&gt; Probably with st=
race or a similar tool; however, let me see first if<br>
&gt;&gt; I&#39;m understanding the problem. This is a laptop?<br>&gt; <br>&=
gt; A usual tower machine! Core2 DUO, nothing&#39;s special!<br>&gt; <br>&g=
t;  If so, the sound<br>&gt;&gt; works without headphones? The internal spe=
akers work?<br>
&gt; <br>&gt; with the headphones all the time....<br>&gt; <br>&gt; There a=
re no internal speakers (not a notebook)<br>&gt;&gt; <br>&gt;&gt; Also, can=
 you please post the output of &quot;pactl list&quot;?<br>&gt; Yes of cours=
e, here it is:<br>
&gt; <br>&gt; <a href=3D"http://pastebin.com/raw.php?i=3DwDgy3x64">http://p=
astebin.com/raw.php?i=3DwDgy3x64</a><br>&gt;&gt; <br>&gt;&gt; Regards.<br>&=
gt; <br>&gt; thanks<br>&gt; <br>&gt; <br>&gt; Tamer<br>&gt; <br></div>

--0016364c77651ce8b804ae0a014b--