Files
Mihawk d200efa4c6 Prove the driver's display sizes on the console with a display modes test
The Vulkan driver's display (RADV's VideoOut WSI, PS5_Mesa dc82d01, pinned by
PS5_Vulkan ab37acd) now offers 3840x2160, 2560x1440 and 1920x1080 instead of
4K alone. src/display_modes_ps5.cpp, armed by /app0/display-modes-test.txt
(tools/run-title.sh --display-modes-test[=frames]), makes a device on the
title's driver before RetroArch does and presents every mode in turn, then the
first again, each with a pattern a person can judge: two shades of one colour a
size split at the middle and a white border on every edge. Each mode's result
is a line of /app0/display-modes-test.jsonl; RetroArch then starts as usual.
RetroArch's default (the largest mode) is unchanged; video_fullscreen_x/y
selects a smaller one.

Verified:
  TMPDIR=build/tmp bash tools/verify.sh -> PASS (format unit build integration
    evidence), building against PS5_Vulkan's archive at dc82d01 (build
    8128ea84...); the host test also ran armed against a host build of the
    WSI (PS5_WSI_MODES_ICD): every mode presented.
  tools/run-title.sh --no-build --display-modes-test=180 --watch 60 on the
    base PS5 (13.40, 1080p screen), build ce576f3d (same driver revision):
    sets 0-2 registered (buffers 0-14), 180 frames each in 2.96-3.00 s,
    3840x2160 again from set 0, PASS. The owner saw each size fill the TV,
    border on all four edges and split centred, and RetroArch steady after.
  A first run (PS5_Mesa 3321f8f) also offered 1280x720: VideoOut refused its
    set at buffers 15-19 (0x80290001) and RetroArch flickered after it, not
    alone; the size was left out of the merged driver.
Evidence: evidence/display-modes/ (python3 tools/evidence.py compare)
2026-10-04 14:22:07 -04:00

6 lines
458 B
JSON

{"width":3840,"height":2160,"refresh_millihertz":59940,"frames":180,"images":3,"seconds":2.956,"result":"ok"}
{"width":2560,"height":1440,"refresh_millihertz":59940,"frames":180,"images":3,"seconds":2.990,"result":"ok"}
{"width":1920,"height":1080,"refresh_millihertz":59940,"frames":180,"images":3,"seconds":2.997,"result":"ok"}
{"width":3840,"height":2160,"refresh_millihertz":59940,"frames":180,"images":3,"seconds":2.994,"result":"ok"}
{"result":"PASS"}