Posts by popcornmix

    With that in the file, and the HDMI plugged in closest to the power cable, it does work, as long as the HDMI is plugged in at boot, and not afterwards.

    You should be using:

    video=HDMI-A-1:1920x1080M@60D

    The D means assume it's connected (otherwise you will need to have a display connected at boot).

    You should always use the primary hdmi connector (closest to power connector).

    I wonder if this patch (done properly) could make it into the official repo? While it is a workaround for an LG TV bug, I am not sure the possibility of engaging PC mode would ever be preferable for a Kodi distro.

    Reporting a PC style device as a PC style device sounds like the correct behaviour.

    The TV not allowing the user to choose picture enhanced based based on this seems like the bug.

    I'd be nervous about changing the reported source type for everyone. I believe using PC mode will often default to a non-overscanned display which is desirable and the change you are suggesting may make things worse for others.

    The correct solution is to complain to LG and hopefully a firmware update will allow your use case to work.

    The workaround should be that the kernel defaults to PC mode. but allows a runtime override (perhaps through sysfs) to change the SPD_SDI type. A display settings option in kodi could allow setting this. But that is more work, and really needs to be done in the upstream linux and kodi repos, not by LibreELEC.

    You can see the infoframe used:

    I'm guessing it's the "PC general" that causes the bad behaviour in your TV which is set here.

    This is generic linux kernel code, so all linux platforms will behave the same (assuming they support the spd infoframe).

    I'd say the code is correct. Based on the options available that is the best match for a Pi or PC.

    Changing from HDMI_SPD_SDI_PC to HDMI_SPD_SDI_UNKNOWN might avoid the issue with your TV, but it's not runtime configurable (you will need to patch that line in kernel and rebuild LibreELEC).

    There is (effectively) no AAC passthrough anywhere.

    It is mentioned in specs, but n o consumer devices output it and kodi doesn't support it.

    Kodi can decode the 6-channel AAC and output 6-channel PCM.

    This is lossless and will have perfect quality, but relies on connection to AVR to support multichannel PCM.

    It's not clear from your post how the TV and AVR are connected.

    Ideally you connect pi-<hdmi>-AVR-<hdmi>-TV but it sounds like you are not (due to AVR not supporting 4K, but TV does).

    I assume you care connecting pi-<hdmi>-TV-<something>-AVR?

    What is the <something>? Is that ARC or toslink/spdif?

    They are limited to two-channel PCM. But two-channel PCM can carry passthrough of AC3 or DTS.

    (Note: AAC and AC3 are distinct formats).

    The good news is kodi can be configured to decode AAC, encode it to AC3 and output that as passthrough.

    That will likely get you multi-channel audio. The operation is lossy, but would be imperceptible to most people.


    In system/audio settings set:

    Number of channels: 2

    Allow passthrough: On

    Dolby Digital (AC3) capable receiver: On

    - Enable Dolby Digital (AC3) transcoding: On

    DTS capable receiver: Off (you could try on, but that is less commonly supported by TVs)

    One other note, I've notice a message in the journalctl -a -b -0  section of the log when running pastekodi that had a warning about undervolting. I was originally using a 10W power supply, and I've changed that to a 20W power supply now. Wanted to mention that in case that solves the issue.

    Running with an inadequate power supply (that the undervolting lines prove) can certainly cause random crashes.

    I started 3 movies. The first 2 were mpeg-2 and h264 had no problems, the third was h265 and worked until the moment I opened the menu. The picture wasn't affected in any way but the sound suddenly stopped (the AVR's indicators for Dolby-HD/Dolby Atmos went out), that's when I ran "dmesg | pastebinit":

    https://paste.libreelec.tv/eternal-meerkat.log

    Nothing unusual in there.