Files
mac_linuxgpu/scripts/test-display-test.sh
geramyloveless 2d77cee5e9 scripts: display-test.py, the hardware display test runner
display-test.py drives selector 84 through an observer client:

  probe [--edid]      every connector with status, mode count, preferred
                      mode and EDID size; --edid reads each connected
                      EDID from sysfs (drm/cardN/cardN-<conn>/edid) and
                      decodes vendor, product, serial, name, size and
                      preferred timing
  show [--connector NAME] [--pattern bars|white|gradient] [--seconds N]
                      the pattern on every connected output, or one;
                      with --seconds it is turned off afterwards, also on
                      Ctrl-C
  off                 the recorded configuration restored

--init brings the GPU up through a session client held for the run (a
show then defaults to 30 seconds, since the session ends with the
script). Errors name the failing step's errno; nothing else is tried.
test-display-test runs it against a fake selector.
2026-10-03 14:08:36 -07:00

6 lines
185 B
Bash
Executable File

#!/usr/bin/env bash
# display-test.py (the hardware display test runner) against a fake selector.
set -euo pipefail
cd "$(dirname "$0")/.."
python3 -B linuxu/tests/test_display_test.py