Sound Problem

I am running Opensuse 11.1 Gnome, and I looking for help to resolve a sound issue. I have tried testing for sound as shown below; I get no sound out of my speakers.

morgan@linux-e10c:~> speaker-test -c2 -l5 -twav



speaker-test 1.0.18



Playback device is default

Stream parameters are 48000Hz, S16_LE, 2 channels

WAV file(s)

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused



Playback open error: -111,Connection refused

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused



Playback open error: -111,Connection refused

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused



Playback open error: -111,Connection refused

^C

I have tried an Alsa-update (Alsa-update - openSUSE) with no success.

I ran the /usr/sbin/alsa-info.sh script, here is the URL:
http://www.alsa-project.org/db/?f=ef47c42efcd18e948820a76ed75071bc3cf5856b

Here is some other information I have seen requested in the forums:

morgan@linux-e10c:~> rpm -qa | grep alsa

alsa-1.0.18-8.7

alsa-driver-kmp-default-1.0.18.20090104_2.6.27.7_9.1-1.1

alsa-plugins-pulse-1.0.18-6.12

alsa-utils-1.0.18-6.4

alsa-firmware-1.0.17-1.42

alsa-oss-1.0.17-1.37

alsa-plugins-1.0.18-6.12

alsa-tools-1.0.18-1.13

morgan@linux-e10c:~> rpm -qa | grep pulse

pulseaudio-0.9.12-9.6

pulseaudio-module-zeroconf-0.9.12-9.6

pulseaudio-esound-compat-0.9.12-9.6

libpulse0-0.9.12-9.6

alsa-plugins-pulse-1.0.18-6.12

pulseaudio-module-lirc-0.9.12-9.6

libpulsecore4-0.9.12-9.6

pulseaudio-module-bluetooth-0.9.12-9.6

libxine1-pulse-1.1.15-20.8

libpulse-browse0-0.9.12-9.6

pulseaudio-utils-0.9.12-9.6

pulseaudio-module-gconf-0.9.12-9.6

libpulse-mainloop-glib0-0.9.12-9.6

pulseaudio-module-x11-0.9.12-9.6

morgan@linux-e10c:~> rpm -q libasound2

libasound2-1.0.18-8.7

morgan@linux-e10c:~> uname -a

Linux linux-e10c 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux

morgan@linux-e10c:~> cat /etc/modprobe.d/sound



options snd slots=snd-cmipci

# CvwD.fQ0hnWtjobB:CMI8738 6ch-MX

alias snd-card-0 snd-cmipci


Thank You

This appears to be a problem. You added the alsa-driver-kmp-default, but you did not add the updated alsa that goes with it.

To do a proper alsa update, I recommend you open a gnome terminal , type “su” (no quotes - enter root password) to get root permissions, and then send the following six zypper commands in sequence, one by one. Its possible the the 5th command may come back saying rpm already installed. Still send the 6th command:

 zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 
zypper install alsa alsa-utils alsa-oss alsa-plugins alsa-plugins-pulse alsa-tools alsa-firmware libasound2
zypper rr multimedia
 zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1/ multimedia 
 zypper install alsa-driver-kmp-default 
zypper rr multimedia

then restart your PC and test your sound.

Isn’t this a bit overcomplicated procedure for an OS that has just been released? With sound completely dead on a fairly mainstream ASUS motherboard, I’d like to suggest either a quick re-roll or at least a quick fix on the standard software repos. I’ve been futzing with this for too many hours now. Ubuntu 8.10 is the most popular fix I’ve been able to Google.

Does your suggestion for pulling from all those multimedia repos apply to the dead-or-scratchy sound issues with the ASUS M3N78 PRO mother board? Thanks - Bruce

bkorb, if you look at smithoo4’s post, you will see they already added the alsa-driver-kmp-default version, but did not add the other versions of alsa that MUST be installed along with instead. That invariably breaks one’s sound.

There are two approaches:
a. roll back to the original alsa, or
b. update to the latest.

openSUSE-11.1 comes with 1.0.18a of alsa, but that is not the latest, as an alsa dev (who is also an openSUSE dev) packages cutting edge fixes to alsa for openSUSE (where the updates have been submitted upstream to alsa, but a 1.0.19 version of alsa has not been created yet) .

This is not complicated. Its a simple addition of the repository, updating alsa (which was incorrectly done), removal of the repository, then addition of a 2nd repository, updating the alsa-driver-kmp-default (to be consistent with the first group), followed by the removal of the repository.

bkorb, do you have a sound problem? If so, perhaps you can start a new thread. The fixes I proposed are specific for smithoo4 and not intended for other users. They could even be wrong for other users, depending on their kernel version.

I have tried your recommendations but with no success. I continue to get the same error when I test for sound.

morgan@linux-e10c:~> speaker-test -c2 -l5 -twav



speaker-test 1.0.18



Playback device is default

Stream parameters are 48000Hz, S16_LE, 2 channels

WAV file(s)

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused



Playback open error: -111,Connection refused

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused



Playback open error: -111,Connection refused

^C

I ran the alsa info commands after updating in case it will help with future troubleshooting.

morgan@linux-e10c:~> rpm -qa | grep alsa

alsa-1.0.18.git20081212-1.1

alsa-plugins-1.0.18.git20081122-1.10

alsa-tools-1.0.18.git20081201-1.5

alsa-plugins-pulse-1.0.18.git20081122-1.10

alsa-firmware-1.0.17.git20081202-2.3

alsa-driver-kmp-default-1.0.18.20090104_2.6.27.7_9.1-2.1

alsa-utils-1.0.18.git20081122-1.7

alsa-oss-1.0.17.git20080715-2.7

morgan@linux-e10c:~> rpm -qa | grep pulse

pulseaudio-0.9.12-9.6

pulseaudio-module-zeroconf-0.9.12-9.6

pulseaudio-esound-compat-0.9.12-9.6

libpulse0-0.9.12-9.6

pulseaudio-module-lirc-0.9.12-9.6

libpulsecore4-0.9.12-9.6

pulseaudio-module-bluetooth-0.9.12-9.6

alsa-plugins-pulse-1.0.18.git20081122-1.10

libxine1-pulse-1.1.15-20.8

libpulse-browse0-0.9.12-9.6

pulseaudio-utils-0.9.12-9.6

pulseaudio-module-gconf-0.9.12-9.6

libpulse-mainloop-glib0-0.9.12-9.6

pulseaudio-module-x11-0.9.12-9.6

morgan@linux-e10c:~> rpm -q libasound2

libasound2-1.0.18.git20081212-1.1

morgan@linux-e10c:~> uname -a

Linux linux-e10c 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux

morgan@linux-e10c:~> cat /etc/modprobe.d/sound



options snd slots=snd-cmipci

# CvwD.fQ0hnWtjobB:CMI8738 6ch-MX

alias snd-card-0 snd-cmipci

Thank You

This is looking more and more like a pulse audio issue, that is likely specific to the gnome desktop. I do not use gnome, so I have no experience with this.

But there are some gtk pulse audio utilities that you can run, to see if they might help:

I can only speculate that one of those (possibly pavucontrol or padevchooser) have a wrong setting.

On the off chance this is a mixer problem, you could run the diagnostic script again, and post here the output URL. Ie with your pc connected to the internet run:
/usr/sbin/alsa-info.shand post here the output URL.

If we do not see anything wrong with your mixer setup, then I believe we need to focus on your pulse audio setup.

When I find some time – I hope later today – I will try the utilities you recommend. But here is the URL from the /usr/sbin/alsa-info.sh script:
http://www.alsa-project.org/db/?f=4d3f02208a910c61c3920f48f09140416682bcb4

Thank you

I don’t have your hardware, but I do have some basic questions about your mixer settings which are likely not relevant, but I think you could consider what I ask.

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [CMI8738]

Card hw:0 ‘CMI8738’/‘C-Media CMI8738 (model 55) at 0xd800, irq 17’
Mixer name : ‘CMedia PCI’
Simple mixer control ‘Master’,0
Capabilities: pvolume
Front Left: Playback 17 55%]
Front Right: Playback 17 55%]
Simple mixer control ‘3D Control - Switch’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘Line’,0
Capabilities: pvolume pswitch cswitch
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control ‘Line-In Mode’,0
Capabilities: enum
Items: ‘Line-In’ ‘Rear Output’ ‘Bass Output’
Item0: ‘Line-In’
Simple mixer control ‘IEC958 5V’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [on]
Simple mixer control ‘IEC958 Copyright’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 In Monitor’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 In Phase Inverse’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 In Select’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 In Valid’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 Loop’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 Output’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘Four Channel Mode’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]I typed in red some items I do not understand.

  • Your master volume is at 55%. Not all audio implementations with the alsa driver are linear, and its possible you will not get any volume until you move it up to a much higher %. I recommend for basic sound during testing (and only during testing) one move their audio up to 95%. *]You have your mixer 3D control off. I suspect that is ok, but you could try switch it ON to see if that makes a difference. *]You have your mixer control line OFF. What happens if you switch that ON ? *]You have your mixer control to “line in” instead of base or rear out. Does changing that help? *]You have your mixer for digital audio (iec954) ON, but OFF everywhere else. That is inconsistent. Should all of your digital audio be ON ? or conversely, should that mixer be OFF ?

Good luck with the pulse audio apps that I linked to.

This is looking more and more like a pulse audio issue, that is likely specific to the gnome desktop. I do not use gnome, so I have no experience with this.

But there are some gtk pulse audio utilities that you can run, to see if they might help:
padevchooser - PulseAudio Device Chooser 0.9.3
pavucontrol - PulseAudio Volume Control 0.9.7 ,
pavumeter - PulseAudio Volume Meter 0.9.3 ,
paman - PulseAudio Manager 0.9.4 ,
paprefs - PulseAudio Preferences 0.9.7
As to their precise function, the web sites I linked provide some information.

I can only speculate that one of those (possibly pavucontrol or padevchooser) have a wrong setting.

I am afraid that these utilities were little help. When I opened most of them I would get an error message “Connection failed: Connection refused” or a window with blank fields and a note at the bottom “Failure: connection refused”. I have done some searching on-line to try and resolve this problem with little luck; most suggest removing pules audio, I would like to avoid this. I wish I had more time to try and resolve this myself, but I don’t and would be glad for any help.

I don’t have your hardware, but I do have some basic questions about your mixer settings which are likely not relevant, but I think you could consider what I ask.

Here is a link to my hardware profile, I don’t know if this will help:
Show Box
As for your questions I tried playing around with them, but as you can image I got no were as I am still having a problem with pules audio. I think most of the setting you question are untouched from instillation. I am afraid I know little about sound in Linux, in the past it has not been an issue for me. If you have any recommendations for general resources on the topic I will added them to my things to read list.

Once again Thank you.

smithoo4, did you look at the aspects from my previous post, which I quote:

Note, I believe this to be gnome desktop and pulse audio specific. I do not use the gnome desktop, so I can not help you further on that specific aspect.

Did you check to see if there are any openSUSE updates that you need to install ?