HDMI audio not working once X starts
First let me say, my audio works while at a terminal before X starts. Then once I start X with the nvidia binary, the audio stops working. If I start it with the nv driver, it does fine, but I need xvmc, so thats not really an option.
I'm using the latest alsa 1.0.18a (which is what I needed to get any audio over hdmi)
I've tried the latest drivers as well as the latest beta drivers, same result.
The biggest thing I've noticed is that while audio is working /proc/asound/card0/codec#1
Pin-ctls = 0x40
Amp-out = 0x0
But after I start X with the nvidia drivers,
Pin-ctls = 0x0
Amp-out = 0x80
Does anyone have any guidance for getting hdmi audio working while X is running, or investigating what would be changing the codec#1 (assuming whatever changes that is the root cause of the problem) I assume there aren't any options for the module or options in xorg.conf that could affect the audio operation, but maybe someone can correct me on that.
Thank you for any help or suggestions on how to track this down.
Also note, I have analog audio working while the nvidia X is running, just not the digital audio over hdmi.
Also note, the aplay lists the hdmi device correctly, and I can write to it via speaker-test in both terminal mode and X mode, but only while in terminal mode do I hear anything come out of the speakers.