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:
LibreELEC:~ # tail /sys/class/drm/*/status
==> /sys/class/drm/card0-DP-1/status <==
connected
==> /sys/class/drm/card0-DP-2/status <==
disconnected
==> /sys/class/drm/card0-DP-3/status <==
disconnected
==> /sys/class/drm/card0-HDMI-A-1/status <==
connected
==> /sys/class/drm/card0-HDMI-A-2/status <==
disconnected
==> /sys/class/drm/card0-HDMI-A-3/status <==
disconnected
Display More
Kodi log shows:
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:
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:
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?