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 ) 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 ; Thu, 29 Sep 2011 00:58:19 +0000 (UTC) Received: by wwg14 with SMTP id 14so218417wwg.10 for ; 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: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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> <4E839652.1010807@googlemail.com> <4E83A8EA.2090602@googlemail.com> <4E83BB43.1060607@googlemail.com> Date: Wed, 28 Sep 2011 20:58:18 -0400 Message-ID: Subject: Re: [gentoo-user] no sound with pulseaudio From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= 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" 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 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 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 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

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'm writing this on my phone). It's also possible to= do it with gnome-sound-settings, in the hardware tab (if I remember correc= tly).

Good luck.

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