Posts by fezster

    Code
    <advancedsettings>
            <videoscreen>
                    <monitor>DP-1</monitor>
            </videoscreen>
    </advancedsettings>

    Thanks! That definitely forced it to use DP.

    However, it then it fails to load the GUI with this error:


    I tried ensuring the resolution I'm using is supported by both outputs (i.e. providing the following flags in syslinux.cfg):

    Code
    APPEND boot=UUID=10B4-4A77 disk=UUID=93786be3-5652-47ab-b200-e2f498d33733  quiet video=DP-1:1920x1080M@60 video=HDMI-A-1:1920x1080M@60

    Related thread: Force display output to DP with audio on HDMI where I am trying to use the HDMI for sound and DP for video.

    I wanted to dig deeper into why the DP 1.2 on my Optiplex 3050 is not able to play HD audio. I've made some progress (I think!) but I'm stuck on where to go from here. If it is a limitation of the DP itself, I'd like to understand why.

    Here's my findings:

    HD Audio (TrueHD and DTS HD MA) from HDMI 1.4 works - log here:


    HD Audio (TrueHD and DTS HD MA) from DP 1.2 DOES NOT work - log here:


    In both cases, it first tries to create a 2 channel output stream:

    Sample Rate : 44100
    Sample Format : AE_FMT_S32NE
    Channel Count : 2
    Channel Layout: FL, FR

    and then an 8 channel output stream:

    Sample Rate : 192000
    Sample Format : AE_FMT_S16NE
    Channel Count : 8
    Channel Layout: RAW, RAW, RAW, RAW, RAW, RAW, RAW, RAW

    I suspected perhaps the DP 1.2 does not support 192000khz with 8 channels, but if I run a speaker-test command, it works fine:


    If I turn off passthrough in Kodi settings, LPCM 7.1 is sent fine via the DP for all 8 channel HD audio streams.

    Any guidance on what I can check next?

    Thanks for the suggestion, but same thing:

    Code
    APPEND boot=UUID=1101-5649 disk=UUID=d8c7d193-fa09-4fcd-b27b-41b739035d2d portable quiet initrd=/edid.cpio drm.edid_firmware=edid/edid.bin video=DP-1:1920x1080M@60
    Code
    2024-01-15 13:14:47.180 T:877      info <general>: CDRMUtils::FindConnector - using connector: HDMI-A-1

    I have a Optiplex 3050 which has both a DisplayPort 1.2 (capable of 4k) and HDMI 1.4 (capable of 1080p only).

    I'm using LibreElec 11 stable (although tried 12 nightly too) and I cannot get HD audio to work on the DP using a Benfei DP->HDMI adapter (reading around, seems to be a common problem with NUC's as well). DD/DTS work fine.

    I can, however, get HD audio working over the HDMI 1.4 connection.

    So I want to utilize both connections simultaneously but, despite trying for a few days, whenever I connect the HDMI 1.4 cable, Kodi always output's it's display on that port rather than the DP:

    Kodi log shows:

    Code
    2024-01-15 11:34:25.035 T:876      info <general>: CDRMUtils::FindConnector - using connector: HDMI-A-1


    I tried adding the following to syslinux.cfg, but nothing changed:

    Code
    APPEND boot=UUID=1101-5649 disk=UUID=d8c7d193-fa09-4fcd-b27b-41b739035d2d portable quiet initrd=/edid.cpio drm.edid_firmware=edid/edid.bin video=DP-1:D


    If I remove the HDMI-A-1 in syslinux:

    Code
    APPEND boot=UUID=1101-5649 disk=UUID=d8c7d193-fa09-4fcd-b27b-41b739035d2d portable quiet initrd=/edid.cpio drm.edid_firmware=edid/edid.bin video=HDMI-A-1:d video=DP-1:D

    then Kodi starts on the DisplayPort, but the HDMI-A-1 is disabled and so does not output any audio (it also shows as disconnected under /sys/class/drm/card0-HDMI-A-1/status

    Is there any way to force Kodi to use the DP connection, whilst still allowing the HDMI for audio?