Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 
share|improve this question
    
I don't know how to provide any more data. –  Michael Mar 13 '12 at 18:12
    
At the very least we need to know what kind of sound card you're using: aplay -l –  hbdgaf Mar 13 '12 at 18:14
    
Any simple to use programs I can use that can provide such information? –  Michael Mar 13 '12 at 18:29
    
Stupid me, Sorry about that. **** 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 –  Michael Mar 13 '12 at 18:35
    
Have you checked that it's not muted in alsamixer? crunchbang is ubuntu derived and has a report of it being accidentally muted –  hbdgaf Mar 13 '12 at 18:43

3 Answers 3

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

speaker-test -c 2 -r 48000 -D 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.

share|improve this answer
11  
This is ridiculous, but works admirably. Thanks. –  Pedro Werneck Mar 24 '13 at 2:50
1  
Upgrading alsa + installing pavucontrol as suggested by @gsdej 's post (instead of the speaker test) worked for me –  nariknahom Oct 28 '13 at 11:46
    
This did not work for me. The install failed. please see askubuntu.com/questions/512482/hdmi-audio-not-working-on-tv –  faizal Aug 17 at 11:12

You can try installing program "PulseAudio Volume Control" (sudo apt-get install pavucontrol)

In tab Configuration select profile mentioning HDMI.

The desktop sound output should immediately switch to HDMI.

share|improve this answer
    
Thank you, this worked for me on 12.10, Intel HD 4000. For me, HDMI was not listed as an output device in the system's sound settings. But once I selected the HDMI profile in the configuration tab of the "Pulse Audio Volume Control", sound through HDMI worked and HDMI was even listed as an output device in the standard sound settings. Bryan's approach didn't work for me. –  Tobold Feb 28 '13 at 22:14
    
This also worked for me - ALSA could see it but Ubuntu's desktop couldn't. –  Tom Dalton Sep 10 '13 at 18:54
    
There's no pavucontrol on 14.04 –  That Brazilian Guy Jun 5 at 1:00
    
@ThatBrazilianGuy just downloaded it on 14.04. apt-cache policy pavucontrol has output : pavucontrol: Installed: 2.0-2 Candidate: 2.0-2 Version table: *** 2.0-2 0 500 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status –  blo0p3r Sep 13 at 19:39
    
No HDMI profile in the Configuration tab for me. –  cboettig Dec 3 at 20:20

install GNOME alsa mixer , unmute everything, check IEC958

share|improve this answer
3  
While this may theoretically answer the question, it is too vague to be useful. Please expand it to include the steps needed to accomplish what you are suggesting. While experienced user may know how to do this, new user likely will not; it needs to be useful to all users. –  TrailRider Aug 18 '13 at 16:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.