mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-22 23:57:31 -10:00
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.
6 lines
185 B
Bash
Executable File
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
|