<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 5:54 AM, Raymond Yau <span dir="ltr"><<a href="mailto:superquad.vortex2@gmail.com" target="_blank">superquad.vortex2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div>Codec: ATI R6xx HDMI<br>Address: 0<br>AFG Function Id: 0x1 (unsol 0)<br>Vendor Id: 0x1002aa01<br>Subsystem Id: 0x00aa0100<br>Revision Id: 0x100300<br><br></div><div>seem that your codec may get Audio-Video Association Port ID and Sink Information for your DENON-AVAMP <br>
</div></div></div></div></blockquote></div></div></div></div></blockquote></div><div><br><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_eld.c?id=89250f84644676c1ed6a09acef1033e14596a402" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_eld.c?id=89250f84644676c1ed6a09acef1033e14596a402</a><br>
<br>Revision ID 3
and later (0x100300 as reported by procfs codec#X) have support for
providing more information than the previous revisions (but only if
supported by the display driver).<div class="im"><br><br>manufacture_id 0x0<br>product_id 0x0<br>port_id 0x0<br><br></div>you have to find out those values return by hda_codec_read ATI_VERB_GET_SINK_INFO_DATA as your codec are revision 3 and your graphic driver got the product_id, manufacture_id, port_id<div class="im">
<br>
<br>Manufacturer: DON Model 26 Serial Number 16843009<br>Made week 0 of 2011<br>
</div></div><div>Monitor name: DENON<br>
<div><div class="im"><br>Audio data block<br> Linear PCM, max channels 7</div></div></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div class="im"> Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32<span style="color:rgb(34,34,34)"> </span></div></div></div></div></div>
</div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div class="im"> Supported sample sizes (bits): 24 20 16<br>
DTS, max channels 5<br> Supported sample rates (kHz): 96 88.2 48 44.1<br>
Maximum bit rate: 1016 kHz<br> AC-3, max channels 5<br> Supported sample rates (kHz): 48 44.1 32<br> Maximum bit rate: 1016 kHz<br> DTS-HD, max channels 7<br> Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1<br>
Dolby Digital+, max channels 7<br> Supported sample rates (kHz): 48 44.1<br> MAT (MLP), max channels 7<br> Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1<br> Speaker allocation data block<br><br></div>
Do those SAD in EDID in xorg.log match with the specification of your Denon HDMI receiver ?<div class="im"><br></div></div></div></div></div></div></blockquote><div>I was not able to find all of these, but I found most of these and they do match the receiver spec. </div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div class="im">speakers [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC<br>
sad_count 6<br>sad0_coding_type [0x1] LPCM<br>sad0_channels 8<br>sad0_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000<br>sad0_bits [0xe0000] 16 20 24<br>
sad1_coding_type [0x2] AC-3<br>sad1_channels 6<br>sad1_rates [0xe0] 32000 44100 48000<br>sad1_max_bitrate 640000<br>sad2_coding_type [0x7] DTS<br>sad2_channels 6<br>sad2_rates [0x6c0] 44100 48000 88200 96000<br>
sad2_max_bitrate 1536000<br>sad3_coding_type [0xa] E-AC-3/DD+ (Dolby Digital Plus)<br>sad3_channels 8<br>sad3_rates [0xc0] 44100 48000<br>sad4_coding_type [0xb] DTS-HD<br>sad4_channels 8<br>
sad4_rates [0x1ec0] 44100 48000 88200 96000 176400 192000<br>
sad5_coding_type [0xc] MLP (Dolby TrueHD)<br>sad5_channels 8<br>sad5_rates [0x1ec0] 44100 48000 88200 96000 176400 192000<br><br></div></div><div>seem emulated ELD 's max bitrate are different from those in SAD of EDID<br>
</div><div><br><br></div><div>Do AC3 or DTS passthrough hdmi work (using alsa and pulseaudio) or not ?<br></div><br></div></div></div></div></blockquote><div>Yes with both alsa and pulseaudio (in PA, I'm using my hacked extra hdmi conf file and not the default one) </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Do your Denon HDMI receiver support 7.1 ?<br><br>
</div></div></div></div></blockquote><div>yes, but I have only have it setup for 5.1 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div> Profiles:<br> output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 400)<br>
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 3300)<br>
output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 200)<br> output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 3100)<br> output:hdmi-stereo-extra2: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 200)<br>
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 3100)<br> output:hdmi-stereo-extra3: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 200)<br> output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 3100)<br>
<br></div><div>seem no 7.1 in pulseaudio ?<div class="im"><br></div></div></div></div></div></blockquote><div>I setup pulse to 6 channels, maybe that is why?</div><div>Or maybe it is unrelated? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="im"><br><div dir="ltr"><div class="gmail_extra">Do pulseaudio select the first HDMI as active port the default sink ?<br>
<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I am not sure.</div>
</div></div></div></blockquote><div><br></div></div><div>seem no output of pactl stat <br></div></div></div></div></div></blockquote><div>Ooops </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div></div><br><a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/modules/alsa/mixer/profile-sets/extra-hdmi.conf" target="_blank">http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/modules/alsa/mixer/profile-sets/extra-hdmi.conf</a><br>
<br></div><div>you may comment the last three hdmi devices until monitor_presence bug is fixed <br></div><div><br></div></div></div></div></blockquote><div>Oh I have already a hacked version of this file that works for me as mentioned in first email, I will attach it. </div>
</div>John</div></div>