Challenge:
I just installed Suse 11.1 on a new GA-MA785GPM Gigabyte motherboard desktop using AMD Athlon II X2 Processor. Can’t get the audio to work but funny enough, I hear the exit chime sound when I shut down. So I know something is going through.
**
My Sound Card Information:**
Advanced Linux Sound Architecture Driver Version 1.0.17.
javier@linux-jpqg:~> cat /proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel
javier@linux-jpqg:~> cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe024000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfdffc000 irq 19
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 262144
Period size range from 32 to 131072
Using max buffer size 262144
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
javier@linux-jpqg:~>
Please also try these two speaker tests, as both a regular user, and with root permissions: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).
Or alternatively, for testing the simple playback, use aplay program. Prepare a WAV file and simply run like:
aplay -vv somefile.wav
With the option -vv, aplay shows the verbose information of the PCM device, and a VU-peak meter during playing the file.
Try those speaker-tests as both a regular user, and also with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).
Note your PCM (65%) and Master volume (69%) can be moved up to 95% for testing. Once you have sound established, you can lower them to avoid distortion.
Didn’t hear anything with this one:
**Output:
**
javier@linux-jpqg:~> 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)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 2.676217
0 - Front Left
1 - Front Right
Time per period = 3.028843
0 - Front Left
1 - Front Right
Time per period = 3.008313
0 - Front Left
1 - Front Right
Time per period = 3.008204
0 - Front Left
1 - Front Right
Time per period = 3.008395
javier@linux-jpqg:~> 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)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 2.676217
0 - Front Left
1 - Front Right
Time per period = 3.028843
0 - Front Left
1 - Front Right
Time per period = 3.008313
0 - Front Left
1 - Front Right
Time per period = 3.008204
0 - Front Left
1 - Front Right
Time per period = 3.008395
Didn’t hear anything with this one either, but I am suspicious about this “and with root permissions: “ login because I didn’t get text output at all, I never have…:
**Output:
**
javier@linux-jpqg:~> su”mypassword” (no quotes around password)
> speaker-test -c2 -l5 -twav
>
I am trying to find a wave file now and attempting to open it…
I am fairly new at linux, I very much appreciate your help…
I also note that some users reported the 2.6.27.29 kernel update broke their sound.
So if the above speaker tests don’t work, and you tried my 95% volume level suggestion for your mixer, and you still have no sound, then you can try updating your PCs alsa sound driver for openSUSE packaged for the 2.6.27.29 kernel. The guidance for that is here: Alsa-update - openSUSE Note you must send six zypper commands.
In your case, in a terminal/konsole, with your PC connected to the internet, with root permissions, copy and paste the following six zypper commands, in sequence, sending them one at a time:
zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.1/ multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia
Then restart your PC and test your sound. Use the speaker tests noted. If that does not work, there are also daily snapshot updates that can be applied.
Wait Dude!
I think you just helped me or maybe I am just a twit. I did the tests you suggested. Didn’t work. I found a .wav file and played it then heard a little buzz. Pressed my ear against the speaker and heard the song! So I cranked up every volume on the system. I’m all peachy now! Everything plays loud and clear! I think I was just a twit who didn’t realize that half way volume was not going to cut it with my crappy speakers. Or maybe something just worked with that test.
You are fabulous! I love the open source community.
All and all, I learned a lot about linux today. Thanks a ton!
Had similar issues with Ubuntu, switched to Suse 11.1, same thing.
Current fix : YaSt - Hardware - Sound :
Deleting second entry “82801 EB/ER (ICH5/CH5R) AC`97 Audio Controller” in my case ,besides the SB Live, gets the sound to work. Need to figure out whether this survives reboots and updates.