- Drop --use-gl=egl (disabled the GPU on Chromium 149) and let Chromium pick the default ANGLE/GLES backend with --ignore-gpu-blocklist -> hardware WebGL2. - Launch kiosk via 'cage -- bash kiosk.sh' so a non-executable bit after rsync no longer breaks startup. - output.js reports gpuInfo (webgl2 + renderer) on load for remote diagnostics. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
577 B
Bash
Executable File
14 lines
577 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Launch Chromium fullscreen (kiosk) on the Pi's HDMI, pointed at the output page.
|
|
URL="${1:-http://localhost:8080/output.html}"
|
|
BIN="$(command -v chromium-browser || command -v chromium || echo chromium)"
|
|
exec "$BIN" \
|
|
--kiosk --noerrordialogs --disable-infobars --no-first-run \
|
|
--autoplay-policy=no-user-gesture-required \
|
|
--disable-translate --disable-features=Translate \
|
|
--check-for-update-interval=31536000 \
|
|
--overscroll-history-navigation=0 \
|
|
--ozone-platform=wayland \
|
|
--ignore-gpu-blocklist \
|
|
"$URL" >/tmp/chromium-kiosk.log 2>&1
|