HDMI AUDIO OUTPUT NOT WORKING - ALENWARE / OPENSUSE 11.4

Hello
I have installed OpenSuse 11.4 on my alienware and the HDMI output is working for Video only.
I was able to install XBMC and use my TV.
the issue I’m having AUDIO HDMI is not working, I was able to use the analog output only
I’m running open 11.4 and gnome.

Thanks

Can you configure the HDMI audio output with the application ‘pavucontrol’ ?

Hello
I have installed OpenSuse 11.4 on my alienware and the HDMI output is working for Video only.
I was able to install XBMC and use my TV.
the issue I’m having AUDIO HDMI is not working, I was able to use the analog output only
I’m running open 11.4 and gnome.

Thanks

So we need to know more about the hardware such model numbers. Is the HDMI built-in to the motherboard or part of an add-in video card? Does the HDMI audio work from another OS like Windows? What are you connecting the HDMI cable to? Is this a TV, monitor or receiver? What kind of speaker setup is the audio going to and its brand and model if not discreet speakers with no built-in amps.

Thank You,

Hello
The HDMI output is connected to a TV and is working properly in WINDOWS HOME
I was able to configure ‘pavucontrol’ and still not working. I’m seeing the HDMI output as an option under ‘pavucontrol’ but when I select it, no sound is reproduced on the TV.
Any idea?

I have a similar problem, but when I was looking around in the forums here a few months ago, the general consensus at the time seemed to be that HDMI audio output very rarely works, so I stopped looking. Especially since in my case, the laptop has only a display port and I am using a display port to HDMI converter cable. Of course, Windows7 is capable to transmit sound in this setup, so it definitely is a Linux/Driver problem.

PulseAudioVolumeControl just lists a High Definition Audio Controller - Digital Stereo (HDMI) Output for me. That is not much information, so what is the information required and how to obtain it?

Two years ago I might have agreed with that. Not today. IMHO today HDMI audio mostly works.

Most the time with openSUSE 11.4 when HDMI audio does not work, IMHO it is either due to

  • user misconfiguration in mixer, or
  • pulse audio not automatically configured correctly

Can you run the diagnostic script ‘alsa-info.sh’ referenced in our multimedia stickie: Welcome to multimedia sub-area and post here the URL/website it provides where your PC audio configuration will be copied/located? The command to run script with PC connected to internet is:


/usr/sbin/alsa-info.sh

and select the SHARE/UPLOAD option. After we have had the opportunity to examine the script we may be able to provide some recommendations.

Hi!

I have exactly the same problem: no HDMI sound in my Opensuse 11.4. It worked perfectly under Windows 7

I pasted here the alsa-info.sh results.

Another additional info:

*pm -qa ‘alsa’:
alsa-oss-1.0.17-32.1.i586
alsa-utils-1.0.24.2-3.1.i586
alsa-plugins-1.0.24-6.1.i586
alsa-1.0.24.1-3.1.i586
alsa-plugins-pulse-1.0.24-6.1.i586

rpm -qa ‘pulse’:
pulseaudio-module-bluetooth-0.9.22-6.9.1.i586
libpulse-browse0-0.9.22-6.9.1.i586
pulseaudio-module-zeroconf-0.9.22-6.9.1.i586
libpulse-mainloop-glib0-0.9.22-6.9.1.i586
pulseaudio-0.9.22-6.9.1.i586
pulseaudio-module-lirc-0.9.22-6.9.1.i586
pulseaudio-module-gconf-0.9.22-6.9.1.i586
pulseaudio-module-x11-0.9.22-6.9.1.i586
libpulse0-0.9.22-6.9.1.i586
pulseaudio-utils-0.9.22-6.9.1.i586
alsa-plugins-pulse-1.0.24-6.1.i586
pulseaudio-esound-compat-0.9.22-6.9.1.i586

rpm -q libasound2:
libasound2-1.0.24.1-3.1.i586

uname -a:
Linux linux-z4sg 2.6.37.1-1.2-default #1 SMP 2011-02-21 10:34:10 +0100 i686 i686 i386 GNU/Linux

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

RE4e.Dy0Yyt8QWg6:MCP79 High Definition Audio

alias snd-card-0 snd-hda-intel*

Many thanks in advance!

32-bit openSUSE-11.4 with the 2.6.37.1-1.2-default kernel running the alsa driver 1.0.23 and alsa utilities 1.0.24.2. Hardware audio codec is a ALC889A.

That kernel version is old. openSUSE-11.4 users should now be using the 2.6.37.6-0.7 kernel (as there are many security fixes with the newer kernel). Is there a reason why you did not update your kernel ?

I also note:


APLAY
 **** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**card 0:** NVidia [HDA NVidia], **device 3**: **HDMI 0** [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

From that it is clear that your HDMI device is hw:0,3 .

But first, I note some strange dmesg entries:


 2202.930908] ALSA patch_realtek.c:1524: SKU: Nid=0x1d sku_cfg=0x40132601
 2202.930917] ALSA patch_realtek.c:1526: SKU: port_connectivity=0x1
 2202.930923] ALSA patch_realtek.c:1527: SKU: enable_pcbeep=0x1
 2202.930930] ALSA patch_realtek.c:1528: SKU: check_sum=0x00000003
 2202.930936] ALSA patch_realtek.c:1529: SKU: customization=0x00000026
 2202.930943] ALSA patch_realtek.c:1530: SKU: external_amp=0x0
 2202.930949] ALSA patch_realtek.c:1531: SKU: platform_type=0x0
 2202.930955] ALSA patch_realtek.c:1532: SKU: swap=0x0
 2202.930961] ALSA patch_realtek.c:1533: SKU: override=0x1

please assure me that you did NOT custom install any realtek audio drivers. They do NOT come with openSUSE by default and you will KNOW if you did so.

I ask because I don’t support realtec (I don’t know how) and I do not want to waste your time and my time. You would need to go to realtec for support if that is the case.

Is there a reason why you did not update your kernel ?

This is a fresh install. I prefered to touch nothing before asking for help (I tried to resolve this audio problem by myself but without any success so I decided to reinstall opensuse).

From that it is clear that your HDMI device is hw:0,3

However my /usr/share/alsa/alsa.conf says:

defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1

please assure me that you did NOT custom install any realtek audio drivers

I assure you that I did not install any realtek audio driver.

Thanks again!

???
why are you pointing that out to me ? It means nothing to me wrt your audio problem.

Please update your kernel to the latest 2.6.37.6-0.7 kernel. Was there a reason why you have not done so ?

That kernel will have updated audio driver, and it will be useful to see if that makes it difference. If it does not, there are other things we can try with the ALC889A hardware audio codec that is in your PC, to try and see if we can improve the HDMI functionality.

I supposed it would be useful…

Ok … well … if you figure out its utility wrt the HDMI problem, I would be keen on learning. After you update the kernel, and if the HDMI is still not working, please run that diagnostic script again:


/usr/sbin/alsa-info.sh

and post here the website/URL address that it provides containing your audio configuration information (only post the URL here of the location where the output is contatined)

Hi again!

Kernel was updated but unfortunately no HDMI sound yet.

Here it is the updated audio information.

Regards

Ok, … then lets see if we can force a different alsa configuration upon boot. I will give you a list with many different configurations (options) to try, and you need to try each one, one at a time, restarting your alsa driver in between each attempt. From the alsa documentation, in the HD-Audio-Models.txt file (where this is a copy of this file buried in a location on your PC hard drive) for the ALC889A (which according to the diagnostic script is the hardware audio codec on your physical PC) the list of options that can be tried are:


ALC882/883/885/888/889
======================
  3stack-dig	3-jack with SPDIF I/O
  6stack-dig	6-jack digital with SPDIF I/O
  arima		Arima W820Di1
  targa		Targa T8, MSI-1049 T8
  asus-a7j	ASUS A7J
  asus-a7m	ASUS A7M
  macpro	MacPro support
  mb5		Macbook 5,1
  macmini3	Macmini 3,1
  mba21		Macbook Air 2,1
  mbp3		Macbook Pro rev3
  imac24	iMac 24'' with jack detection
  imac91	iMac 9,1
  w2jc		ASUS W2JC
  3stack-2ch-dig	3-jack with SPDIF I/O (ALC883)
  alc883-6stack-dig	6-jack digital with SPDIF I/O (ALC883)
  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
  acer-aspire-4930g Acer Aspire 4930G
  acer-aspire-6530g Acer Aspire 6530G
  acer-aspire-7730g Acer Aspire 7730G
  acer-aspire-8930g Acer Aspire 8930G
  medion	Medion Laptops
  targa-dig	Targa/MSI
  targa-2ch-dig	Targa/MSI with 2-channel
  targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
  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-m540r	Clevo M540R (6ch + digital)
  clevo-m720	Clevo M720 laptop series
  fujitsu-pi2515 Fujitsu AMILO Pi2515
  fujitsu-xa3530 Fujitsu AMILO XA3530
  3stack-6ch-intel Intel DG33* boards
  intel-alc889a	Intel IbexPeak with ALC889A
  intel-x58	Intel DX58 with ALC889
  asus-p5q	ASUS P5Q-EM boards
  mb31		MacBook 3,1
  sony-vaio-tt  Sony VAIO TT
  auto		auto-config reading BIOS (default)

Thats a big list ! And like you, I have no idea as to which one is appropriate. So I recommend you try that one at a time until you find one that works. Pay close attention to your mixer settings, as one of them may give you more HDMI devices/controls than the others.

To try an item in that list (lets say you decide to try “3stack-6ch-dig”) then you need to ADD the following line to the START of your /etc/modprobe.d/50-sound.conf file:


options snd-hda-intel model=3stack-6ch-dig

Save the change.

… and then restart your alsa sound driver and restart your mixer. You can do this by restarting your PC. OR you can do it by typing in a terminal with root permissions


rcalsasound restart

and if asked in KDE if you wish to keep an old configuration, select no. And then in a terminal as a regular user restart your mixer (type ‘kmix’ on kde, … or possibly ‘alsamixer’ on gnome). Then test the HDMI. Check the mixer settings (you can run that diagnostic script). LOOK FOR DIFFERENCES. This new configuration may completely break your sound. No worries. Just change or remove the configuration, trying each one, ONE at a time.

ie if you wish to try ‘intel-alc889a’ you replace ‘3stack-6ch-dig’ in that edit, save the change, and restart the sound driver and test.

… Good luck.

(I have to run, as my wife is calling me to supper)

No luck :frowning:

I do not know if I did something wrong or where is the problem… I really tested all options.

Each time I changed /etc/modprobe.d/50-sound.conf file I closed kmix and restarted sound driver with “rcalsound restart”.

Whenever I reopen kmix there are no reproduction devices: only capture devices. Also, in the audio configuration menu “pulse audio” is the output device. Screenshots here. (I give you this info. in case it can be helpful to you).

Any solution? Should I wait for Opensuse 12.1?

Many thanks again!

Ok, then the next step is to update your alsa driver. Guidance is here: SDB:Alsa-update - openSUSE Please be careful when you update to follow the instructions.

I updated Alsa driver as per guidance but no HDMI sound yet.

Can you confirm that for me? Unfortunately I did not write that guide very well, as my experience is >50% of the users who believe they updated alsa, in fact do not know well how to use YaST, and fail to to update alsa properly.

Please provide the output of:


rpm -qa '*alsa*'
rpm -q libasound2

Note I will be out of town on business from noon today until late Thursday night, and I have other commitments on Fri PM, so my volunteer support will be spotty between now and then.