I originally posted this in the other AE Linux topic ... probably better here (and I can't delete the other post sigh).
I'm having similar issues since the enumeration capabilities were added as D3LTA is experiencing. I'm also using the same type of card, an Nvidia G210. I've found that initially it can work fine - the ELD data is probed and it correctly identifies the correct device and up pops my Denon receiver in the GUI - everything works fine. If I suspend and resume, again, everything continues to work fine. The moment I stop xbmc or reboot - when it returns no ELD data is found and hence no sound.
The only reliable way I've found of regaining sound via the Nvidia card is through a reinstall of the OS. Simply reinstalling xbmc has never worked in my testing. Removing/reinstalling the nvidia driver does not reliably fix things - messing with ALSA (reinstalling, upgrading, etc.) likewise does not reliably fix anything. Reinstalling the graphics driver likewise does not reliably fix anything. Rebooting - numerous times, doesn't fix it. Leaving it running - nothing, switching it off and returning later, nothing. By default I used stored EDID information when X starts, i.e. I have a line in my xorg.conf of the form:
Code:
Option "CustomEDID" "DFP-1:/etc/X11/edid.bin"
However it makes no difference if that line is present or not or whether the amp is switched on and tuned to the media player before it boots or not.
I'm fairly certain this is related directly to the G210. Firstly we're not seeing lots of "my sound isn't working!" responses from people which would suggest a wider problem. Secondly when I switch to using the onboard graphics (provided by the Sandybridge Pentium G620) ELD data and sound work fine - from suspend/resume, from reboots, from restarting (all be it just noise for DTS-HD/TrueHD but that's a seperate issue).
So some background and logs. This is an Intel DH67CF motherboard with a Pentium G620 and this addin Nvidia G210 card. Using Ubuntu 12.04 and the 290.10 driver (but I've tried the 285 through to the latest 302 betas with the same issues). I've tried disabling the onboard graphics/hdmi/sound - same result. I've tried using a probe line for the nvidia card, same result. It's something about this card - I realise that it doesn't technically support HD sound formats but it's been working fine since Gnif's early AE builds "long ago". And besides it's the ELD data that is the issue, or apparent lack of ELD data
I use the latest git (ae_rebase) from Gnif's repo
Output of aplay -l:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Output from:
cat /proc/asound/NVidia/eld#1.0
Code:
monitor_present 1
eld_valid 1
monitor_name DENON-AVAMP
connection_type HDMI
eld_version [0x2] CEA-861D or below
edid_version [0x3] CEA-861-B, C or D
manufacture_id 0xee11
product_id 0x15
port_id 0x20000
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count 7
sad0_coding_type [0x1] LPCM
sad0_channels 8
sad0_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits [0xe0000] 16 20 24
sad1_coding_type [0x7] DTS
sad1_channels 6
sad1_rates [0x6c0] 44100 48000 88200 96000
sad1_max_bitrate 1536000
sad2_coding_type [0x2] AC-3
sad2_channels 6
sad2_rates [0xe0] 32000 44100 48000
sad2_max_bitrate 640000
sad3_coding_type [0xb] DTS-HD
sad3_channels 8
sad3_rates [0x1ec0] 44100 48000 88200 96000 176400 192000
sad4_coding_type [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad4_channels 8
sad4_rates [0xc0] 44100 48000
sad5_coding_type [0xc] MLP (Dolby TrueHD)
sad5_channels 6
sad5_rates [0x1ec0] 44100 48000 88200 96000 176400 192000
sad6_coding_type [0xc] MLP (Dolby TrueHD)
sad6_channels 8
sad6_rates [0x6c0] 44100 48000 88200 96000
Log of successful eld data probe:
http://pastebin.com/XVeiwcSZ
Log of unsuccessful eld data probe:
http://pastebin.com/aCtb8Grg
Copy of guisettings.xml from working AE install:
http://pastebin.com/0KGKd0qD
Copy of guisettings.xml from "broken" AE install:
http://pastebin.com/hx9K4ZMJ
Obviously getting further data is a little ... complicated ... since the only way I can reliably obtain it is via a reinstall. However I'm more than happy to do that as many times as necessary if it can help resolve this issue.