I have an 11.3 machine that has been running fine for quite some time, and recently stopped playing system audio (or audio from websites like youtube). Audio for videos and audio played through vlc and/or xbmc works fine. Since this machine is mostly used as an htpc, it isn’t critical that sound work everywhere, but I do play Starcraft II (via wine) and occasionally watch youtube and other flash videos on it. So, I would like to figure out what happened to my sound.
Like I said, all sound was working previously. Then one day, system sounds just stopped. This has happened to me previously on this machine when I was running 11.2, but since a zypper dup to 11.3, it seemed to be fine. I was previously able to fix it by installing/reinstalling alsa-driver-kmp-desktop and restarting alsa (/etc/init.d/alsasound restart). I have tried that this time, but it doesn’t seem to fix it.
More hardware info:
I am using the optical out on a Gigabyte GA-EP45-UD3P motherboard connected to a receiver. Like I said, audio works just fine within xbmc and vlc, so I don’t think it is a hardware problem, likely a configuration somewhere.
Things I have tried so far:
Changing user accounts doesn’t help. No sound for root or a newly created user.
Removing sound card in Yast and reinstalling.
Installing the alsa-driver-kmp-desktop rpm from download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.3_Update
I think I have checked all the mute and volume settings in kmix and all are turned all the way up and not checked to be muted (except for mic, since I don’t have one).
As much other info I can think of to give:
alsa-info.sh output http://www.alsa-project.org/db/?f=93a395a074593f178d66bd73d49f1af654c77cac
htpc:~ # rpm -qa '*alsa*' alsa-plugins-1.0.23-1.9.x86_64 alsamixergui-0.9.0rc1-746.1.x86_64 alsa-tools-1.0.23-1.8.x86_64 pyalsa-1.0.22-1.8.x86_64 alsa-oss-32bit-1.0.17-29.2.x86_64 alsa-tools-devel-1.0.23-1.8.x86_64 alsa-utils-1.0.23-1.8.x86_64 alsa-tools-gui-1.0.23-1.8.x86_64 alsa-devel-1.0.23-2.12.x86_64 alsa-1.0.23-2.12.x86_64 alsa-driver-kmp-desktop-220.127.116.1101210_k18.104.22.168_0.5-1.1.x86_64 alsa-oss-1.0.17-29.2.x86_64 alsa-plugins-32bit-1.0.23-1.9.x86_64 alsa-firmware-1.0.23-1.2.noarch
htpc:~ # rpm -qa '*pulse*' libpulse0-32bit-0.9.21-10.1.1.x86_64 libpulse-mainloop-glib0-0.9.21-10.1.1.x86_64 libpulse0-0.9.21-10.1.1.x86_64 libpulse-browse0-0.9.21-10.1.1.x86_64 libpulse-devel-0.9.21-10.1.1.x86_64
htpc:~ # rpm -qa libasound2 libasound2-1.0.23-2.12.x86_64
htpc:~ # uname -a Linux htpc 22.214.171.124-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux
htpc:~ # zypper lr # | Alias | Name | Enabled | Refresh --+-------------------------+-----------------------+---------+-------- 1 | Emulators_1 | Emulators | Yes | Yes 2 | NVIDIA_Repository | NVIDIA Repository | Yes | Yes 3 | Packman_Repository | Packman Repository | Yes | Yes 4 | VideoLan_Repository | VideoLan Repository | No | Yes 5 | multimedia_1 | multimedia | Yes | Yes 6 | openSUSE-11.2-Non-Oss_1 | openSUSE-11.3-Non-Oss | Yes | Yes 7 | openSUSE-11.3-Oss | openSUSE-11.3-Oss | Yes | Yes 8 | openSUSE-11.3-Update | openSUSE-11.3-Update | Yes | Yes
The only thing installed from the VideoLan repository is libdvdcss, and from the Emulators is NES, SNES, and PS emulators, and wine (fixes some problems with StarCraft II).
htpc:~ # cat /etc/modprobe.d/50-sound.conf # u1Nb.GDpQEAJ8ayE:GA-EP45-DS5 Motherboard alias snd-card-0 snd-hda-intel options snd slots=snd-hda-intel # u1Nb.GDpQEAJ8ayE:GA-EP45-DS5 Motherboard
I did also try changing this to be model=intel-alc889a and model=6stack-dig, but still no joy.
dmesg output after an /etc/init.d/alsasound restart
<snip> [27577.513774] HDA Intel 0000:00:1b.0: PCI INT A disabled [27577.542401] snd: Not freed snd_alloc_kmalloc = 600 [27577.542404] snd: kmalloc(72) from ffffffffa0f4092a not freed [27577.542406] snd: kmalloc(528) from ffffffffa0f4092a not freed [27577.632583] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [27577.632769] HDA Intel 0000:00:1b.0: irq 31 for MSI/MSI-X [27577.632813] HDA Intel 0000:00:1b.0: setting latency timer to 64 [27577.652034] hda_codec: ALC889A: BIOS auto-probing. [27577.652039] ALSA patch_realtek.c:1523: SKU: Nid=0x1d sku_cfg=0x4005e601 [27577.652043] ALSA patch_realtek.c:1525: SKU: port_connectivity=0x1 [27577.652046] ALSA patch_realtek.c:1526: SKU: enable_pcbeep=0x0 [27577.652048] ALSA patch_realtek.c:1527: SKU: check_sum=0x00000005 [27577.652051] ALSA patch_realtek.c:1528: SKU: customization=0x000000e6 [27577.652054] ALSA patch_realtek.c:1529: SKU: external_amp=0x0 [27577.652057] ALSA patch_realtek.c:1530: SKU: platform_type=0x0 [27577.652059] ALSA patch_realtek.c:1531: SKU: swap=0x0 [27577.652062] ALSA patch_realtek.c:1532: SKU: override=0x1 [27577.652067] ALSA hda_codec.c:4619: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) [27577.652070] ALSA hda_codec.c:4623: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [27577.652073] ALSA hda_codec.c:4627: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [27577.652076] ALSA hda_codec.c:4628: mono: mono_out=0x0 [27577.652078] ALSA hda_codec.c:4631: dig-out=0x1e/0x0 [27577.652081] ALSA hda_codec.c:4632: inputs: [27577.652083] ALSA hda_codec.c:4638: [27577.652085] ALSA hda_codec.c:4640: dig-in=0x1f [27577.653401] ALSA patch_realtek.c:1580: realtek: No valid SSID, checking pincfg 0x4005e601 for NID 0x1d [27577.653405] ALSA patch_realtek.c:1596: realtek: Enabling init ASM_ID=0xe601 CODEC_ID=10ec0885 [27577.657628] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Trying any variation of aplay or speaker-test gives no errors, and
aplay -vv /usr/share/sounds/alsa/Front_*
I even see the volume bar moving at the bottom, but no sound.
Hopefully, I just missed something obvious, but I don’t see it. Maybe another pair of eyes will notice something I have missed.
My thought, since it seems to work for dvd and some other media, is that the digital output is working, but something is wrong with the analog. But, I don’t know enough to say that this is definitely the problem.
Hope someone sees something,