Ubuntu – Sound Not playing through HDMI

drivershdminvidiasoundwubi

I am running Ubuntu 12.10 using the "wubi" tool on my HP Pavilion dv5-1080ei with Windows 8.

When I ran Ubuntu for the first time my monitor/tv connected via the hdmi had no picture coming to it even though it was showing up in the display settings. I managed to fix this problem by changing the NVIDIA driver from the default "Nouveau" to one of the proprietary drivers.

This made the picture work on my monitor/tv but not the sound 🙁
I tried all the different proprietary drivers on the list, all the same.

When I go to "test sound" the audio ONLY plays through my laptop speakers even if I have the HDMI/DisplayPort selected…

I actually had the same problem when I updated my system from Windows Vista to Windows 8. Unfortunately, I cant remember exactly what fixed it there because I was frantically trying many different things… I think it was a combo of installing Realtek drivers found on HP's site for "my product" and deleting a program/driver in "programs and features" called Nvidia audio…

Help sorting it out on Ubuntu will be greatly appreciated!
Thanks

Best Answer

Not sure if I am meant to post this under my question but I managed to get the sound through HDMI working :) :)

The fix: Type "alsamixer" in the terminal and use the right arrow to go to S/PDIF and S/PDIF 1. Mine was set to "MM"(mute) push the letter "M" to unmute, it will change to "00" now press "Esc" and enter "sudo alsactl store" close the terminal and reboot

I found this on http://karuppuswamy.com/wordpress/2012/04/28/how-to-fix-nvidia-hdmi-audio-in-ubuntu-12-04/ (pics and full set of instructions)

PS I am now running 13.04. (still had the issue until doing this fix above)