-
Notifications
You must be signed in to change notification settings - Fork 36
Troubleshooting
Yash Mulgaonkar edited this page Jul 24, 2026
·
10 revisions
On Raspberry Pi OS Bookworm with labwc/Wayland, Xwayland usually delivers mouse events for the panel, not SDL FINGER* events. If /etc/flightscnr.env has TOUCH_USE_FINGER_EVENTS=True, taps can be dropped on older builds:
sudo sed -i 's/^TOUCH_USE_FINGER_EVENTS=.*/TOUCH_USE_FINGER_EVENTS=False/' /etc/flightscnr.env
sudo systemctl restart flightscnrCurrent builds also fall back to the mouse path automatically when no FINGER* events arrive (see issue #14).
Tracked in issue #21.
Pinch only works when SDL delivers multi-touch as FINGERDOWN / FINGERMOTION / FINGERUP. That is independent of TOUCH_USE_FINGER_EVENTS (which only chooses the tap/swipe path). Under Xwayland, touch is often pointer-emulated as a single mouse cursor — mouse events cannot represent two fingers, so pinch is impossible on that path. Check:
sudo journalctl -u flightscnr -b | grep -E 'Touch:|pinch:|FINGER'- If you never see
FINGER events detected/pinch: session ARMED, the display stack is not sending multi-touch to SDL. - Keep
TOUCH_USE_FINGER_EVENTS=Falsefor reliable taps under Xwayland; flipping it toTruedoes not inventFINGER*events. - Change range without pinch: on-device Settings → Options → Range (or the portal radar range control).
- Free finger-drag pan of the map is not a radar gesture (swipe changes screens). Use Settings → Recenter for map pan calibration.
- Optional debug: set
TOUCH_DEBUG=1in/etc/flightscnr.env, restart, pinch on radar, and inspectjournalctl -u flightscnr -f | grep touch.
- Confirm the correct overlay in
config.txt//boot/firmware/config.txt(see Installation). - On Pi 5 / Compute Module, try the DSI0 overlay line instead of DSI1.
- Power off fully before reseating the DSI ribbon.
- Confirm the Pi is on the same LAN and try
http://<hostname>.local(default hostname from Imager). - Check the service:
sudo systemctl status flightscnrandsudo journalctl -u flightscnr -f. - Port defaults to 80; override with
WEB_PORTin/etc/flightscnr.env.
sudo journalctl -u flightscnr -f
sudo journalctl -u flightscnr -b | grep -E 'Touch:|pinch:|FINGER'