no sound with 11.1 (Realtek ALC888)

Hello *,

i’m running openSuse 11.1 on a Dell Inspiron 530. The system works fine, but there is no sound. Before 11.1, there runs 11.0 with the same problem.

In another partition on the same hardware is 10.3 installed and the sound system works fine there.

I tried to set the model to ‘6stack-dell’ by yast, but no success.

Here is my environment:

KDE4

linux-5ocs:~ # head -n 1 /proc/asound/card0/codec*
Codec: Realtek ALC888

linux-5ocs:~ # hwinfo --sound
16: PCI 1b.0: 0403 Audio device
[Created at pci.318]
UDI: /org/freedesktop/Hal/devices/pci_8086_293e
Unique ID: u1Nb.vhmk7fPeOp7
SysFS ID: /devices/pci0000:00/0000:00:1b.0
SysFS BusID: 0000:00:1b.0
Hardware Class: sound
Model: “Intel 82801I (ICH9 Family) HD Audio Controller”
Vendor: pci 0x8086 “Intel Corporation”
Device: pci 0x293e “82801I (ICH9 Family) HD Audio Controller”
SubVendor: pci 0x1028 “Dell”
SubDevice: pci 0x020d
Revision: 0x02
Driver: “HDA Intel”
Driver Modules: “snd_hda_intel”
Memory Range: 0xfdff4000-0xfdff7fff (rw,non-prefetchable)
IRQ: 22 (871 events)
Module Alias: “pci:v00008086d0000293Esv00001028sd0000020Dbc04sc03i00”
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: “modprobe snd_hda_intel”
Config Status: cfg=no, avail=yes, need=no, active=unknown

linux-5ocs:~ # cat /etc/modprobe.d/sound

options snd-hda-intel model=6stack-dell
options snd slots=snd-hda-intel

u1Nb.vhmk7fPeOp7:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

linux-5ocs:~ # grep ‘ALSA’ /var/log/messages
Dec 31 12:29:51 linux-5ocs kernel: ALSA sound/pci/hda/hda_codec.c:2334: hda_codec: model ‘6stack-dell’ is selected

linux-5ocs:~ # rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.13
alsa-docs-1.0.18-8.9
alsa-utils-1.0.18.git20081122-1.7
alsa-oss-1.0.17-1.43
alsa-oss-32bit-1.0.17-1.37
alsa-firmware-1.0.17.git20081202-2.3
alsa-1.0.18.git20081212-1.1
alsa-plugins-1.0.18-6.13
alsa-tools-1.0.18.git20081201-1.5
alsa-tools-gui-1.0.18-1.16

linux-5ocs:~ # rpm -qa | grep pulse
libpulse0-0.9.12-9.5
alsa-plugins-pulse-1.0.18-6.13
libpulse-browse0-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-module-zeroconf-0.9.12-9.5
pulseaudio-module-jack-0.9.12-9.5
libpulsecore4-0.9.12-9.5
libxine1-pulse-1.1.15-20.8
pulseaudio-module-bluetooth-0.9.12-9.5

linux-5ocs:~ # rpm -q libasound2
libasound2-1.0.18.git20081212-1.1

linux-5ocs:~ # uname -a
Linux linux-5ocs 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

Any ideas?
TNX

njn42

Thanks for that.

Noted. That should be the right code.

OK, there is a problem here. You updated to the latest ‘git’ packages but you forgot the rpm with the driver alsa-driver-kmp-default . The ‘git’ packages are structured differently, and one also needs to install alsa-driver-kmp-default (in your case).

There is guidance here for that:
Alsa-update - openSUSE

ie for a complete alsa update, with your pc connected to the internet, send the commands one by one, in sequence, in a konsole with root permissions (ie after having typed ‘su’ (no quotes - enter root password) first:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 
zypper install alsa alsa-oss alsa-oss-32bit alsa-plugins alsa-plugins-pulse alsa-utils alsa-tools alsa-tools-gui alsa-firmware alsa-docs libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1/ multimedia
zypper install alsa-driver-kmp-default
zypper rr multimedia

its possible you will be told some are already installed. Restart when this is complete. Then test your sound. Check your mixer. Move mixer volumes up to 95% when testing, and back off to volume levels with no distortion when test successful.

For a test, copy and paste this into a konsole:speaker-test -c2 -l5 -twavand you should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times.

If that does not work, then edit your /etc/modprobe.d/sound file. Version 1.0.18a of alsa has this list in the ALSA-Configuration.txt file of the various possible options that can be individually tried:
ALC883/888
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
3stack-6ch-intel Intel DG33* boards
auto auto-config reading BIOS (default)… although the 6stack-dell that you chose should be correct.

Note I am going on vacation for 2.5 weeks and it my replys may be very sporadic (possibly days/week apart).

Facing the same problem on my Gigabyte motherboard having RealTek ALC888. Tried using the latest version of Alsa, but that does not solve the problem. Sound last worked in openSUSE 10.2 which had Alsa build 13. Looks like this issue has been introduced post version 13.

TNX.

Yes, by now (after completely installed the drivers and reboot and played with kmixer) i hear the test sound. But there is still no sound in KDE and from Yast/Test, too.

It seems that yast manipulates the settings of kmixer. On starting yast/sound the sliders ‘Center’ and ‘LFE’ switch to 0.

There are warnings in .xsession-errors:

virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) "HDA Intel (ALC888 Analog)"
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) ("x-phonon:CARD=0,DEV=0", "plughw:C
ARD=0,DEV=0")
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) setProperty(device, "x-phonon:CARD=
0,DEV=0" ) succeeded
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) go to old state on device "x-phonon
:CARD=0,DEV=0"  failed
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) setProperty(device, "plughw:CARD=0,
DEV=0" ) succeeded
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) go to old state on device "plughw:C
ARD=0,DEV=0"  failed
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) "default"

cu, njn42

Hi

I have the same problems with an Intel DG31PR motherboard. As YAST install was not successful I followed the instructions given in this thread. My setup looks like this:

lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

cat /etc/modprobe.d/sound
options snd-hda-intel model=3stack-6ch-intel
options snd slots=snd-hda-intel

u1Nb.z4FsYH4weME:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

cat /proc/asound/card0/codec#2 | head -n 1
Codec: Realtek ALC888

rcalsasound restart
Shutting down sound driver done
Starting sound driver: hda-intel done

cat /var/log/messages
Jan 2 14:13:29 ticino kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled
Jan 2 14:13:29 ticino kernel: snd: Not freed snd_alloc_kmalloc = 17
Jan 2 14:13:29 ticino kernel: snd: kmalloc(17) from f8bc967e not freed
Jan 2 14:13:29 ticino kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jan 2 14:13:29 ticino kernel: HDA Intel 0000:00:1b.0: setting latency timer to 64
Jan 2 14:13:29 ticino kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/
hda_codec.c:2690: hda_codec: model ‘3stack-6ch-intel’ is selected

Trying the speaker test results in:

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)
E: socket-client.c: socket(): Address family not supported by protocol
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Playback open error: -111,Connection refused

Something is still wrong, obviously. Starting pulseaudio as a normal user failed, so I did set GID bit:

chmod a+s /usr/bin/pulseaudio

Now I can start the daemon:pulseaudio -vv --start
I: caps.c: Dropping root priviliges.
D: main.c: Started as real root: no, suid root: yes
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
W: main.c: High-priority scheduling enabled in configuration but not allowed by policy.
W: core-util.c: setpriority(): Permission denied
D: main.c: Can realtime: no, can high-priority: no
W: ltdl-bind-now.c: Failed to find original dlopen loader.
I: main.c: Daemon startup successful.

And finally the speaker test works:

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 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 4.749482
0 - Front Left
1 - Front Right
Time per period = 4.537846
0 - Front Left
1 - Front Right
Time per period = 4.536538
0 - Front Left
1 - Front Right
Time per period = 4.536199
0 - Front Left
1 - Front Right
Time per period = 4.538245

I guess it still needs some configuration. Thanks 4 the help.

Tom (vodoo)

Update: Amarok works…

I recommend you start a new thread.

For what is worth, I’ve solved most of the problems similar to what you are describing here by following the suggestion in:

http://http://forums.opensuse.org/pre-release-beta/399091-phonon-bug.html

The sound is not yet perfect (for example, amarok sounds badly from time to time), but at least I have a working setup rotfl!

Did some further research on RealTek ALC888. This issue persists in many distributions (including openSUSE and debian) having Alsa version higher than 13. Sounds works fine on Alsa 13. This has been introduced due to Alsa post version 13. The interesting point to note here is that this issue occurs in x86-64 or AMD64 releases only. I installed openSUSE 11.0 x86 and sounds works fine. Looks like an issue specific to 64 bit and Alsa. Looking at logging a bug with Alsa rather than starting a new thread.

I found that the AMD 64 situation is true. i also found that there is a conflict between the kernel modules for the ATI Graphics card flgrx and the latest Alsa drivers that are supposed to solve the ALC888 problem!!

If you do what is sugested in the thread to run the latest and greatest alsa packages and kernel modules, you have to downgrade (and break) your video.

I’m going to dump ATI altogether if this keeps up…

Perhaps you could write a bug report on openSUSE, documenting this. Even if the openSUSE dev says this is an upstream problem, they may be able to point you to where the issue should be raised, so that it gets fixed.
Submitting Bug Reports - openSUSE