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