No sound with ASUS P5Q Pro with Realtek ALC1200-on-board sou

I have no sound on my system using openSUSE 11.1.
I tested speaker-test -c2 -l5 -twav (as root), but no sound.
(I also tested earlier version of openSUSE e.g. 10.3, and also the latest 11.2, once with Gnome, once with KDE, but still no sound).In all trials, kmix sounds were un-muted , full volume adjusted.
Meanwhile I tried Ubuntu 9.04 and the sound worked perfectly! But I like to stay with openSUSE so I try to find the root cause why my PC is silent.

Maybe any idea in this forum?
Thanks in advance,
rumo_z

Here are the details:

My hardware:
Motherboard ASUS P5Q Pro with Realtek ALC1200-on-board sound.

My system:

  • Linux Kernel 2.6.27.37-0.1-paei686 (openSuSE 11.1)

  • KDE 4.1.3 (release 4.10.4)

  • ALSA-Version (as per YaST): 1.0.18-8.12.1

  • ALSA-Driver(as per /usr/sbin/alsa-info-sh): 1.0.17

  • Sound card (as per YaSt|Hardware|Sound): 82801 JI (ICH10 Family) HD Audio Controller, Sound card 0.

  • Sound card driver (as per YaST or cat /proc/asound/modules): 0 snd-hda-intel

  • Audio codecs (as per cat /proc/asound/cards):
    0 [Intel ]: HDA-Intel - HDA Intel
    HDA Intel at 0xf9ff8000 irq 22

  • cat /etc/modprobe.d/sound:
    options snd slots=snd-hda-intel

u1Nb.SjXCD70s323:82801JI (ICH10 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Installed packages (all with automatically resolved dependencies):

  • alsa-plugins-pulse 1.0.18-6.12
  • pulseaudio 0.9.14-2.2.1
  • kaffeine 0.8.7-1.105
  • phonon 4.2.0-40.18, phonon-backend-gstreamer-0_10
  • libxine1, libxine1-pulse
  • gstreamer-0_10 0.10.21-3.11

Its possible you need to update alsa to 1.0.21 version compatible with the 2.6.27.37 kernel you have installed, but before you do that, you should fix your mixer settings.

!!Amixer output
!!-------------
**
!!-------Mixer controls for card 0 [Intel]**
**
Card hw:0 ‘Intel’/‘HDA Intel at 0xf9ff8000 irq 22’**
Mixer name : ‘Realtek ALC888’
Simple mixer control ‘Master’,0
Limits: Playback 0 - 31
Mono: Playback 21 [68%] -15.00dB] [off]
Simple mixer control ‘Surround’,0
Front Left: Playback 0 [0%] -46.50dB] [on]
Front Right: Playback 0 [0%] -46.50dB] [on]
Simple mixer control ‘Center’,0
Mono: Playback 0 [0%] -46.50dB] [on]
Simple mixer control ‘LFE’,0
Mono: Playback 0 [0%] -46.50dB] [on]
Simple mixer control ‘Side’,0
Front Left: Playback 0 **[0%] **-46.50dB] [on]
Front Right: Playback 0 [0%] -46.50dB] [on]
From the above you can see Master Volume is muted. That guarantee’s NO sound.

I don’t know if you have a 5.1 speaker system, but you also have that muted.

Please fix that and test sound.

If still no sound, please look at output of :
rpm -qa 'alsa
and then update per this guide:
Alsa-update - openSUSE
… note the alsa rpms do not always update successfully, despite those zypper commands being sent, and you may need to download the updated rpms to your hard drive (ie same alsa rpms but newer versions to the one’s you have installed now) and update from your hard drive

From the above you can see Master Volume is muted. That guarantee’s NO sound.
Right, it was muted. I unmuted with kmix, and there is still no sound. The current output of alsa-info.sh is here:
<http://www.alsa-project.org/db/?f=f9f416e59f00765813f6aff113de4a5c7f936dc9>

I don’t know if you have a 5.1 speaker system, but you also have that muted.
*
The Realtek ALC1200-On-board-Sound is an 8-channel system, but I would be happy if I had sound just from the 2 channels of front-out.
*
Please fix that and test sound.

Still no sound with speaker-test. But I have sound, when I open (Firefox) a www-page with a Flash-applet!

rpm -qa ‘alsa provides now:
alsa-utils-1.0.18-6.4
alsa-driver-kmp-pae-1.0.21.20091123_2.6.27.37_0.1-2.1
alsa-1.0.18-8.12.1
alsa-plugins-1.0.18-6.12
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37

Is there still something wrong?

did you get that sound after or before installing alsa-driver-kmp-pae ?

Yes.

They changed some functionality in zypper since I created that update guide, and the commands are not installing the rpms you need.

go to Index of /repositories/multimedia:/libs/openSUSE_11.1/i586 and download alsa-utils, alsa, alsa-plugins, alsa-plugins-pulse, alsa-tools, alsa-oss, and libasound2, and install them with something like this command (you will need to fix the version numbers as appropriate):

rpm -Uvh alsa-1.0.21-51.1.i586.rpm alsa-plugins-1.0.21-19.9.i586.rpm alsa-plugins-pulse-1.0.21-19.9.i586.rpm alsa-utils-1.0.21-15.4.i586.rpm alsa-oss-1.0.17-27.4.i586.rpm alsa-tools-1.0.21-6.4.i586.rpm libasound2-1.0.21-51.1.i586.rpm 

Note there is a space between each file name. Then follow this by:

SuSEconfig
ldconfig 

and then restart your PC.

You also need to sort your multimedia. Please read and follow this:
Multi-media and Restricted Format Installation Guide - openSUSE Forums

Yes.

I installed the packages as indicated, but I downloaded the rpms and installed with YaST.

Sound with speaker-test din’t work for days (tens of reboots), but today it suddenly worked, it worked again after a reboot, but then it worked only very faintly (speakers and kmix are fully turned on).

I have the feeling that there is something non-reproducible ongoing, and may be that there was even a sound all the time, but just so faint, that I couldn’t here…
I’m a bit puzzled about the fact that either the my hardware or my openSUSE show such an unpredictable behavior…

Please set up your PC such that you are getting maximum sound, and then once again please post in this thread, providing in your post the following information:

  • provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here:
    /usr/sbin/alsa-info.sh and select SHARE/UPLOAD. After the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
  • in a terminal, or xterm, or konsole, type: uname -a #and post output here
  • for openSUSE-11.1 or earlier, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/sound #and post output here
    *] for openSUSE-11.2 or later, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here

/usr/sbin/alsa-info.sh uploaded to
http://www.alsa-project.org/db/?f=79c0831a36acd6da5a8dafb8730e9ff14e48b1e8

rpm -qa ‘alsa’ provided
alsa-oss-1.0.17-27.4
alsa-driver-kmp-pae-1.0.21.20091123_2.6.27.37_0.1-2.1
alsa-firmware-1.0.17-1.42
alsa-plugins-pulse-1.0.21-19.9
alsa-1.0.21-51.1
alsa-plugins-1.0.21-19.9
alsa-utils-1.0.21-15.4
alsa-devel-1.0.21-51.1

rpm -qa ‘pulse’ provided
pulseaudio-lang-0.9.14-2.2.1
pulseaudio-0.9.14-2.2.1
pulseaudio-module-lirc-0.9.14-2.2.1
libpulse0-0.9.14-2.2.1
libxine1-pulse-1.1.15-23.3.3
pulseaudio-module-jack-0.9.14-2.2.1
alsa-plugins-pulse-1.0.21-19.9
libpulse-browse0-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
pulseaudio-utils-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
pulseaudio-module-zeroconf-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-esound-compat-0.9.14-2.2.1

rpm -q libasound2provided
package libasound is not installed

uname -a provided
Linux linux-kqe3 2.6.27.37-0.1-pae #1 SMP 2009-10-15 14:56:58 +0200 i686 i686 i386 GNU/Linux

cat /etc/modprobe.d/sound provided:
options snd slots=snd-hda-intel

u1Nb.SjXCD70s323:82801JI (ICH10 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

I hope this is of help?
rumo_z

It reads like you retyped this as opposed to copy and paste it.

Without libsound2 your PC will have no sound

Please try again. What is the output of:
rpm -q libasound2

Indeed, I retyped the commands - but not the output :wink:
Here is again the output of >rpm -q libasound2

libasound2-1.0.21-51.1

rumo_z

Is openSUSE the only operating system where you get these low volume levels?

I tried openSUSE 10.2, 11.1, and 11.2 - no/low sound. Then I tried Ubuntu 9.04: with (full) sound. But I didn’t try Windows (and honestly, I don’t want to).
So I’m quite sure that it is not a hardware defect, but I assume there is something in SUSE which doesn’t like to work perfectly with my motherboard.

rumo_z

Both openSUSE and Ubuntu run alsa. Its the same sound driver. However sometimes packagers of a distribution will apply their own patch to their own distribution. The philosophy of Linux is such patches will be submitted upstream so that they can be shared by all distributions. The packagers of openSUSE (such as the sound packager for openSUSE, who is also an alsa developer) are very good at submitting/sharing their patches with upsteam. Ubuntu, on the other hand, does not have a good reputation for quickly sharing their patches upstream.

You could write a bug report on this, against openSUSE-11.1 component “sound”. Guidance for raising the bug report is here: Submitting Bug Reports - openSUSE

As part of the bug report, run the alsa-info.sh script with the no-upload option and attach the text file to the bug report. You can do that by typing:
/usr/sbin/alsa-info.sh --no-upload
which will create the text file alsa-info.txt in /tmp directory. Attach that file to your bug report.

Since you note Ubuntu 9.04 has such great sound, then run its live CD, and also run the same diagnostic script with that liveCD running, and also attach that output to the bug report.

As noted the packager for openSUSE sound is also an alsa sound developer and if anyone can sort the difference, he can. Plus if he finds a fix, HE will send it upstream so that ALL Linux distributions benefit, as opposed to a distribution producing a fix and not sending it upstream.

  1. boot in runlevel 3

  2. check if sound modules are loaded: lsmod | grep snd

  3. Try to run mplayer from the command line with an audio stream or file as argument. If you see an error message saying connection refused to the sound server, make sure that your user (event if it’s root) is member of the pulse-access
    group, then start a system-wide instance of the pulse daemon: pulseaudio --system

  4. Try to run mplayer again. Does it work now?

Under openSUSE (most) applications seem to redirect their sound output to pulseaudio even if it is not running (through the alsa pulse plugin) or users are not allowed to access it. Under Unbuntu, sound outpout switchs back to alsa if pulse refuses access.

After switching to runlevel 3, lsmod | grep snd gave the following output:
snd_pcm_oss 42620 0
snd_mixer_oss 14880 1 snd_pcm_oss
snd_seq 52452 0
snd_seq_device 7392 1 snd_seq
snd_hda_codec_realtek 205700 1
snd_hda_intel 27776 0
snd_hda_codec 81604 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 7212 1 snd_hda_codec
snd_pcm 78692 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19712 2 snd_seq,snd_pcm
snd 63988 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 6660 1 snd
snd_page_alloc 8432 2 snd_hda_intel,snd_pcm

Then, mplayer worked and I had full sound in runlevel 3 (both as user and as root)!
And ** speaker-test -c2 -l5 -twav** also gave full sound!

When I switched back to runlevel 5, it doesn’t work (mplayer and speaker-test didn’t sound in a terminal window; amarok didn’t sound even it ran).

So what can be wrong - something in my KDE4 settings?