Posts by HiassofT

    I think I know now what's going on and it does look like a kodi bug to me:

    Even with a SDR display connected (which doesn't report support for BT2020) kodi sets the Colorspace connector property to BT2020 - and my HDFury also shows that in the received AVI infoframe.

    Code
    2026-06-15 19:59:50.957 T:935     debug <general>: virtual void KODI::WINDOWING::GBM::CWinSystemGbm::SetColorimetry(const VideoPicture*): setting connector colorspace to BT2020_RGB (source BT2020_YCC)

    But as the connector doesn't have the HDR_OUTPUT_METADATA property kodi it detects it as a SDR display and performs tonemapping:

    Code
    2026-06-15 19:59:50.957 T:935     debug <general>: LinuxRendererGLES::Configure: HDR passthrough: off
    ...
    2026-06-15 19:59:51.210 T:935     debug <general>: GLES: Requested render method: 0
    2026-06-15 19:59:51.210 T:935     debug <general>: GLES: using shader format: NV12 red/red/green
    2026-06-15 19:59:51.210 T:935     debug <general>: GLES: using tonemap method: reinhard
    2026-06-15 19:59:51.210 T:935      info <general>: GLES: Selecting YUV 2 RGB shader
    2026-06-15 19:59:51.210 T:935     debug <general>: GLES: using shader format: NV12 red/red/green
    2026-06-15 19:59:51.210 T:935     debug <general>: GLES: using tonemap method: reinhard

    I'm not familiar with the inner details of kodi's tonemapping implementation but I highly suspect that will do both PQ->gamma EOTF transformation and also BT2020->BT709 colorspace transformation.

    So I guess kodi outputs a standard BT709/gamma SDR image, but signals BT2020 colorspace which doesn't quite match.

    smp could you have a closer look at the kodi code?

    so long,

    Hias

    The log shows that HDR passthrough is now enabled. If the TV does doesn't switch to HDR mode then the theory that HDMI 1.4 can output HDR metadata is wrong.

    Just for the kicks I gave your build a try on an ancient gen6 system and got the same result:

    The HDR_OUTPUT_METADATA connector property now appears on the HDMI connector, and kodi set it, but I get the same kernel splat as in the OP's log and my HDFury Vrroom didn't report any HDR metadata - so the infoframe wasn't generated (as expected from the kernel splat)

    so long,

    Hias

    Well, about 1 month ago heitbaum reported an issue with the xe driver during video playback with pretty much the same log message (in our slack channel):

    Code
    May 15 20:51:44.895554 nuc12 kernel: xe 0000:00:02.0: [drm] *ERROR* [CRTC:149:pipe A][PLANE:33:plane 1A] fault (CTL=0x92001000, SURF=0x4000000, SURFLIVE=0x4000000)

    Your post rang a bell, and I guess that pretty much proves that the Xe driver is considered to be experimental for gen1 Xe.

    so long,

    Hias

    IIRC the essential bit in the dtblob for ethernet is that you provide a (25MHz?) clock on GPCLK1

    The dtblob dts files for CM1 and CM3 that we shipped in LE are here:

    GitHub - LibreELEC/slice-firmware: BCM270x firmware related stuff for Slice
    BCM270x firmware related stuff for Slice. Contribute to LibreELEC/slice-firmware development by creating an account on GitHub.
    github.com

    And you can get the official RPi dts file from here (you'd need to drop all blocks except for the pins_cm4s block and then add pin and clock setup for GPCLK1):

    firmware/extra/dt-blob.dts at master · raspberrypi/firmware
    This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware. -…
    github.com

    The RPi forums is probably the best place to ask about details

    so long,

    Hias

    This is somewhat expected, the xe driver is for the Xe2 (and later) GPUs.

    Since you have a first gen Xe you need to use the i915 driver - just remove the force_probe options from your command line, the kernel will then automatically use the correct driver.

    Note that the kernel config explicitly mentions that support for first gen Xe in the xe driver is experimental:

    linux/drivers/gpu/drm/xe/Kconfig at master · torvalds/linux
    Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.
    github.com
    Code
    config DRM_XE
        ...
    	help
    	  Driver for Intel Xe2 series GPUs and later. Experimental support
    	  for Xe series is also available.

    so long,

    Hias

    H264 decoding, deinterlacing and analog audio output are all handled by the RPi's VC GPU - and deinterlacing HD video plus audio output is just too much.

    Go to Settings->Player, set settings level to Expert and disable "Allow hardware deinterlace with DRM PRIME".

    The RPi will then do deinterlacing in software (using BWDIF which will be higher quality, too) and free up enough GPU cycles for analog audio out.

    I strongly recommend though staying away from the on-board analog output on RPis, even a 3 EUR/USD USB audio adapter will have significantly better audio quality and cause fewer issues.

    so long,

    Hias

    The "throttled" message would be a thermal issue not a PSU issue. You're thinking of "undervolt" perhaps.

    The throttled bits report both undervoltage and temp limit throttling, see eg [How to] Interpret RPi vcgencmd get_throttled

    When it comes to USB it gets a bit more complicated:

    The USB ports on RPi4 have a total 1.2A current limit (all ports combined) and if that's exceeded there'll be a voltage drop on the USB ports - but that won't show up in the throttled bits as long as the power supply can deliver the 1.2A for USB plus the power needed by RPi.

    If there's a voltage drop on the USB ports pretty much anything can happen. Depending on the USB device it might lock up, go into a (temporary) error state resulting in kernel log errors or silently corrupt data on the USB HDD/SSD.

    As a rule of thumb don't connect more than a single bus-powered USB HDD/SSD/DVD to the RPi, use a powered USB hub in between - and if you see odd issues connect all USB devices to the powered USB hub.

    so long,

    Hias

    I've managed to identify the culprit, it's our custom gputemp script which gets called whenever you open the player process info overlay or the system info window.

    I've created a PR with the fix:

    Generic: gputemp: use nvidia-smi only if an Nvidia card is present by HiassofT · Pull Request #11414 · LibreELEC/LibreELEC.tv
    Running nvidia-smi on a non-nvidia system causes a long delay as nvidia-smi will try to load the nvidia kernel driver if it's not present.
    github.com

    so long,

    Hias

    Can you please test with the 20260511 and 20260512 nightlies and report back if resolution switching works with those?

    https://test.libreelec.tv/13.0/Generic/Generic/LibreELEC-Generic.x86_64-13.0-nightly-20260511-f6935c9.img.gz
    https://test.libreelec.tv/13.0/Generic/Generic/LibreELEC-Generic.x86_64-13.0-nightly-20260512-e916680.img.gz

    I have a gut feeling that the issue might be caused by the Intel hack-patch that was added in the 20260512 nightly.

    If you get the garbled screen in both nightlies please test with earlier nightlies between 20260504 and 20260511 and post the first version where the issue occurs.

    so long,

    Hias

    LibreELEC doesn't use wayland (and also not pipewire) so the link you mentioned is not relevant to LE.

    Currently there's no reliable way to use it without an external grabber, there's an experimental drm-vc4-grabber but it has known issues (kodi crash after a few seconds) and a PR that's supposed to fix those is in limbo for quite a long time now:

    GitHub - rudihorn/drm-vc4-grabber: A screen grabber using the DRM for the raspberry pi.
    A screen grabber using the DRM for the raspberry pi. - GitHub - rudihorn/drm-vc4-grabber: A screen grabber using the DRM for the raspberry pi.
    github.com
    Fix DRM resource leaks causing Kodi crashes and replace red init colour by joopdo · Pull Request #34 · rudihorn/drm-vc4-grabber
    Send warm ambient color instead of the ugly 'warning' red Fix DRM resource leaks causing Kodi crashes
    github.com

    I haven't tested this software grabber yet, instead I use a HDMI splitter plus grabber (which cost me about 40 or 50 EUR total, can't remember) with HyperHDR on my RPi5.

    so long,

    Hias

    Now shall I install current official Team LibreELEC 12.80.7.0 or (and test again) or wait for a higher next version?

    No, wait for the next version, it'll be 12.80.7.1 and Kodi should auto-update to it when it hits our repo.

    It usually takes a day or two from PR merge until addons are uploaded to our repos.

    so long,

    Hias

    If you want to play around with the remote:

    Simply "systemctl mask eventlircd" and disable the eventlircd udev rule by creating an empty .config/udev.rules.d/98-eventlircd.rules file - then reboot.

    If you configure the "OK" button to send "enter" (via ir-keytable) the up/down/left/right buttons will work like cursor keys and "OK" like the enter key on a keyboard.

    so long,

    Hias