From 5d225f7b4986b5f7aa9daa6ffc57f2e2d66e6d8d Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Thu, 21 May 2026 09:43:19 +0200 Subject: [PATCH] fix(kiosk): install gstreamer1.0-gtk4 for paintablesink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kiosk's pipeline.rs needs the gtk4paintablesink element to bridge GStreamer → GTK4 Picture. Plugin ships in Debian package gstreamer1.0-gtk4 (separate from plugins-base/good/bad). Without it ElementFactory::make returns Err → create_camera_pipeline returns None → ensure_warm returns None → every camera cell renders "(no stream)". Add to both the pi-gen image stage and the setup-pi-kiosk.sh installer. --- .../stage-betterframe-client/00-install-packages/00-packages | 1 + deploy/scripts/setup-pi-kiosk.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/deploy/pi-gen/stage-betterframe-client/00-install-packages/00-packages b/deploy/pi-gen/stage-betterframe-client/00-install-packages/00-packages index 08c2f34..aa292a2 100644 --- a/deploy/pi-gen/stage-betterframe-client/00-install-packages/00-packages +++ b/deploy/pi-gen/stage-betterframe-client/00-install-packages/00-packages @@ -11,6 +11,7 @@ gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav +gstreamer1.0-gtk4 v4l-utils wlr-randr ca-certificates diff --git a/deploy/scripts/setup-pi-kiosk.sh b/deploy/scripts/setup-pi-kiosk.sh index 9fb42dd..2790226 100755 --- a/deploy/scripts/setup-pi-kiosk.sh +++ b/deploy/scripts/setup-pi-kiosk.sh @@ -146,6 +146,7 @@ if [ "${INSTALL_KIOSK}" = "1" ]; then libwebkitgtk-6.0-dev pkg-config build-essential \ gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad gstreamer1.0-libav \ + gstreamer1.0-gtk4 \ v4l-utils wlr-randr \ plymouth plymouth-themes librsvg2-bin