[opensuse-factory] Puzzled by pulseaudio and the whole audio setup mess
# rpm -qa|grep pulse pulseaudio-utils-0.9.15-1.10 pulseaudio-esound-compat-0.9.15-1.10 pulseaudio-module-x11-0.9.15-1.10 libpulsecore4-0.9.12-9.5 alsa-plugins-pulse-1.0.20-3.1 vlc-aout-pulse-0.9.9_1.0.0rc4-1.9 pulseaudio-module-jack-0.9.15-1.10 libpulse0-32bit-0.9.15-1.10 libpulse-browse0-0.9.15-1.10 libxine1-pulse-1.1.16.1-4.26 libpulse-mainloop-glib0-0.9.15-1.10 libpulse-devel-0.9.15-1.10 pulseaudio-0.9.15-1.10 libpulse0-0.9.15-1.10 # ps fax|grep pulse 10278 ? Ssl 0:00 pulseaudio --start # pactl list socket(): Address family not supported by protocol Connection failure: Connection refused # pactl stat socket(): Address family not supported by protocol Connection failure: Connection refused # aplay /jet.wav socket(): Address family not supported by protocol ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused aplay: main:608: audio open error: Connection refused *** This used to work. # paplay /jet.wav socket(): Address family not supported by protocol Connection failure: Connection refused # cat /jet.wav >/dev/dsp WORKS. Skype works Audio in firefox is silent. Messed with settings in paprefs, no change. Running without pulseaudio --- # aplay /jet.wav socket(): Address family not supported by protocol ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused aplay: main:608: audio open error: Connection refused **** As user **** lancelot@slipstream:~> pulseaudio --start lancelot@slipstream:~> ps fax|grep pulse 30133 pts/6 S+ 0:00 | | \_ grep pulse 30123 ? Ssl 0:00 pulseaudio --start lancelot@slipstream:~> aplay /jet.wav Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono *** No sound. "pactl list" as user dumps lots of stuff. ancelot@slipstream:~> pactl stat Currently in use: 2 blocks containing 127.9 KiB bytes total. Allocated during whole lifetime: 444 blocks containing 9.4 MiB bytes total. Sample cache size: 0 B User name: lancelot Host Name: slipstream Server Name: pulseaudio Server Version: 0.9.15 Default Sample Specification: s16le 2ch 96000Hz *** changed from 48000Hz in default.pa **** Default Channel Map: front-left,front-right Default Sink: alsa_output.pci_1102_8_sound_card_0 Default Source: alsa_input.pci_1102_8_sound_card_0 Cookie: 37f7e2ea lancelot@slipstream:~> paplay /jet.wav lancelot@slipstream:~> *** No sound output. Can someone decypher all this and recommend a way out of the mess. kmix controls all OK. Running under kde3 on Milestone 3 latest factory update. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 7/10/2009 at 8:01 AM, Sid Boyce
wrote: # rpm -qa|grep pulse libpulsecore4-0.9.12-9.5
This old rpm on your box indicates you have done a couple of upgrades rather than a clean install. Possibly you are in sort of a bad state. See solution below.
# pactl list Connection failure: Connection refused # pactl stat Connection failure: Connection refused # aplay /jet.wav Connection refused # paplay /jet.wav Connection failure: Connection refused
My guess is it's the same problem as above - you had an older version running and newer clients connecting. Why are you running these commands as root though? The daemon wont properly autospawn (if needed) that way.
# cat /jet.wav >/dev/dsp WORKS.
You are directly accessing the device bypassing anything else.
Skype works Audio in firefox is silent. Messed with settings in paprefs, no change. Running without pulseaudio --- # aplay /jet.wav ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
How are you "Running without pulseaudio"? GNOME is setup to route alsa through pulse by default - ie paplay and aplay are the same route. It looks like your KDE box is doing the same.
**** As user **** lancelot@slipstream:~> pulseaudio --start lancelot@slipstream:~> ps fax|grep pulse 30133 pts/6 S+ 0:00 | | \_ grep pulse 30123 ? Ssl 0:00 pulseaudio --start lancelot@slipstream:~> aplay /jet.wav Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
*** No sound.
lancelot@slipstream:~> paplay /jet.wav lancelot@slipstream:~> *** No sound output.
Try making sure you have a clean state kill any pulseaudio instance running rm -rf ~/.pulse* Does that work? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Scott Reeves wrote:
On 7/10/2009 at 8:01 AM, Sid Boyce
wrote: # rpm -qa|grep pulse libpulsecore4-0.9.12-9.5 This old rpm on your box indicates you have done a couple of upgrades rather than a clean install. Possibly you are in sort of a bad state. See solution below.
# pactl list Connection failure: Connection refused # pactl stat Connection failure: Connection refused # aplay /jet.wav Connection refused # paplay /jet.wav Connection failure: Connection refused
My guess is it's the same problem as above - you had an older version running and newer clients connecting. Why are you running these commands as root though? The daemon wont properly autospawn (if needed) that way.
# cat /jet.wav>/dev/dsp WORKS.
You are directly accessing the device bypassing anything else.
Skype works Audio in firefox is silent. Messed with settings in paprefs, no change. Running without pulseaudio --- # aplay /jet.wav ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
How are you "Running without pulseaudio"? GNOME is setup to route alsa through pulse by default - ie paplay and aplay are the same route. It looks like your KDE box is doing the same.
**** As user **** lancelot@slipstream:~> pulseaudio --start lancelot@slipstream:~> ps fax|grep pulse 30133 pts/6 S+ 0:00 | | \_ grep pulse 30123 ? Ssl 0:00 pulseaudio --start lancelot@slipstream:~> aplay /jet.wav Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
*** No sound.
lancelot@slipstream:~> paplay /jet.wav lancelot@slipstream:~> *** No sound output.
Try making sure you have a clean state kill any pulseaudio instance running rm -rf ~/.pulse* Does that work?
Absolutely no difference. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Sid Boyce wrote:
Scott Reeves wrote:
On 7/10/2009 at 8:01 AM, Sid Boyce
wrote: # rpm -qa|grep pulse libpulsecore4-0.9.12-9.5 This old rpm on your box indicates you have done a couple of upgrades rather than a clean install. Possibly you are in sort of a bad state. See solution below.
# pactl list Connection failure: Connection refused # pactl stat Connection failure: Connection refused # aplay /jet.wav Connection refused # paplay /jet.wav Connection failure: Connection refused
My guess is it's the same problem as above - you had an older version running and newer clients connecting. Why are you running these commands as root though? The daemon wont properly autospawn (if needed) that way.
# cat /jet.wav>/dev/dsp WORKS.
You are directly accessing the device bypassing anything else.
Skype works Audio in firefox is silent. Messed with settings in paprefs, no change. Running without pulseaudio --- # aplay /jet.wav ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
How are you "Running without pulseaudio"? GNOME is setup to route alsa through pulse by default - ie paplay and aplay are the same route. It looks like your KDE box is doing the same.
**** As user **** lancelot@slipstream:~> pulseaudio --start lancelot@slipstream:~> ps fax|grep pulse 30133 pts/6 S+ 0:00 | | \_ grep pulse 30123 ? Ssl 0:00 pulseaudio --start lancelot@slipstream:~> aplay /jet.wav Playing WAVE '/jet.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
*** No sound.
lancelot@slipstream:~> paplay /jet.wav lancelot@slipstream:~> *** No sound output.
Try making sure you have a clean state kill any pulseaudio instance running rm -rf ~/.pulse* Does that work?
Absolutely no difference. Regards Sid.
Just happened upon an article on linuxtoday which eventually led me to https://wiki.ubuntu.com/PulseAudio "mv /etc/asound-pulse.conf /<wherever>" "rcalsasound restart" pulseaudio safely out of the way. Now "aplay /jet.wav" plays, whereas before no sound came out. All other audio problems have vanished. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Scott Reeves
-
Sid Boyce