* [gentoo-user] no sound with pulseaudio
@ 2011-09-28 21:24 Tamer Higazi
2011-09-28 21:28 ` Canek Peláez Valdés
0 siblings, 1 reply; 20+ messages in thread
From: Tamer Higazi @ 2011-09-28 21:24 UTC (permalink / raw
To: gentoo-user
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?
thanks
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 21:24 [gentoo-user] no sound with pulseaudio Tamer Higazi
@ 2011-09-28 21:28 ` Canek Peláez Valdés
2011-09-28 21:49 ` Tamer Higazi
0 siblings, 1 reply; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-28 21:28 UTC (permalink / raw
To: gentoo-user
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?
What Desktop do you use? Is the pulseaudio daemon running?
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 21:28 ` Canek Peláez Valdés
@ 2011-09-28 21:49 ` Tamer Higazi
2011-09-28 22:03 ` Canek Peláez Valdés
2011-09-28 22:09 ` Mick
0 siblings, 2 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-28 21:49 UTC (permalink / raw
To: gentoo-user
Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> 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!
The players Rhythmbox, xine all with pulseaudio default output plugins.
> 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)
>
> Regards.
I have added all config files in "/etc/pulse/"
default.pa:
http://pastebin.com/raw.php?i=gU7piwLf
client.conf:
http://pastebin.com/raw.php?i=4nwt7Upz
system.pa:
http://pastebin.com/raw.php?i=2uhRPEpP
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 21:49 ` Tamer Higazi
@ 2011-09-28 22:03 ` Canek Peláez Valdés
2011-09-28 23:08 ` Tamer Higazi
2011-09-28 22:09 ` Mick
1 sibling, 1 reply; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-28 22:03 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>> 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.
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
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.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 21:49 ` Tamer Higazi
2011-09-28 22:03 ` Canek Peláez Valdés
@ 2011-09-28 22:09 ` Mick
2011-09-28 22:49 ` Tamer Higazi
1 sibling, 1 reply; 20+ messages in thread
From: Mick @ 2011-09-28 22:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1273 bytes --]
On Wednesday 28 Sep 2011 22:49:06 Tamer Higazi wrote:
> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> > 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
> }
The link you provided also shows:
================================
[snip ...]
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
================================
Why did you leave these out of your /etc/asound.conf
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 22:09 ` Mick
@ 2011-09-28 22:49 ` Tamer Higazi
0 siblings, 0 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-28 22:49 UTC (permalink / raw
To: gentoo-user
Am 29.09.2011 00:09, schrieb Mick:
> On Wednesday 28 Sep 2011 22:49:06 Tamer Higazi wrote:
>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>> 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
>> }
>
>
> The link you provided also shows:
> ================================
> [snip ...]
>
> pcm.!default {
> type pulse
> }
> ctl.!default {
> type pulse
> }
> ================================
>
> Why did you leave these out of your /etc/asound.conf
>
Because Flash player didn't work in the past. When flash started, it
blocked the output of all other things among.
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 22:03 ` Canek Peláez Valdés
@ 2011-09-28 23:08 ` Tamer Higazi
2011-09-28 23:27 ` Canek Peláez Valdés
0 siblings, 1 reply; 20+ messages in thread
From: Tamer Higazi @ 2011-09-28 23:08 UTC (permalink / raw
To: gentoo-user
Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>> 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!
> 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!
>
> 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.
Is there a way to find out which applications might make use of the
soundcard right now?!
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 23:08 ` Tamer Higazi
@ 2011-09-28 23:27 ` Canek Peláez Valdés
2011-09-28 23:28 ` Canek Peláez Valdés
2011-09-29 0:26 ` Tamer Higazi
0 siblings, 2 replies; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-28 23:27 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>> 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? If so, the sound
works without headphones? The internal speakers work?
Also, can you please post the output of "pactl list"?
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 23:27 ` Canek Peláez Valdés
@ 2011-09-28 23:28 ` Canek Peláez Valdés
2011-09-29 0:30 ` Tamer Higazi
2011-09-29 0:36 ` Tamer Higazi
2011-09-29 0:26 ` Tamer Higazi
1 sibling, 2 replies; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-28 23:28 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>> 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!
Also, in alsamixer not only set the bars up: make sure the control is
not muted (it has an "M" at the bottom if muted). You can mute/unmute
pressing the letter 'm'.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 23:27 ` Canek Peláez Valdés
2011-09-28 23:28 ` Canek Peláez Valdés
@ 2011-09-29 0:26 ` Tamer Higazi
2011-09-29 0:58 ` Canek Peláez Valdés
2011-09-29 14:51 ` Canek Peláez Valdés
1 sibling, 2 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-29 0:26 UTC (permalink / raw
To: gentoo-user
Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>> 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=wDgy3x64
>
> Regards.
thanks
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 23:28 ` Canek Peláez Valdés
@ 2011-09-29 0:30 ` Tamer Higazi
2011-09-29 0:36 ` Tamer Higazi
1 sibling, 0 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-29 0:30 UTC (permalink / raw
To: gentoo-user
Am 29.09.2011 01:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés <caneko@gmail.com> wrote:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>> 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!
>
> Also, in alsamixer not only set the bars up: make sure the control is
> not muted (it has an "M" at the bottom if muted). You can mute/unmute
> pressing the letter 'm'.
I double checked, not all UNMUTED!
and as I have raised all the bars the white sound become more WHITER,
but no playback sound for anything, if you get what I try to say....
>
> Regards.
thx
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-28 23:28 ` Canek Peláez Valdés
2011-09-29 0:30 ` Tamer Higazi
@ 2011-09-29 0:36 ` Tamer Higazi
1 sibling, 0 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-29 0:36 UTC (permalink / raw
To: gentoo-user
Am 29.09.2011 01:28, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 7:27 PM, Canek Peláez Valdés <caneko@gmail.com> wrote:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>> 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!
>
> Also, in alsamixer not only set the bars up: make sure the control is
> not muted (it has an "M" at the bottom if muted). You can mute/unmute
> pressing the letter 'm'.
>
> Regards.
I opened the browser, and I hear music!!!! WOW!!! but the pulsemeter
playback is death. It does, but not through pulseaudio :(
so with alsa directly we have sound, but not with pulseaudio
Tamer
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 0:26 ` Tamer Higazi
@ 2011-09-29 0:58 ` Canek Peláez Valdés
2011-09-29 3:23 ` Spidey / Claudio
2011-09-29 10:19 ` Tamer Higazi
2011-09-29 14:51 ` Canek Peláez Valdés
1 sibling, 2 replies; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-29 0:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5312 bytes --]
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ó:
> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com>
wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com>
wrote:
>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>> 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=wDgy3x64
>>
>> Regards.
>
> thanks
>
>
> Tamer
>
[-- Attachment #2: Type: text/html, Size: 8309 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 0:58 ` Canek Peláez Valdés
@ 2011-09-29 3:23 ` Spidey / Claudio
2011-09-29 3:26 ` Spidey / Claudio
2011-09-29 10:19 ` Tamer Higazi
1 sibling, 1 reply; 20+ messages in thread
From: Spidey / Claudio @ 2011-09-29 3:23 UTC (permalink / raw
To: gentoo-user
pavucontrol is your friend. It lets you configure your sound devices
current profile, and also set the fallback (default) sink.
Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1
On Wed, Sep 28, 2011 at 21:58, Canek Peláez Valdés <caneko@gmail.com> wrote:
> 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ó:
>> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com>
>>> wrote:
>>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com>
>>>>> wrote:
>>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>>> 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=wDgy3x64
>>>
>>> Regards.
>>
>> thanks
>>
>>
>> Tamer
>>
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 3:23 ` Spidey / Claudio
@ 2011-09-29 3:26 ` Spidey / Claudio
0 siblings, 0 replies; 20+ messages in thread
From: Spidey / Claudio @ 2011-09-29 3:26 UTC (permalink / raw
To: gentoo-user
Also, if flash didn't work previously, that's because it was not using
PA (or alsa default device), it was hardcoded to use alsa device hw0,
so they "forcefully" used to use ALSA. Since PA has control over the
sound device (since PA is the mixer, not ALSA), flash couldn't use it,
thus no sound.
I reaffirm, you should use all 4 blocks of configuration in your
asound.conf. It will "create" the PA virtual device and also set it as
default for the system. This way, ALSA software will output to PA too.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 0:58 ` Canek Peláez Valdés
2011-09-29 3:23 ` Spidey / Claudio
@ 2011-09-29 10:19 ` Tamer Higazi
1 sibling, 0 replies; 20+ messages in thread
From: Tamer Higazi @ 2011-09-29 10:19 UTC (permalink / raw
To: gentoo-user
You are absolutely right!
when I added asound.conf again, all alsa sources are directed to
pulseaudio and again no sound.
I am not an expert with pulseaudio. If you can help me there, I would
thank you.
In the meanwhile I will see how to get it handled. As I got it
(hopefully) solved, I will repost.
Thanks
Tamer
Am 29.09.2011 02:58, schrieb Canek Peláez Valdés:
> 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
> <mailto:th982a@googlemail.com>> escribió:
>> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com
> <mailto:th982a@googlemail.com>> wrote:
>>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi
> <th982a@googlemail.com <mailto:th982a@googlemail.com>> wrote:
>>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi
> <th982a@googlemail.com <mailto: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=wDgy3x64
>>>
>>> Regards.
>>
>> thanks
>>
>>
>> Tamer
>>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 0:26 ` Tamer Higazi
2011-09-29 0:58 ` Canek Peláez Valdés
@ 2011-09-29 14:51 ` Canek Peláez Valdés
2011-09-30 1:47 ` Spidey / Claudio
2011-10-07 23:41 ` Tamer Higazi
1 sibling, 2 replies; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-09-29 14:51 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>> 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=wDgy3x64
OK, I'm back on my laptop. I would have told you yesterday the
commands, but using my phone keyboard make it slightly impossible.
The problem (I think) is that your sound card has digital and analog
outputs. At some point in the future, the kernel drivers would be able
to auto-detect which output has a cable connected to it, but right now
(AFAIK) is not working, and for some reason in your machine pulse is
sending the output through the digital output: that's the meaning of:
Aktive Profile: output:iec958-stereo
the last line of your "pactl list". The profile you want is
"output:analog-stereo+input:analog-stereo", because (if I'm not
mistaken), that's the output that sends the sound to your speakers. To
select that profile, simply do (as your normal user, not as root):
pacmd set-card-profile 0 "output:analog-stereo+input:analog-stereo"
The 0 is the index of your card (you know is this for the line "Karte
#0" in the output of pactl list), and the profile is the analog one,
both for output and input.
Please reboot your machine with the default config files in
/etc/pulse, and with your /etc/asound.conf, to make sure no other
setting is getting in the way, and try the pacmd command. Then try
again to play music with rhythmbox.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 14:51 ` Canek Peláez Valdés
@ 2011-09-30 1:47 ` Spidey / Claudio
2011-10-07 23:41 ` Tamer Higazi
1 sibling, 0 replies; 20+ messages in thread
From: Spidey / Claudio @ 2011-09-30 1:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 7191 bytes --]
On Thu, Sep 29, 2011 at 11:51, Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi <th982a@googlemail.com>
> wrote:
> > Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
> >> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com>
> wrote:
> >>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
> >>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com>
> wrote:
> >>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
> >>>>>> 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=wDgy3x64
>
> OK, I'm back on my laptop. I would have told you yesterday the
> commands, but using my phone keyboard make it slightly impossible.
>
> The problem (I think) is that your sound card has digital and analog
> outputs. At some point in the future, the kernel drivers would be able
> to auto-detect which output has a cable connected to it, but right now
> (AFAIK) is not working, and for some reason in your machine pulse is
> sending the output through the digital output: that's the meaning of:
>
> Aktive Profile: output:iec958-stereo
>
> the last line of your "pactl list". The profile you want is
> "output:analog-stereo+input:analog-stereo", because (if I'm not
> mistaken), that's the output that sends the sound to your speakers. To
> select that profile, simply do (as your normal user, not as root):
>
> pacmd set-card-profile 0 "output:analog-stereo+input:analog-stereo"
>
> The 0 is the index of your card (you know is this for the line "Karte
> #0" in the output of pactl list), and the profile is the analog one,
> both for output and input.
>
> Please reboot your machine with the default config files in
> /etc/pulse, and with your /etc/asound.conf, to make sure no other
> setting is getting in the way, and try the pacmd command. Then try
> again to play music with rhythmbox.
>
> Regards.
> --
> Canek Peláez Valdés
> Posgrado en Ciencia e Ingeniería de la Computación
> Universidad Nacional Autónoma de México
>
>
Merge pavucontrol and use it to configure pulseaudio, it's a graphical
"pacmd interface" (not exactly true).
Also, you don't need to reboot, only if you updated pulseaudio itself, and
even then, a logout-login should be enough.
Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1
[-- Attachment #2: Type: text/html, Size: 10500 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-09-29 14:51 ` Canek Peláez Valdés
2011-09-30 1:47 ` Spidey / Claudio
@ 2011-10-07 23:41 ` Tamer Higazi
2011-10-07 23:49 ` Canek Peláez Valdés
1 sibling, 1 reply; 20+ messages in thread
From: Tamer Higazi @ 2011-10-07 23:41 UTC (permalink / raw
To: gentoo-user
dear Valdáez!
I still didn't mention to say thank you very much for all of your
support. It works, and that wonderfully.
I deeply apologize answering that late, I was the last days sick and
couldn't answer anyone.
Listening to music works fine, only the mic doesn't work :(
Tamer
Am 29.09.2011 16:51, schrieb Canek Peláez Valdés:
> On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
>>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
>>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com> wrote:
>>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
>>>>>>> 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=wDgy3x64
>
> OK, I'm back on my laptop. I would have told you yesterday the
> commands, but using my phone keyboard make it slightly impossible.
>
> The problem (I think) is that your sound card has digital and analog
> outputs. At some point in the future, the kernel drivers would be able
> to auto-detect which output has a cable connected to it, but right now
> (AFAIK) is not working, and for some reason in your machine pulse is
> sending the output through the digital output: that's the meaning of:
>
> Aktive Profile: output:iec958-stereo
>
> the last line of your "pactl list". The profile you want is
> "output:analog-stereo+input:analog-stereo", because (if I'm not
> mistaken), that's the output that sends the sound to your speakers. To
> select that profile, simply do (as your normal user, not as root):
>
> pacmd set-card-profile 0 "output:analog-stereo+input:analog-stereo"
>
> The 0 is the index of your card (you know is this for the line "Karte
> #0" in the output of pactl list), and the profile is the analog one,
> both for output and input.
>
> Please reboot your machine with the default config files in
> /etc/pulse, and with your /etc/asound.conf, to make sure no other
> setting is getting in the way, and try the pacmd command. Then try
> again to play music with rhythmbox.
>
> Regards.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] no sound with pulseaudio
2011-10-07 23:41 ` Tamer Higazi
@ 2011-10-07 23:49 ` Canek Peláez Valdés
0 siblings, 0 replies; 20+ messages in thread
From: Canek Peláez Valdés @ 2011-10-07 23:49 UTC (permalink / raw
To: gentoo-user
On Fri, Oct 7, 2011 at 4:41 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> dear Valdáez!
> I still didn't mention to say thank you very much for all of your
> support. It works, and that wonderfully.
>
> I deeply apologize answering that late, I was the last days sick and
> couldn't answer anyone.
No prob.
> Listening to music works fine, only the mic doesn't work :(
Should work using pavucontrol: install it and check the "Input
devices" tab (it's the fourth one in my laptop).
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2011-10-07 23:51 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 21:24 [gentoo-user] no sound with pulseaudio Tamer Higazi
2011-09-28 21:28 ` Canek Peláez Valdés
2011-09-28 21:49 ` Tamer Higazi
2011-09-28 22:03 ` Canek Peláez Valdés
2011-09-28 23:08 ` Tamer Higazi
2011-09-28 23:27 ` Canek Peláez Valdés
2011-09-28 23:28 ` Canek Peláez Valdés
2011-09-29 0:30 ` Tamer Higazi
2011-09-29 0:36 ` Tamer Higazi
2011-09-29 0:26 ` Tamer Higazi
2011-09-29 0:58 ` Canek Peláez Valdés
2011-09-29 3:23 ` Spidey / Claudio
2011-09-29 3:26 ` Spidey / Claudio
2011-09-29 10:19 ` Tamer Higazi
2011-09-29 14:51 ` Canek Peláez Valdés
2011-09-30 1:47 ` Spidey / Claudio
2011-10-07 23:41 ` Tamer Higazi
2011-10-07 23:49 ` Canek Peláez Valdés
2011-09-28 22:09 ` Mick
2011-09-28 22:49 ` Tamer Higazi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox