最終更新:2026-03-03 (火) 10:02:06 (5d)
modetest
Top / modetest
modetest -c
help
usage: modetest [-acDdefMoPpsCvrw] Query options: -c list connectors -e list encoders -f list framebuffers -p list CRTCs and planes (pipes) Test options: -P <plane_id>@<crtc_id>:<w>x<h>[+<x>+<y>][*<scale>][@<format>] set a plane, see 'plane-topology' -s <connector_id>[,<connector_id>][@<crtc_id>]:mode[@<format>] set a mode, see 'mode-topology' where mode can be specified as: <hdisp>x<vdisp>[-<vrefresh>] <hdisp>,<hss>,<hse>,<htot>,<vdisp>,<vss>,<vse>,<vtot>-<vrefresh> #<mode index> -C test hw cursor -v test vsynced page flipping -r set the preferred mode for all connectors -w <obj_id>:<prop_name>:<value> set property, see 'property' -a use atomic API -F pattern1,pattern2 specify fill patterns -S <random seed> specify seed of noise patterns -o <desired file path> Dump writeback output buffer to file Generic options: -d drop master after mode set -M module use the given driver -D device use the given device Default is to dump all info. Plane Topology is defined as: plane-topology ::= plane-id '@' crtc-id ':' width 'x' height ( <plane-offsets> )? ; plane-offsets ::= '+' x-offset '+' y-offset ( <plane-scale> )? ; plane-scale ::= '*' scale ( <plane-format> )? ; plane-format ::= '@' format ; Mode Topology is defined as: mode-topology ::= connector-id ( ',' connector-id )* ( '@' crtc-id )? ':' <mode-selection> ( '@' format )? ; mode-selection ::= <indexed-mode> | <named-mode> | <custom-mode> ; indexed-mode ::= '#' mode-index ; named-mode ::= width 'x' height ( '-' vrefresh )? ; custom-mode ::= hdisplay ',' hsyncstart ',' hsyncend ',' htotal ',' vdisplay ',' vsyncstart ',' vsyncend ',' vtotal '-' vrefresh ; Property is defined as: property ::= object-id ':' property-name ':' value ;

