User Tools

Site Tools


ubuntu:gpu:benchmark_the_gpu:gl_mark_2

Ubuntu - GPU - Benchmark the GPU - GL Mark 2

glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.

  • glmark offers a rich set of tests that concern different aspects of the GPU performance (buffering, building, lighting, texturing etc), allowing for a much more comprehensive and meaningful test.
  • Each test is conducted for 10 seconds and the frame rate is counted individually.
  • In the end, users get a performance score based on all previous tests.

Install glmark2

sudo apt install glmark2

Run glmark2

glmark2
 
or
 
glmark2 --fullscreen

returns:

=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     AMD
    GL_RENDERER:   Radeon RX 7900 XTX (gfx1100, LLVM 15.0.3, DRM 3.48, 5.19.0-45-generic)
    GL_VERSION:    4.6 (Compatibility Profile) Mesa 22.3.0-devel
=======================================================
[build] use-vbo=false: FPS: 17991 FrameTime: 0.056 ms
[build] use-vbo=true: FPS: 27433 FrameTime: 0.036 ms
[texture] texture-filter=nearest: FPS: 25381 FrameTime: 0.039 ms
[texture] texture-filter=linear: FPS: 26349 FrameTime: 0.038 ms
[texture] texture-filter=mipmap: FPS: 26629 FrameTime: 0.038 ms
[shading] shading=gouraud: FPS: 27731 FrameTime: 0.036 ms
[shading] shading=blinn-phong-inf: FPS: 27012 FrameTime: 0.037 ms
[shading] shading=phong: FPS: 26765 FrameTime: 0.037 ms
[shading] shading=cel: FPS: 26091 FrameTime: 0.038 ms
[bump] bump-render=high-poly: FPS: 25758 FrameTime: 0.039 ms
[bump] bump-render=normals: FPS: 26655 FrameTime: 0.038 ms
[bump] bump-render=height: FPS: 27324 FrameTime: 0.037 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 27305 FrameTime: 0.037 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 25512 FrameTime: 0.039 ms
[pulsar] light=false:quads=5:texture=false: FPS: 25338 FrameTime: 0.039 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 14197 FrameTime: 0.070 ms
[desktop] effect=shadow:windows=4: FPS: 14024 FrameTime: 0.071 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 2035 FrameTime: 0.491 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 2270 FrameTime: 0.441 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 2673 FrameTime: 0.374 ms
[ideas] speed=duration: FPS: 8738 FrameTime: 0.114 ms
[jellyfish] <default>: FPS: 21424 FrameTime: 0.047 ms
[terrain] <default>: FPS: 6460 FrameTime: 0.155 ms
[shadow] <default>: FPS: 21499 FrameTime: 0.047 ms
[refract] <default>: FPS: 14145 FrameTime: 0.071 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 28217 FrameTime: 0.035 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 27472 FrameTime: 0.036 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 25837 FrameTime: 0.039 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 27857 FrameTime: 0.036 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 26541 FrameTime: 0.038 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 28143 FrameTime: 0.036 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 27060 FrameTime: 0.037 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 27033 FrameTime: 0.037 ms
=======================================================
                                  glmark2 Score: 21663 
=======================================================

Variants

glmark2-drm
glmark2-es2
glmark2-es2-wayland
glmark2-wayland

NOTE:

  • glmark2-drm: Launches the benchmark as a native DRM/GBM openGLES application.
  • glmark2-es2: Launches the glmark2 benchmark as a openGLES application. OpenGL ES 2.0 X11 benchmark.
  • glmark2-es2-wayland: Launches the glmark2 benchmark as a Wayland client. OpenGL ES 2.0 Wayland benchmark.
  • glmark2-wayland: Launches the glmark2 benchmark as a Wayland client. OpenGL 2.0 Wayland benchmark.
  • es2: OpenGL for Embedded Systems (OpenGL ES or GLES).
ubuntu/gpu/benchmark_the_gpu/gl_mark_2.txt · Last modified: 2023/06/27 09:21 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki