Ubuntu – Ubuntu refuses to output audio via HDMI

hdmisound

I have my PC hooked up to speakers and a monitor. In addition, it is hooked up to my Vizio 37' LCD Television. When I was on Windows 7, I could choose to output sound via HDMI. I have the choice in Ubuntu but no sound is outputted. Any Ideas? I don't know how to get system specs on Ubuntu so if you need them please tell me how to get them.

aplay -l output:

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

Best Answer

With the HDMI cable plugged in, run the following utility:

speaker-test --channels 2 --rate 48000 --device hw:0,3

(for others, the hw:x,y is x = card, y = device)

This just runs a sound test with static bouncing back and forth. Once it has played out of each speaker, hit Ctrl+c to stop it, and then check in your sound settings to see if the HDMI output is now listed under the internal device.

That was all I had to do to get it working. If it doesn't work for you, check out this tutorial for upgrading alsa to the ppa version.

Related Question