GLMARK2-ES2-DRM(1)
π GLMARK2-ES2-DRM π
okay bestie, so this is the manual page for glmark2-es2-drm, living in the General Commands Manual section. It's a whole benchmark suite and she's iconic for it. Let's get into it β¨
πΈ NAME πΈ
glmark2-es2-drm β OpenGL (ES) 2.0 benchmark suite π
π¦ SYNOPSIS π¦
glmark2-es2-drm [options]
β¨ DESCRIPTION β¨
So like, glmark2-es2-drm is a benchmark for OpenGL (ES) 2.0. The way that she's built, she only uses the subset of the OpenGL 2.0 API that's compatible with OpenGL ES 2.0 β no cap, that's the whole vibe. π«Ά
π OPTIONS π
okay here come the flags, hydrate before reading, there's a lot and they're all important:
-b,--benchmark BENCHβ a benchmark to run, formatted as'scene(:opt1=val1)*'. You can use this option multiple times π-f,--benchmark-file FILEβ load benchmarks to run from a file that contains a list of benchmark descriptions, one per line. Also usable multiple times πΈ--validateβ run a quick output validation test instead of running the benchmarks β--data-path PATHβ the path to glmark2 models, shaders and textures π--frame-end METHODβ how to end a frame. options:[default,none,swap,finish,readpixels]π--swap-mode MODEβ how to swap a frame. all modes are supported only in the DRM flavor, and'fifo'is available in all flavors to force vsync. options:[default,immediate,mailbox,fifo]π₯--off-screenβ render to an off-screen surface π--visual-configβ the visual configuration to use for the rendering target:Β΄id=ID:red=R:green=G:blue=B:alpha=A:buffer=BUF:stencil=STENCIL:samples=SAMPLES'. The parameters may be defined in any order, and any omitted parameters assume a default value of'0'(id, samples),-1(stencil) or'1'(red, green, blue, alpha, buffer). If'id'is set to a non-zero value, all other parameters are ignored π--good-configβ require a config that meets all the requested component requirements (see--visual-config) π--reuse-contextβ use a single context for all scenes (by default, each scene gets its own context) π§-s,--size WxHβ size of the output window (default:800x600) π--fullscreenβ run in fullscreen mode (equivalent to--size -1x-1) π--results RESULTSβ the types of results to report for each benchmark, as a':'separated list. options:[fps,cpu,shader]π--results-file RESULTS-FILEβ the file to save the results to, in the format determined by the file extension. options:[csv,xml]πΎ--winsys-options OPTSβ a list of'opt=value'pairs for window system specific options, separated by':'πͺ-l,--list-scenesβ display information about the available scenes and their options π--show-all-optionsβ show all scene option values used for benchmarks (only explicitly set options are shown by default) β¨--run-foreverβ run indefinitely, looping from the last benchmark back to the first π--annotateβ annotate the benchmarks with on-screen information (same as-b :show-fps=true:title=#info#) π-d,--debugβ display debug messages π--versionβ display program version π-h,--helpβ display help π
π₯ BENCHMARKS π₯
glmark2-es2-drm offers a suite of scenes that can be used to measure many aspects of OpenGL (ES) 2.0 performance. The way in which each scene is rendered is configurable through a set of options. To get the available scenes and their acceptable options you can use the -l, --list-scenes command line option. π
In glmark2-es2-drm, a benchmark is defined as a scene plus a set of option values. You can specify the list and order of the benchmarks to run by using the -b, --benchmark command line option (possibly multiple times). If no benchmarks are specified, a default set of benchmarks is used. If a benchmark option is not specified it assumes its default value (listed with -l, --list-scenes). π
As a special case, a benchmark description string is allowed to not contain a scene name (i.e. to start with ':'). In this case, any specified option values are used as the default values for benchmarks following this description string. π¦
π EXAMPLES π
To run the default benchmarks:
glmark2-es2-drm
To run a benchmark using scene 'shading' with a 'duration' of '5.0' seconds and 'shading' of type 'phong':
glmark2-es2-drm -b shading:duration=5.0:shading=phong
To run a series of benchmarks use the -b, --benchmark command line option multiple times:
glmark2-es2-drm -b shading:duration=5.0 -b build:use-vbo=false -b texture
To set default option values for benchmarks:
glmark2-es2-drm -b :duration=2.0 -b shading -b build -b :duration=5.0 -b texture
π«Ά AUTHOR π«Ά
glmark2-es2-drm was written by Alexandros Frantzis and Jesse Barker, based on the original glmark by Ben Smith. absolute legends, we love them for it π
and that's the whole page bestie π this is glmark2-es2-drm version 2023.01, dated January 2023 β go forth and benchmark, you've got this, mwah π
β¨π
π¦ where this page comes from
- fedora 43: glmark2 2023.01^20250221gitcebbb63-2.fc43 Β· GPL-3.0-or-later AND MIT
- fedora 44: glmark2 2023.01^20250221gitcebbb63-3.fc44 Β· GPL-3.0-or-later AND MIT
- opensuse-leap 16.0: glmark2 20250212-bp160.1.10 Β· GPL-3.0-only
- opensuse-leap 16.0: glmark2 20250212-bp160.1.10 Β· GPL-3.0-only
- opensuse-leap 16.0: glmark2 20250212-bp160.1.10 Β· GPL-3.0-only
- opensuse-leap 16.0: glmark2 20250212-bp160.1.10 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms