No sound on HDMI

Issues related to hardware problems
Post Reply
iditude
Posts: 4
Joined: 2015/05/02 16:53:32

No sound on HDMI

Post by iditude » 2015/05/02 17:01:02

Hello everyone,

I'm new to CentOS and I wanted to get my sound up an running. I'm facing some issues and I have reached a point where Google isn't helpful anymore. I have spent days trying to figure out how to do this.

Basically my sound card (VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 20)) works perfectly well through the first output (jack) but I can't get sound to go through HDMI.

aplay -l returns
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 3: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
but even in root,
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
produces nothing.

I have tried alsamixer, I am not muted, etc. I don't know what I can do at this point. I have even tried ubuntu and fedora and I run into the same issue.

Thanks a lot for your help

Here is the output of the alsa info script, just in case that is useful : http://www.alsa-project.org/db/?f=43cb7 ... 1e08c7af51

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: No sound on HDMI

Post by scottro » 2015/05/02 18:09:01

It looks as if your HDMI device isn't detected.

Even when detected, it's a bit of a pain. I have a page about multimedia, with a few things about it.

http://srobb.net/dvds.html

There's a section on HDMI.

In a nutshell, with mplayer I specify the output device, if trying to do, say web videos or netflix one can either create a $HOME/.asoundrc file or, if using pulseaudio, use the GUI tools to specify output.

However, what I'm seeing from your output is that the HDMI device isn't recognized.
Running aplay - should have mentioned HDMI, e.g.

Code: Select all

card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Assuming pulseadio is installed, you can try installing pavucontrol and seeing if, after clicking the configuration tab, it's seeing an HDMI device.


Also, with Fedora and Ubuntu, did you get the same result with aplay -l, that of no HDMI device. (You can try with their live versions too, to save time, as well as Mint, which is often even better at hardware detetction)
New users should check the FAQ and Read Me First pages

iditude
Posts: 4
Joined: 2015/05/02 16:53:32

Re: No sound on HDMI

Post by iditude » 2015/05/03 07:13:42

Thanks. I never considered that my card wasn't recognised. Maybe it's badly recognised?

I tried Pavucontrol and I can see the HDMI output. I can change levels. However the sound icon above as a small "x" next to it (I'm not muted in alsamixer, but maybe there is another tool I can use?)

HDMI seems recognised when I run aplay -L
[root@localhost ~]# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=VT82xx
HDA VIA VT82xx, VT1708S Analog
Default Audio Device
front:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
Front speakers
surround21:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708S Digital
HDMI Audio Output
Thanks so much for your help

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: No sound on HDMI

Post by scottro » 2015/05/03 09:38:23

Hrrm, I haven't come across that--where aplay -l doesn't show it and aplay -L does. Did you install alsa-plugins-pulseaudio (or whatever it's called)? If so, if you use the pavucontrol, are you able to get rid of the mute?

Also, again using alsa-plugins-pulseaudio (if you're doing a small install--if you're using a standard Ubuntu, Mint, or Fedora, it is probably included), did you have better luck?
New users should check the FAQ and Read Me First pages

iditude
Posts: 4
Joined: 2015/05/02 16:53:32

Re: No sound on HDMI

Post by iditude » 2015/05/03 15:42:15

Thanks a lot for your help on this one.

I have exactly the same problem with Ubuntu 15.04, debian 8, Mint and CentOS.

This is driving me nuts... I have installed all the packages.

It's really weird as pavucontrol clearly has an HDMI audio output.

Thanks

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: No sound on HDMI

Post by scottro » 2015/05/03 17:14:54

Ok, sorry I can't be of more help. I would say try the Ubuntu forums as they would (probably) have the largest amount of users who work with multimedia. I only know the solutions I mentioned.
New users should check the FAQ and Read Me First pages

lobo
Posts: 1
Joined: 2015/05/04 05:25:27

Re: No sound on HDMI

Post by lobo » 2015/05/04 06:07:52

I had a similar problem and my solution was to set manually the audio output to "Digital Stereo (HDMI) Output" on System settings -> Multimedia -> Phonon -> Audio hardware Setup (TAB) -> profile

It is annoying that CentOS doesn't switch automatically between outputs when the HDMI connector is detected as it does with the screens.

You will need to select your "Analog Stereo Output" to use your speakers again.

iditude
Posts: 4
Joined: 2015/05/02 16:53:32

Re: No sound on HDMI

Post by iditude » 2015/05/11 20:26:29

Thanks to all. That didn't do it either.

No pb, I will investigate on the ubuntu side. Having the same problem with all distrib I tried, I fear this is related to the kernel.

Thanks again!

Cheers

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: No sound on HDMI

Post by AlanBartlett » 2015/05/11 20:41:09

You could test your assumption that the problem is kernel related by installing the kernel-ml package that is available from the ELRepo Project.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

nkd
Posts: 1
Joined: 2015/07/28 18:38:56

Re: No sound on HDMI

Post by nkd » 2015/07/28 18:52:08

Hi everyone,

I have the same issue on my centOs (CentOS Linux release 7.1.1503 (Core))

I try to give you more informations as possible :

Code: Select all

lspci |grep -i aud
00:1b.0 Audio device: Intel Corporation C610/X99 series chipset HD Audio Controller (rev 05)
03:00.1 Audio device: NVIDIA Corporation Device 0fb0 (rev a1)

The wierd things is, if run

Code: Select all

 aplay -l 
:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0

I have 4 devices, maybe it's normal, I really don't know.

And in the phonon<audio hardware setup in harware profile I can switch between 4 profiles
-Digital stereo (HDMI) output
-Digital stereo (HDMI) output
-Digital surround 5.1 (HDMI) output
-Digital surround 5.1 (HDMI) output

Of course, I tried to switch between profiles but No sound on HDMI.

I tried to check if my card was muted but not at all.

Any ideas ? maybe a conflict issue ?

By advanced. Cheers !

Post Reply