Display, touch and standby
Diagnose a black display, unresponsive touch, standby, screensaver and wrong display profiles.
A dark display is not automatically a fault. Distinguish between screensaver, display off, standby and a touch interface that has not started.
1. Recognise the current state
| Observation | Check first |
|---|---|
| Screensaver running | Tap once; the first touch only ends the screensaver. |
| Music playing, screen black | Idle stage "display off" under Display & power. |
| No sound, display dark, power button responds | Standby is possible; a short press wakes the box. |
| Backlight faintly visible | Not every display can switch its backlight off completely. |
| The interface never appears | Check the display profile, touch/UI service and boot logs. |
2. Touch does not respond
- Check that the touch belongs to the selected hardware and is connected correctly.
- Check the display profile under Display & touch; changes can need a restart.
- An HDMI picture with separate USB touch needs both connections.
- With DSI displays, the supported display revision and driver do not necessarily match.
3. Screensaver or standby causes load
When the "display off" or "standby" stage is reached correctly, the pixel-worm calculations of the screensaver should have stopped. If the CPU load stays high, check the load under System and note the selected idle stages and version number. Display & power explains the order.
4. Diagnosis via Admin and SSH
If the box is still reachable on the network, check the UI status under System & Maintenance → Touch UI. With SSH access:
systemctl status mupibox-ui --no-pager
journalctl -u mupibox-ui -b --no-pager -n 100
systemctl status mupibox-ng --no-pager
journalctl -u mupibox-ui -b --no-pager | grep MUPIBOX_TOUCH
cat /proc/bus/input/devices
At startup, MuPiBox briefly waits for DSI touch device enumeration. MUPIBOX_TOUCH_READY means an input device was detected; MUPIBOX_TOUCH_NOT_READY means the panel was available but no touchscreen had appeared yet. A missing I²C touch controller cannot reliably be repaired by restarting Qt alone. If this happens after a warm software reboot but not after a complete power-off, compare the two kernel logs when reporting the bug.
Only restart services after reading the messages, so the cause stays traceable. Devices without a physical power button are not suitable for the same standby flow.
On a Raspberry Pi 4/5 with the official Touch Display 2 (5 or 7 inches, DSI), first select the correct panel profile and DSI port under Hardware → Display. The panel's native resolution is 720×1280 (portrait); newer MuPiBox versions rotate the Qt touch scene into landscape independently.
If an older rotation setting has left the screen black, inspect the kernel boot settings over SSH:
cat /boot/firmware/cmdline.txt
for d in /sys/class/drm/card*-DSI-*; do echo "=== $d ==="; cat "$d/status" "$d/modes"; done
video=DSI-2:720x1280d,rotate=270 means output disabled (d); an enabled output must use e. The corrected MuPiBox can recover the display using Hardware → Display → Enable display output → Save, without manually editing the boot file. The framebuffer orientation and the Qt touch scene orientation are separate settings.
On older versions, changing d to e is an emergency workaround only: back up the boot file first and verify the exact DSI connector. Do not blindly use DSI-2 on a Pi that reports DSI-1. Reboot after changing the kernel arguments. The <https://www.kernel.org/doc/html/latest/fb/modedb.html> reference explains the output flags.
6. Help and hardware details
When reporting, state: Pi model, display manufacturer, display revision, connection type (DSI/HDMI), touch connection, configured profile and whether picture or touch is affected separately. See Logs.