Rpi 3 HDMI Audio Passthru

  • Before I dig deeper, should I expect that EAC3/Dolby Digital+ gets passed through HDMI? It’s received as stereo when the receiver is definitely capable of decoding EAC3 streams. And DTS and DD are working just fine.

    I thought there was an option for this in LE9 that seems to not be there in LE10 on my RPi3.

  • EAC3 passthrough should work on RPi2/3 - you have to enable expert mode in settings to see the option.

    Note though that EAC3 support in Kodi is very buggy - see eg https://github.com/xbmc/xbmc/issues/19182 - so you're better off not enabling it because it won't really work.

    TrueHD is another thing, due to bugs in RPi0-3 hardware they can't output 192kHz 8ch (which is required for TrueHD and DTS-X).

    so long,

    Hias

  • Thanks, was a skin issue, flipped back to Estuary and the EAC3 transcode option appeared.

    What I did notice is that one of my boxes connected directly to a tv recognised a DD+ stream no problem (accepting the issues in the GitHub you linked), but the box connected to my new Denon amp did not, with the same file. Nor did it display HD options (again, accepting they don’t work here). Is there some smarts related to maybe the HDMI cable version that means I’m offered limited options in Settings? I’m loathed to try changing the cable because it’s such a rats nest of cables I’d need to deal with!

  • Are you connected to the denon amp through HDMI?

    The source (Pi) will read the EDID from the sink (display or AVR) and that will include audio capabilities.

    A faulty HDMI cable may make it impossible to read the edid.

    ssh in and run:

    Code
    edid-decode /sys/devices/platform/gpu/drm/card?/card?-HDMI-A-1/edid

    and you should find an "Audio Data Block" describing the capabilities.

  • Thanks for the reply, edid-decode threw an error, so I had to change it to this:

    Code
    edid-decode /sys/devices/platform/soc/soc:gpu/drm/card?/card?-HDMI-A-1/edid

    but that then yielded this:

    which maybe matches this in the log and certainly matches my expectations on what the amp can support:

    I'm assuming the next step is to get a full log of me playing one of the EAC3 files and share here. Do I need to enable any particular level of debug?

  • Standard pastekodi log (with kodi debug logging enabled) would do fine for the next step. Edid and sound device info look like it should work (from driver and kodi side).

    so long,

    Hias

  • Both of these are from RPi3 systems that got a fresh install with LE10 and are using the default skin. The non-working system, 'KodiLounge' got a restore of a config backup I took in 'KodiBedroom'. Turned on logging, did a reboot and played the same file on both boxes.

    Here are the results from 'KodiLounge', where the amp did not pick up an EAC3 signal via HDMI

    http://ix.io/4iA2

    Here are the results from 'KodiBedroom', where the TV did detect it as a DD+ signal via HDMI.

    http://ix.io/4iA3

    Also on this box I'm offered 'TrueHD' and 'DTSHD' options in System/Audio settings (I'm not offered these on 'KodiLounge') which is more unexplained weirdness.