NO HDMI sound

Hi all, I have this 2 devices in my laptop:

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)

and the HDA Intel HDMI ( Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller) have no soud . In alsamixer and in pulseaudio volume control it also is marked as unplugged, as you can see in the 2 images below

https://ibb.co/fsRdwb
https://ibb.co/fufhNG

What should i do to put it to work?

Thanks you all

Hi, first of all (just to be 100% sure) check this with another HDMI cable. If it is still not working please provide the output from the following commands:

aplay -l
aplay -L
lsmod | grep snd

(the last one should be executed as root, to check if proper kernel modules were loaded)

Usually the problems with HDMI sound are related to the output selection (internal speakers are always on top), especially in KDE it was quite uncomfortable.

Check in volume control other HDMI devices (there should be several) - in my case the one that is used after I connect HDMI to the laptop is HDMI2 and the rest is unplugged just like on your screenshot. The easiest way to check is via VLC:

  1. Open some video or music in VLC
  2. Connect HDMI cable
  3. In VLC menu go to Audio -> Audio Device -> select proper HDMI output

When you hear the sound then you can select the proper HDMI device in system volume control for other applications.

Basically the system should autodetect to which device you connected the cable. If the system does not detect that HDMI is connected at all it can be hardware or kernel driver problem.

Hi RafneQ,

Thanks for your response. Below i send the output of the commands you suggest.

about the question of my post, i am sorry because i dont explained with many details, and the to be exact,
i dont have a hdmi cable connecting my pc to another device.

The question is that i have the 2 devices identified in my post, both using the driver snd_hda_intel, and i cant get the hdmi sound of the related device.
i suppose that, even badly, that is a driver or something similar question, because when i used windows i installed de hp/intel driver and the sound got fine.

thanks for your help and attention.

the devices are:
cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xb7910000 irq 32
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xb7914000 irq 31

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
marco@localhost:~>

aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA Intel HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA Intel HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA Intel HDMI, HDMI 4
HDMI Audio Output
sysdefault:CARD=PCH
HDA Intel PCH, 92HD91BXX Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, 92HD91BXX Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

lsmod | grep snd
snd_hda_codec_hdmi 57344 1
snd_hda_codec_idt 61440 1
snd_hda_codec_generic 86016 1 snd_hda_codec_idt
snd_hda_intel 45056 4
snd_hda_codec 147456 4 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core 90112 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 147456 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 36864 1 snd_pcm
snd 98304 16 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
soundcore 16384 1 snd

If you haven’t already tried this and you’re running KDE the easiest way to select the sound card is to do it through

System Setting -> Audio & Video -> Audio Hardware Setup.

Select your hardware. (should include HDMI output under ‘profiles’ if available)

You could also install pavucontrol which allows you to do this more conveniently perhaps if you’re switching between them frequently. You can also select hardware through the mixer in recent Plasma versions.

The default sound card Setting can also be modified through Yast.

Hopefully this will help if you don’t have a configuration issue.

FrankyU2,

thanks for your help.

I had already tried some things similar to those you suggest, with yast, Audio & Video and pavucontrol, but in hardware profiles the hdmi is given as unplugged

  1. If I’ve understood your opening comments properly, you can’t get any sound output? You mentioned in your earlier reply that you don’t have HDMI cables connected, so am I correct in understanding that you’re trying to get sound output on internal laptop speakers instead? If not, which device would you like to get sound output on?

i dont have a hdmi cable connecting my pc to another device.

The question is that i have the 2 devices identified in my post, both using the driver snd_hda_intel, and i cant get the hdmi sound of the related device.

  1. What is returned by the following?
pacmd list-cards

From that information we can check the currently active profile and perhaps provide further guidance.

hi deano_ferrari,

thanks for your help.

i have sound only from one of the 2 cards. the card with HDA Intel HDMI get no sound. as you said, i’m trying to get sound output on internal laptop speakers.

below is the output of pacmd list-cards

2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_03.0>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = “0”
alsa.card_name = “HDA Intel HDMI”
alsa.long_card_name = “HDA Intel HDMI at 0xb7910000 irq 32”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:00:03.0”
sysfs.path = “/devices/pci0000:00/0000:00:03.0/sound/card0”
device.bus = “pci”
device.vendor.id = “8086”
device.vendor.name = “Intel Corporation”
device.product.id = “0c0c”
device.product.name = “Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller”
device.form_factor = “internal”
device.string = “0”
device.description = “Áudio Interno”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
off: Desligado (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = “video-display”
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = “video-display”
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = “video-display”
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = “video-display”
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = “video-display”
index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = “1”
alsa.card_name = “HDA Intel PCH”
alsa.long_card_name = “HDA Intel PCH at 0xb7914000 irq 31”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:00:1b.0”
sysfs.path = “/devices/pci0000:00/0000:00:1b.0/sound/card1”
device.bus = “pci”
device.vendor.id = “8086”
device.vendor.name = “Intel Corporation”
device.product.id = “8c20”
device.product.name = “8 Series/C220 Series Chipset High Definition Audio Controller”
device.form_factor = “internal”
device.string = “1”
device.description = “Áudio Interno”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
profiles:
input:analog-stereo: Estéreo Analógico Input (priority 60, available: unknown)
output:analog-stereo: Estéreo Analógico Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
off: Desligado (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Áudio Interno Estéreo Analógico
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Áudio Interno Estéreo Analógico
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Áudio Interno Estéreo Analógico
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = “audio-input-microphone”
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = “audio-input-microphone”
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = “audio-speakers”
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = “audio-headphones”

Well card 0 only has HDMI outputs, so none of this is surprising to me (unless I’m missing something). Only card 1 (pertaining to the 8 Series/C220 Series Chipset High Definition Audio Controller) offers analog output (to support the internal laptop speakers).

Can you send this command in an xterm/konsole, and advise if it gives any sound ?


aplay -D hw:1,0 -vv /usr/share/sounds/alsa/test.wav

Please post here any errors you get.

If it gives no sound it could also be a mixer misconfiguration.
.

If I understand you correctly here (please clarify), you are able to get audible sound via the laptop speakers when appropriately configured? It seems to me that your confusion is about HDMI output (and you have no HDMI devices connected).

Hello everyone

after trying so many things, that I can not even tell which ones, I can get sound from the 2 devices (one at a time, if configured as card1). Nothing amazing here so far …

my question is that, with any of the 2 devices, the sound is not so good and, as I said, in other operating systems, after installing a HP driver (that i cant find for linux ) the sound improved a lot, using the same internal columns of the pc. the only change was the driver.

if someone can help, ok, if not, i continue using this sound, because i prefer get even no sound that return to microsoft and her bad and horrorific operating systems

oldcpu,](https://forums.opensuse.org/member.php/77-oldcpu)

below is the output, thnks.

aplay -D hw:1,0 -vv /usr/share/sounds/alsa/test.wav

Playing WAVE ‘/usr/share/sounds/alsa/test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 1 ‘HDA Intel PCH’ device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 22052
period_size : 5513
period_time : 125011
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 22052
stop_threshold : 22052
silence_threshold: 0
silence_size : 0
boundary : 6207086186423386112
appl_ptr : 0
hw_ptr : 0
#+ | 00%

As I thought - you do have sound, just not the quality that you were expecting. BTW, the driver is included included as part of the kernel, not vendor-supplied. Your title doesn’t really describe well the problem you were having. It has nothing to do with HDMI. Hopefully, oldcpu can offer some advice about improving your analog sound output.

deano_ferrari,

That’s it… thanks :slight_smile:

If it’s just a question of tuning/enhancing the sound output, perhaps PulseEffects (graphical audio equalizer utility) is worth investigating…
http://www.omgubuntu.co.uk/2017/06/install-pulse-effects-ubuntu-ppa
https://software.opensuse.org/package/PulseEffects?search_term=pulseeffects

Was it at 00% the entire time - with no audio ?

This suggests to me a mixer misconfiguration.

It would make it easier to understand your setup if you could run a diagnostic script and share the output. To do this, with your PC configured to play sound (with the problem present), with PC connected to the internet, please open an xterm/konsole, and as a regular user send this command


/usr/sbin/alsa-info.sh

select ‘SHARE/UPLOAD’ when prompted. Let the script run to completion. Then look in the xterm/konsole and it will have shared a web-address/URL where the diagnostic script output was uploaded. Please share here that link.
.

oldcpu,

thanks for your atention, below is the link…

http://www.alsa-project.org/db/?f=e55731ae48eced0dd13ed5aa94b8de5e2b9ceb6e

Thanks.

I note an HP Envy 17 with an IDT 92HD91BXX HDA-Intel codec.

As already noted on this thread, sound-card-0 is the HDMI and sound-card-1 is the analogue audio. That alsa-play command I gave should provide sound to the internal speakers. I checked the mixer setting in the script output and the mixer setting looks ok, although I do note the headphones are muted.

So please DOUBLE CHECK that you have pavucontrol correctly set to send audio to the correct device on a per application basis, and not have the audio from each application incorrectly pointed to send audio to the HDMI.

I checked the /usr/src/linux-4.4.76-1/Documentation/sound/alsa/HD-Audio-Models.txt file for LEAP-42.3 (but not for Tumbleweed) to see if there were any custom model configurations for the 92HD91BXX on your laptop. I saw some for the STAC92HD71B*, STAC92HD73*, STAC92HD83*, and the STAC92HD95, but none for the 92HD91BXX. That ‘should’ mean no special setting is needed.

I note an openSUSE user with the ancient openSUSE-13.1 version (back in 2014) struggled a bit with this very same (?) hardware, and they had to apply a rather custom fix (in post#8 of following thread):
https://forums.opensuse.org/showthread.php/497421-Beats-Audio

I would be surprised if this is applicable to you, but one never knows.

Please double check what I noted wrt the pavucontrol setting. Also, to take pulse audio out of the picture, try this command as a regular user and see if it works:


pasuspender -- aplay -D plughw:1,0 /usr/share/sounds/alsa/test.wav

Does that give any sound or any errors?

Also try as a regular user:


pasuspender -- aplay -D hw:1,0 -vv /usr/share/sounds/alsa/test.wav

… also try the above with root permissions to confirm there is no permissions issue.

oldcpu,

BINGO…

Using the post#8 of the thread that you referred i’ve got enabled the other sound devices and now it’s a nice sound.

thank you so much for your time and attention.

RafneQ](https://forums.opensuse.org/member.php/97299-RafneQ), **FrankyU2](https://forums.opensuse.org/member.php/104906-FrankyU2), ****deano_ferrari

**](https://forums.opensuse.org/member.php/122-deano_ferrari)thanks also to you all who also helped me

Best regards:)

Well done with getting this configured! I’ve never needed to use hdajackretask, but I guess from reading the thread that oldcpu linked to that some pin remapping was required to get all the speakers (including the LFE (bass) speakers working properly.