# ScreenTest **Repository Path**: joon-lee/screen-test ## Basic Information - **Project Name**: ScreenTest - **Description**: 用于屏幕颜色和灰阶的测试。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-20 - **Last Updated**: 2026-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Screen test Test screen color and grayscale functions in Linux system. ### Build #### 1.meson build `meson setup build-meson` `ninja -C build-meson` #### 2.cmake build `mkdir build && cd build` `cmake ../` `make` #### 3.deb build `sudo apt build-dep .` 安装编译依赖。 `dpkg-buildpackage -us -uc` 编译并生成deb包。 ### Command - display-test-drm #drm display - display-test-x11 #x11 display - display-test-wayland #wayland display ``` Options: -w, --window WxH Display in a centered resizable window The image scales with the window and keeps aspect ratio Black borders are shown when needed -c, --colorbar [DIR] Display color bars, DIR is horizontal or vertical Default direction is vertical -l, --graybar [bar] [DIR] Display grayscale test pattern Default is smooth grayscale gradient Optional 'bar' switches to grayscale bars Default direction is vertical -r, --red Select red -g, --green Select green -b, --blue Select blue -p, --pm5544 Display Philips-style test card -o, --colorwheel Display gradient color wheel -s, --radial-gradient [circle] Display white-center radial color gradient Optional 'circle' limits the gradient to a circle -t, --time SEC Set switch interval in seconds (default: 1) Only used when two or three colors are selected -v, --version Show version and build time information -h, --help Show this help message and exit Behavior: -c displays a static color bar test pattern. -l displays a static grayscale test pattern. -l bar displays grayscale bars. -p displays a static Philips-style test card. -o displays a static gradient color wheel. -s displays a white-center radial color gradient. One of -r/-g/-b displays a solid color. Two or three of -r/-g/-b cycle through the selected colors in argument order. -c, -l, -p, -o and -s cannot be combined with -r, -g, or -b. -c, -l, -p, -o and -s cannot be combined with each other. Without -w the test is shown fullscreen. ```