Skip to content

Commit d781905

Browse files
authored
feat: Extend monitor check tool, vsync and response time tests (#331)
Adding two more tests that have been proven very useful for debugging monitor issues that caused problems with IIDX. The vsync test flickers a text snippet between red and cyan on every even and uneven frame. If vsync works correctly, the text appears grey to the human eye. If there are issues like re-displaying a previous frame or a dropped frame, this appears as the text rendering red or cyan. The response time test scrolls two simple blocks/lines vertically to check if they creating ghosting/smearing on the display. The tool now supports an interactive and command line mode. Interactive mode is useful for running different tests on the setup while the command line mode can be used to ran these tests with fixed parameters and for a fixed amount of time, e.g. in a shell script, for automation purpose. The tool still has a few obvious imperfections like scaling issues on different resolutions. Considering the basic functionality is given, further improvements can follow in future iterations.
1 parent e0ff83f commit d781905

21 files changed

Lines changed: 2353 additions & 734 deletions

src/main/d3d9-monitor-check/Module.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ libs_d3d9-monitor-check := \
1010
util \
1111

1212
src_d3d9-monitor-check := \
13+
cmdline.c \
14+
font.c \
15+
gfx.c \
16+
input.c \
17+
interactive.c \
1318
main.c \
19+
menu.c \
20+
refresh-rate-test.c \
21+
response-time-test.c \
22+
vsync-test.c

0 commit comments

Comments
 (0)