[alsa-devel] sound over HDMI on AppleTV (1G) with nvidia drivers

Benjamin BERTRAND beenje at xboxmediacenter.com
Tue Nov 2 19:25:29 CET 2010


Hi,

Currently to get sound over HDMI on AppleTV (1st generation) (with linux of course), NVIDIA 100.14.19 drivers are required (and they compile only on Ubuntu 8.04).
It doesn't work with newer drivers.

I made a few tests with Ubuntu 9.10 + kernel 2.6.32 + alsa-driver 1.0.23 + NVIDIA drivers 256.35
atv uses a SiI1390 chip for HDMI output (and NVidia GeForce Go 7300 / G72 pci-express chipset).
In current alsa-driver, SiI1390 uses the ATI HDMI codec which hasn't been updated in a while.
So I patched alsa-driver to use the INTEL HDMI codec instead.

After boot, and before starting X, I have sound (tested with aplay).
See alsa-info log here: http://pastebin.com/dsaqnDKb

As soon as I start X, no more sound. alsa-info log here: http://pastebin.com/fHqyJw6Q

Trying to mute - unmute with alsamixer (it puts the digital output back to enable) or reloading the driver doesn't help. Can't get any sound with X.

One thing I noticed is that the function hdmi_intrinsic_event is never called. I never get any "HDMI hot plug event". So monitor_present and eld_valid are never set. Not sure this is really relevant, but that's where I got stuck so far.
Is the HDMI output disabled because alsa doesn't give the right information?

Any advice? 
What more could I test?

Thanks

Benjamin


More information about the Alsa-devel mailing list