Posts by chewitt

    It sounds like the core OS boots and runs fine but something fails/faults with Xorg so the Kodi home screen doesn't show and then Kodi is restarted (ad infinitum).

    If you have an AMD GPU the first thing I would do is reinstall with the Generic (not Generic-Legacy) image. I would also use a current LE13 nightly to have the latest drivers (not that this guarantees anything). If the Generic image does something similar, e.g. the boot splash shows but the Kodi home screen then doesn't overwrite it, you can access the 'Logfiles' Samba share over Ethernet and either upload the zip file or (better) pastebin the system and kodi logs so we can maybe see what went wrong.

    isn't what you describe (ignore dynamic metadata and use the static metadata) already happening right now?

    Yup. Current LE images are using ffmpeg 7.1 and 8.1 is queued up for LE13 nightlies. What you described as some future thing we need to add .. is something we've been doing for ages already.

    The upstream Motorcomm driver is enabled in RK images but code shows "Motorcomm 8511/8521/8531/8531S/8821 PHY driver." so I would assume it doesn't support YT6801 and something downstream will be needed. The challenge here is that a) downstream drivers are normally written for old Android kernels and are garbage quality, b) in the last year LE finally exorcised the last out-of-tree vendor driver from our codebase, and that effort took a decade, so we aren't going to enthusiastically add/allow more of them back into the codebase again. I'll entertain the idea of backporting submissions to kernel mailing lists that show promise of being merged (and thus patches can be dropped in a future kernel bump) but out of tree things are a firm no these days.

    There's plentiful information on how to build custom images in the wiki. Learn how to search for driver names using "git grep" to discover references to them in packages and config files within the codebase.

    Will this make DolbyVision support possible in LE and is it planned to support that?

    The current level of support allows ffmpeg to detect the presence of DV content and depending on the DV variant, do things like ignore dynamic metadata thus allowing playback to use the static core data and still render something. This then allows OpenGL using systems to tonemap ouptut and show something that resembles SDR. There is no support for variants that do not contain static core data, and Kodi/LE does not currently attempt tonemapping on OpenGLES hardware (90% of our userbase).

    I do not expect to see "true" DV support anytime soon. There is one known 'open-source' implementation that aims to support FEL7 but this depends upon the Amlogic vendor kernel and Amlogic hardware that supports DV, and although this is now mostly working and the implementation is 'open' since it does not depend upon closed-source dolby licensed binaries; the developers have had to implement portions as a closed-source ARM secureworld app to avoid the implementation being inspected by e.g. an army of Dolby lawyers looking to protect their intellectual property. There is a desire to share information on the implementation thus leading to better public open-source support, but both the sharer and receiver(s) of shared information need to carefully consider how this is done to avoid the strong probability of the sharing act attracting legal problems.

    Yay for users backing closed-source formats! /shrug

    Code
    2025-06-26 08:44:18.884 T:1120    debug <general>: CDRMUtils::FindConnector - failed to find connected connector
    2025-06-26 08:44:18.884 T:1120    error <general>: CWinSystemGbm::InitWindowSystem - failed to initialize Atomic DRM

    The 'van' log continues to show ^ no HDMI device attached. The 'monitor' log is normal in comparison.

    If you remove the SD card and power on the board the firmware shows a bios-like screen with information and along the bottom of the screen there is basic detection of EDID data from a connected display device. I'd guess you will see "EDID: none" which confirms there is no display attached (or detected). LE can use either HDMI port for video/audio but CEC only maps to the HDMI port nearest the power socket so you'll see this described as preferred in many forum posts.

    The other trick to try, is running "getedid create" when attached to the monitor. This captures the monitor's EDID data to file and configures the kernel DRM layer to read EDID data from file instead of auto-detecting it from cables. This will guarantee the kernel 'sees' a connected device (the monitor) and outputs appropriate to that device. As long as the van HDMI display can handle that input, it might force things to work. If the van display does not like that input, you either need to fix things so HDMI handshaking and auto-detect works, or you need to run "edid delete" to remove the existing capture, then rinse/repeat the process with another HDMI device until you chance upon one that does work. Note that HDMI audio properties are also defined by EDID data, so unless you are using analogue output (or a DAC board) on the RPi the HDMI device you capture EDID data from can be important.

    LE10 uses 'arm' userspace whereas LE12 and newer use 'aarch64' userspace. The ChromeOS images are thus different in size as they are different images targetting different ChromeOS devices and architectures. As the issues with inputstream.helper seem to be resolve I would simply remove /storage/.kodi/cdm and allow it to install the correct widevine lib in the correct place.

    NB: having the correct widevine lib installed does not guarantee the Netflix add-on works. It seems some things related to the (no longer recent) DRM changes on the site still aren't understood and that impacts usage. That's a topic for the support thread in the Kodi forum and/or GitHub issue though, not here.

    Code
    2025-06-26 08:44:18.950 T:1123    debug <general>: CDRMUtils::OpenDrm - opened render node: /dev/dri/renderD128
    2025-06-26 08:44:18.950 T:1123    debug <general>: COffScreenModeSetting::InitDrm - initialized offscreen DRM
    2025-06-26 08:44:19.064 T:1123    debug <general>: CWinSystemGbm::InitWindowSystem - initialized DRM
    2025-06-26 08:44:19.064 T:1123     info <general>: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz

    The "initialized offscreen DRM" message means the kernel did not detect a DRM display device and Kodi started in offscreen mode and the fake resolution for offscreen mode just happens to be 720p.

    If the board is connected to the van's screen via HDMI, I would be investigating cables and adapters first.

    Are the modules for Wifi/BT/Lan generally included?

    Everything here is included https://github.com/LibreELEC/brcmfmac_sdio-firmware - and if whatever AP6256 is? is not there, it can be added. You can also follow https://wiki.libreelec.tv/how-to/add-firmware to fix missing firmware yourself while waiting for the embedded firmware to be updated (after you point us to the source).

    NB: Broadcom drivers are enabled. Realtek LAN modules are enabled (once in a while some vendor comes up with some other weird Ethernet arrangement, but that's rare).

    The OE patch added a driver for Spinelplus IR receivers, but it requires a bunch of USB ID's to be patched into common kernel files that are frequently updated, and because the original author never bothered to upstream the driver, the downstream patch needed constant rebasing against kernel changes. This task quickly becomes a problem chore, so the patch was eventually dropped.

    In the absence of a proper kernel driver you can fall back to using lirc, which still exists in LE but (IIRC) lircd is no longer started unless /storage/.config/lircd.conf exists. Step 2 and Step 4 from the article you linked should still be valid.