Posts by Da Flex

    The log snippet looks OK to me. Only 2 channels are used for PCM, even if you have 8 audio output channels enabled in the settings.

    Read here about the difference between passthrough and non-passthrough: Click!

    Try passthrough with only 2 audio output channels. As mentioned, multiple channels will be encoded into 2 (FL, FR), so you'll get all 6 DTS channels with only 2 audio output channels in the settings.

    I need to try the LE 12 nightly and see if it resolves the issue.

    If not, share a log from the nightly...

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    In both cases used format is AE_FMT_S16NE, present on both platforms. What about frames, which is diffrent? Is there a way to change them?

    If connection breaks on a higher frame rate (only audio in your case), then it's sometimes bad HDMI cabling.

    I would check whether your HDMI cable(s) is/are conform to HDMI 2.0 or 2.1. Those cables have better shielding, so they can handle higher data rates (4K video, HD audio etc.).

    Thanks. LE and OSMC receive different capabilities from the AVR.

    OSMC on RPi (working):

    Code
    2023-08-19 14:49:22.757 T:669      info <general>:     Device 4
    2023-08-19 14:49:22.757 T:669      info <general>:         m_deviceName      : hdmi:CARD=vc4hdmi,DEV=0
    2023-08-19 14:49:22.757 T:669      info <general>:         m_displayName     : vc4-hdmi (vc4hdmi)
    2023-08-19 14:49:22.757 T:669      info <general>:         m_displayNameExtra: GSM LG TV on HDMI
    2023-08-19 14:49:22.757 T:669      info <general>:         m_deviceType      : AE_DEVTYPE_HDMI
    2023-08-19 14:49:22.757 T:669      info <general>:         m_channels        : FL, FR
    2023-08-19 14:49:22.757 T:669      info <general>:         m_sampleRates     : 32000,44100,48000,96000,192000
    2023-08-19 14:49:22.757 T:669      info <general>:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
    2023-08-19 14:49:22.757 T:669      info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD

    LE on Odroid C2 (not working):

    Code
    2023-08-16 17:39:00.077 T:807      info <general>:     Device 3
    2023-08-16 17:39:00.077 T:807      info <general>:         m_deviceName      : hdmi:CARD=ODROIDC2,DEV=0
    2023-08-16 17:39:00.077 T:807      info <general>:         m_displayName     : ODROID-C2
    2023-08-16 17:39:00.077 T:807      info <general>:         m_displayNameExtra: HDMI
    2023-08-16 17:39:00.077 T:807      info <general>:         m_deviceType      : AE_DEVTYPE_HDMI
    2023-08-16 17:39:00.077 T:807      info <general>:         m_channels        : FL, FR
    2023-08-16 17:39:00.077 T:807      info <general>:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
    2023-08-16 17:39:00.077 T:807      info <general>:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
    2023-08-16 17:39:00.077 T:807      info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD

    Differences are at "dataFormats" section. Missing data formats on LE:

    • AE_FMT_S24NE3
    • AE_FMT_S32NE
    • AE_FMT_S16BE
    • AE_FMT_U8

    I guess you found an LE bug. Wait for chewitt now.

    Multiple audio channels can be encoded into two channels, so don't care about it.

    Looks like LE doesn't support audio passthrough on your device:

    Code
    2023-08-16 17:39:00.072 T:807     debug <general>: PulseAudio: Context authorizing
    2023-08-16 17:39:00.073 T:807     debug <general>: PulseAudio: Context setting name
    2023-08-16 17:39:00.074 T:807     debug <general>: PulseAudio: Context ready
    2023-08-16 17:39:00.074 T:807   warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail