HDMI and DisplayPort Displays
This guide explains how to connect a display to the board, configure it where needed, verify that it is detected, and render content on it.
The Grinn GenioBoard-700 drives HDMI and DisplayPort monitors at the same time. No Device Tree Overlay or image extension is needed, because both interfaces are enabled in the default image.
Connect the Displays
Two cables and two monitors are required: one connected through HDMI and one through DisplayPort.
- Plug an HDMI cable into the board's HDMI Type-A connector and the first monitor.
- Plug a DisplayPort cable into the board's DisplayPort connector and the second monitor.
- Select the matching input source on each monitor.
- Power on the board.
Both interfaces are hot-pluggable. Connecting both monitors before power-on is still recommended, because Weston then detects their preferred resolutions on its first start.
Verify the Display
On the host, enter the target shell:
adb shell
In the target shell, list the DRM connectors and their status:
for status in /sys/class/drm/card*-*/status; do
connector=${status%/status}
printf '%s: %s\n' "${connector##*/}" "$(cat "$status")"
done
The connector the display is attached to has to be reported as connected, for
example:
card0-DP-1: connected
card0-HDMI-A-1: connected
If the connector is missing or reported as disconnected, check the
connection as described above.
Keep this target shell open for the examples below.
Use Both Displays
Connect a USB mouse to the board and open two terminal windows on the host. Start an ADB shell in each terminal:
adb shell
adb shell
In each ADB shell, point Wayland clients at the running Weston compositor:
WAYLAND_SOCKET=$(find /run/user -mindepth 2 -maxdepth 2 -type s -name 'wayland-*' -print -quit)
export XDG_RUNTIME_DIR="${WAYLAND_SOCKET%/*}"
export WAYLAND_DISPLAY="${WAYLAND_SOCKET##*/}"
Use the mouse to click the first monitor, then run the following command in Terminal 1. Weston opens the full-screen client on the monitor that has mouse focus:
gst-launch-1.0 -v videotestsrc pattern=ball is-live=true \
! video/x-raw,format=NV12 \
! waylandsink fullscreen=true
Next, click the second monitor with the mouse and run this different animation in Terminal 2:
gst-launch-1.0 -v videotestsrc pattern=snow is-live=true \
! video/x-raw,format=NV12 \
! waylandsink fullscreen=true
The moving ball on one monitor and the animated snow pattern on the other
confirm that both outputs can show independent Wayland clients. Press Ctrl+C
in either terminal to stop its animation.
If both connectors are reported as connected but the test pattern does not
appear on both displays, use monitors that support the same resolution and
refresh rate. Different preferred display modes can prevent the prebuilt image
from driving both outputs as expected.