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
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
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!
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):
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
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.
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.
check if sound modules are loaded: lsmod | grep snd
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
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.