sound card, surround 5.1 not working in opensuse 11.1

Hi,
I had mother-board sound working fine on 11.1, and then for Christmas got a Logitech X540 5.1 sound system, and I installed a Creative sound blaster Audigy SE card to run it.

I get no sound from either KDE (such as sound-test, startup sound) or flash browser-plugin (eg Youtube). I managed to get sound from Amarok, but only by uninstalling pulse audio and GStreamer (as per some other threads in this forum) and using Xine as the backend engine. In that case I only get the two front speakers.

I’ve run alsaconf, but that hasn’t helped. (I installed all of the latest alsa packages as well.) The driver that gets assigned to the card is snd-ca0106.

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

I’ve run the speaker test,
sudo speaker-test -Dplug:surround51 -c6 -l1 -twav
and I get front left and front right, but nothing from center, rear, or LFE. These are the speakers that work in Amarok, but as I say I get no native sounds or browser sounds.

I’ve combed the opensuse forums, but the several posts pertaining to surround5.1 don’t really have any solutions. I’ve also worked through the SDB:AudioTroubleshooting, but so far all my success has just been the limited Amarok sounds. I’ve not been able to figure out how to configure a model in .asound, if anyone thinks that may be the problem.

Anyone want to try to tackle this one? Thank you!
Craig

I was looking at the X540 in the store today, and remarked to my wife how I would like to get that for my birthday in mid-January … Her comment was we live in a small apartment and that would blast out the neighbours … was not our current 2.1 good enough ? < sigh > so no 5.1 system for me YET … (but I have not given up).

Still, in the mean time, I most interested in seeing how you succeed with this.

The best thing, to do, is really go thru your mixer with a “fine tooth comb”, being very logical in how you change settings, and take notes as required to track what you tested.

sound-test should work. Try a different sound test. …

Try this:
speaker-test -c2 -l5 -twavnote the “-c2” means you are testing two channel sound. Change that to “-c6” and its a good test for 5.1 channel sound. The “-l5” means the ladies voice saying “Front left”, “Front right” should occur 5 times. If that is too long you can reduce it to “l1”, but that does not give much time to play with one’s mixer. You can increase it to “l10” to play with your mixer a lot.

Don’t forget to move up both PCM and master volume.

If the speaker test does not work as a regular user, but does work with ‘sudo’ (ie with root permissions) then add your regular user to group audio and try again. There is guidance here for that: SDB:AudioTroubleshooting - openSUSE

I do not think you should configure a “model” in .asoundrc. Instead a “model” is typically applied to /etc/modprobe.d/sound file.

But when I look at the diagnostic script I see two sound devices.

  • Sound card-0 - CA0106 (Creative Labs Audigy) 04:02.0 on IRQ-18
  • Sound card-1 - ICH6 (AD1980 - AC’97) 00:1e.2 on IRQ23

When I search on your AD1980 (motherboard audio ? ) I get:
Search results - AlsaProject
which indicates it is supported in alsa, with some recent updates in the 1.0.18 alsa driver. I did a search in the ALSA-Configuration.txt file for 1.0.18 of alsa and I found no entries for an AD1980 of a custom model, so I assume that is not necessary.

Reference your audigy card, I do note this guidance:
[Solution] Creative Audigy 1/2 + 11.0 + KDE/GNOME + ALSA - openSUSE Forums](http://forums.opensuse.org/hardware/386773-solution-creative-audigy-1-2-11-0-kde-gnome-alsa.html)but having said that, it looks to me from your diagnostic script that there are problems with your sound, as there is no mixer showing.

I’m curious about your dmesg output. Can you (after a fresh reboot) paste into a gnome terminal or a kde konsole:dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/aand post here the output URL it provides.

Can you provide the output of:
rpm -qa | grep alsa
rpm -qa | grep pulse #checks to see if you forgot any
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound
cat .asoundrc

Also, as noted, I do not have a 5.1 surround system, so this is really the blind leading the blind, or the blind leading someone who actually has the system. If you wish “expert” advice, then if I were you, I would start “hanging out” IRC channel #alsa. In particular ask users “wishie” and “gnubian” to see if they can help you setup your 5.1 sound. They live in different parts of the world, so you may need visit 1/2 dozen times, at different times of the day, before you manage to find them.

While waiting to reach them, you could brush up on this page, which gives some guidance for creating a .asoundrc file.
Playing stereo on surround sound setup (Howto - ALSA wiki

If any thing that I stated above reads like “gobbly gook”, then please ask for an explanation, and I’ll do the best I can to explain, with the understanding that I do not have a 5.1 surround system myself, … I’m only an interested observer who hopes to be able to convince his wife to change her mind. :slight_smile:

Good luck, and PLEASE, a personal request. Keep us appraised of your progress/success, as I am truly interested in this hardware.

Hi, Oldcpu,
My sound card 0 is the Audigy, and sound card 1 -AD1980 is the motherboard sound.

You’re correct that I am having mixer problems. I tried your speaker test, but since I uninstalled pulse and mucked with othe packages, I have not been able to use kmix. It’s stuck on the motherboard device now I can’t assign it to the audigy card. What do you think of reinstalling the pulse audio packages and starting over with that?

Here’s the command output you requested:
~> dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a
dmesg.txt - nopaste.com (beta)

~> rpm -qa | grep alsa
alsa-oss-1.0.17-1.37
alsa-driver-kmp-pae-1.0.18.20081225_2.6.27.7_9.1-1.1
alsa-firmware-1.0.17.git20081202-2.3
alsa-tools-1.0.18.git20081201-1.5
tsalsa-20080914-0.pm.1
alsa-plugins-1.0.18-6.12
alsa-utils-1.0.18.git20081122-1.7
alsa-1.0.18.git20081212-1.1

~> rpm -qa | grep pulse #I thought i’d got rid of this:
libpulse0-0.9.12-9.6

~> rpm -q libasound2
libasound2-1.0.18.git20081212-1.1

~> uname -a
Linux mybox 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

~> cat /etc/modprobe.d/sound
options snd slots=snd-ca0106

i_aO.WCfr2+peI1A:SB0570 [SB Audigy SE]

alias snd-card-0 snd-ca0106

~> cat .asoundrc
cat: .asoundrc: No such file or directory

Thanks, but that provided no hints. I note this:

Intel ICH 0000:00:1e.2: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Intel ICH 0000:00:1e.2: setting latency timer to 64
intel8x0: white list rate for 1028:0177 is 48000
vendor=8086 device=244e
CA0106 0000:04:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
snd-ca0106: Model 100a Rev 00000000 Serial 100a1102

which does not suggest anything wrong.

I think re-installing the exact same pulse apps that you removed is a good idea, but no more than what you removed. At least that way you will have a solid baseline from which to write a bug report if necessary.

I note you have alsa-utils installed. That provides the application alsamixer.

What happens when you try to run alsamixer? Does that work?

Thanks for checking. I just found the following on ALSA Sound card matrix for my Audigy SE:

Sound Blaster Audigy SE | CA0106 | [PCI] Digital/Analog input does not work yet. Needs more development work.

So I’ll play a bit more, but may take the card back for an older/better supported card.

I can’t take the card back :frowning:

I reinstalled PulseAudio, and now have center-front sound. I also have my mixer back- kmix and alsamix both behave identically. This gives me controls for

Line in
Mic
Phone
IEC958 (LFE, Front, Rear, Unknown)
Aux
Analog (Center/LFE, Front, Rear, Side)
and a check box to mute IEC958.

I have to check the Mute IEC958 box in the mixer to get front-center sound. Unchecked, I get now sound at all. The Rear and LFE still don’t play even though I have Rear turned up to the max.

Do you know what IEC958 is?

So I have front and center sound from speaker-test, browser plugins (eg. youtube) and Amarok (but still no sound from KDE’s test-sound.) But… only one at a time. IOW, if I’m playing Youtube, the speaker test says “device busy”, and if I’m playing Amarok music, Youtube won’t play. Interesting.

Digital audio. A couple of links:

I saw that I missed the other PulseAudio packages (PA device chooser, manager, meter,volume control), but now I ran PA Device Chooser, and from there configured the server and it looks like I now have true 5.1 sound!

It’s not perfect yet, however, the first thing I did was to turn down the front speakers with the PA volume control, and that somehow interfered with the flash video on youtube. Also, I don’t have any sound from the LFE.

I’m not sure what I did different from when I first started, but at that time I didn’t spend much time playing with the PA server or config.

one more key point: I had the Matrix Sound button ON in the X540 controls. It has to be OFF to get the rear speakers.

Wow ! Great.

But I want to know more (for my own edification, … selfishly not so much to help). So :slight_smile: … if you could be so kind when you have the chance to run the script again, so I can see your mixer settings … and any config files …

ie type:cat /etc/modprobe.d/sound
cat .asoundrc
/usr/sbin/alsa-info.sh
and post here the output URL (only the URL) provided by alsa-info.sh and also the output from the two 'cat … ’ commands, if any.

Thanks ! (its great when I can learn some things off these threads).

p.s. LFE is the “base” speaker … I assume you knew that, but I thought I would type it just in case.

Here you are, would you like anything else?

~> cat /etc/modprobe.d/sound
options snd slots=snd-ca0106

i_aO.WCfr2+peI1A:SB0570 [SB Audigy SE]

alias snd-card-0 snd-ca0106

~> cat .asoundrc
cat: .asoundrc: No such file or directory

~> /usr/sbin/alsa-info.sh
http://www.alsa-project.org/db/?f=9e778933e5856fea6497d97e79a6612d1ee96396

Thankyou very much. Perhaps clarify my understanding. You still have two sound devices, … mother board and an audigy card.
!!Soundcards recognised by ALSA
!!-----------------------------

0 [CA0106 ]: CA0106 - CA0106
Audigy SE [SB0570] at 0xcce0 irq 18
1 [ICH6 ]: ICH4 - Intel ICH6
Intel ICH6 with AD1980 at irq 23
To which sound card do you have your speaker’s connected to? I assume the audigy because I see your AD1980 has both master and PCM volume switched OFF.

I note your audigy has these mixer settings:
!!Amixer output
!!-------------

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

Card hw:0 ‘CA0106’/‘Audigy SE [SB0570] at 0xcce0 irq 18’
Simple mixer control ‘Line in’,0
Front Left: Capture 255 [100%] [24.00dB]
Front Right: Capture 255 [100%] [24.00dB]
Simple mixer control ‘IEC958’,0
Mono: Playback [off]
Simple mixer control ‘IEC958 Center/LFE’,0
Front Left: Playback 255 [100%] [12.00dB]
Front Right: Playback 255 [100%] [12.00dB]
Simple mixer control ‘IEC958 Front’,0
Front Left: Playback 255 [100%] [12.00dB]
Front Right: Playback 255 [100%] [12.00dB]
Simple mixer control ‘IEC958 Rear’,0
Front Left: Playback 255 [100%] [12.00dB]
Front Right: Playback 255 [100%] [12.00dB]
Simple mixer control ‘IEC958 Unknown’,0
Front Left: Playback 255 [100%] [12.00dB]
Front Right: Playback 255 [100%] [12.00dB]
Simple mixer control ‘Aux’,0
Front Left: Capture 255 [100%] [24.00dB]
Front Right: Capture 255 [100%] [24.00dB]
Simple mixer control ‘Analog Center/LFE’,0
Front Left: Playback 255 [100%] [12.00dB] [on]
Front Right: Playback 255 [100%] [12.00dB] [on]
Simple mixer control ‘Analog Front’,0
Front Left: Playback 140 [55%] -16.75dB] [on]
Front Right: Playback 140 [55%] -16.75dB] [on]
Simple mixer control ‘Analog Rear’,0
Front Left: Playback 255 [100%] [12.00dB] [on]
Front Right: Playback 255 [100%] [12.00dB] [on]
Simple mixer control ‘Analog Side’,0
Front Left: Playback 255 [100%] [12.00dB] [on]
Front Right: Playback 255 [100%] [12.00dB] [on]
Simple mixer control ‘Analog Source’,0
Items: ‘Phone’ ‘Mic’ ‘Line in’ ‘Aux’
Item0: ‘Line in’
Simple mixer control ‘Digital Source’,0
Items: ‘IEC958 out’ ‘i2s mixer out’ ‘IEC958 in’ ‘i2s in’ ‘AC97 in’ ‘SRC out’
Item0: ‘i2s mixer out’
I note many volume controls up to 100%. Are you getting distortion, or do the one’s you have at 100% have no sound control?

From reading your narrative, the break thru appears to have come when you selected “i2s mixer out” and noted PA device chooser, manager, meter,volume control missing, and you restored those, and ran PA Device Chooser, and from there configured the server. What do you mean by server? Sound server to your PC ?

I note this home page for “padevchooser” and also note it is not on any of my PCs with openSUSE-11.1 and KDE3/KDE4, hence I assume it is not installed by default in KDE: PulseAudio Device Chooser 0.9.3

That site also makes reference to the auxiliary tools 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

I checked webpin and they are all available for openSUSE. I suspect those are gnome specific gtk applications. Its making me think and puzzle now, … how can I have gnome users check those are installed with one easy command … perhaps something like:rpm -q padevchooser pavucontrol pavumeter paman paprefsThankyou for your time. This has been educational for me.

Hi again,

To which sound card do you have your speaker’s connected to?

I do have both motherboard sound and an Audigy sound card. It is to the Audigy that I am hooking up the speakers in order to get the full support for surround 5.1. I turned off the motherboard sound in YAST Sound configuration.

I note many volume controls up to 100%. Are you getting distortion, or do the one’s you have at 100% have no sound control?

That’s an interesting point. Once I reinstalled all of PulseAudio, I tried using PA’s volume control to decrease the front speakers and increase the rear. I was playing a flash video (browser plugin) as I did this, and it severely interfered with the video for some reason. I had to both shut down firefox, and kill PA volume control to fix it. After that, I left the PA volume control’s setting for all 5 speakers at the max, and instead used KMix to adjust the front-rear volumes to my liking. (Although KMix does not give you left-right control, this worked very well for me.)

The “Mute IEC958” box is checked in KMix, so the 100% you see for any of those devices is a no-op. In fact the only setting I use in KMix is to reduce the front speakers (to 55%). The real control for volume is the speaker control itself, which sits by my keyboard. It has a master volume I have at about 20% and a bass-volume that I have at 90%. (And then you also have the flash-plugin and amarok volume controls for good measure!) I just turn all the software controls up to 100% and use the hardware for actual volume.

the break thru appears to have come when you selected “i2s mixer out” …

That refers to Kmix’s digital source, which doesn’t work on this card (see ALSA’s page from earlier post) and which I have muted. The four KMix Analog sources are phone, mic, line, and aux, but changeing this does not seem to have any effect which confuses me at this point.

…and noted PA device chooser, manager, meter,volume control missing, and you restored those, and ran PA Device Chooser, and from there configured the server. What do you mean by server? Sound server to your PC ?

The Device Chooser has a Configure Server menu, which is actually PulseAudio preferences. These are tabs for Network, MultiCast, SimulCast, and Speakers. The only thing I actually did here is set the Speakers tab to 5.1.

I think the real breakthrough was using PA Manager, and hitting the “Connect” button on the ServerInformation tab.

I note this home page for “padevchooser” and also note it is not on any of my PCs with openSUSE-11.1 and KDE3/KDE4

That is just a program that lives in the systray. You right click on it to get PA volume control, volume meter, preferences, and device manager. These were available from the KDE Multimedia menu and that’s probably why it’s not there by default, but having it in the systray facilitated my playing with those tools until it worked. Now that everything is set, I’ll probably not run it.

I suspect those are gnome specific gtk applications.

Yes they are, but as I said, they’re in KDE Multimedia as well.

Here’s my packages at this point, all from SUSE:

rpm -q padevchooser pavucontrol pavumeter paman paprefs
padevchooser-0.9.4-72.88
pavucontrol-0.9.7-2.9
pavumeter-0.9.3-43.144
paman-0.9.4-4.136
paprefs-0.9.7-1.29

Thankyou for your time. This has been educational for me.

Quite welcome! I hope this thread is useful to the community. BTW, I’d encourage you to overrule your wife and go get the X540 (on post Christmas sale eveywhere!). You don’t have to crank it up and blast out the neighbors to appreciate the rear and LFE speakers. I have to keep my volume down, too, but when I toggle the rear speakers to compare the sound, there’s no going back to a two desktop speakers for me!

Well done there. Looking at the sample screen shots for the PA manager (from the PA manager web site) , they are very confusing to me !
http://img90.imageshack.us/img90/5476/pulseaudiomanagergj4.th.jpg](http://img90.imageshack.us/my.php?image=pulseaudiomanagergj4.jpg)

I’m heading off on vacation in a couple of days. … so I won’t be on the forum as much, and will be helping far less (to users with sound problems). Maybe when I get back I’ll be able to sweet talk my wife in to these 5.1 speakers. Your experience is an encouragement, as I now know someone who has had some success with them.