Hi LibreELEC team,
first of all, thank you for your fantastic work – LibreELEC runs great on the Raspberry Pi 5!
I'm currently working on a solution to capture the screen output (HDMI) for Ambilight-style applications like Hyperion. On the Pi 4, this was easily done using DRM framebuffer access.
However, on the Pi 5 with the new VC6 graphics stack, it seems that access is blocked or restricted.
System:
- LibreELEC 12.0.2 (aarch64)
- Raspberry Pi 5
- Live TV via TVHeadend (e.g. ARD HD)
- HDMI output: 1920×1080p @ 50Hz
What works:
- GUI layers (e.g. Kodi menu) can be accessed via DRM plane → screenshots possible
- Kodi JSON-RPC (GUI.Screenshot) works, but only captures GUI
What does not work:
- During fullscreen video (e.g. ARD HD), all DRM planes have fb_id = 0
- No writeback connector appears in modetest
- drmModeGetFB() fails with EINVAL or EOPNOTSUPP
- EGL/GBM offscreen capture fails (eglCreatePbufferSurface)
Feature request:
Would it be possible to:
- expose a DRM writeback connector for the Pi 5 in future versions?
- or alternatively allow scanout framebuffer access (e.g. via plane export, dumb clone, or V4L2)?
This would allow full-screen screen grabbing on the Pi 5 just like we had on the Pi 4, and restore compatibility for Hyperion and similar tools.
Happy to provide test code, logs or example screenshots if useful.
Thanks again for your great work and support!
Best regards,
Henry