Glmark2
glmark2 is a rather simple free OpenGL ES 2.0 graphics performance benchmark tool for GNU/Linux. It has a variety of "scenes" it renders in order to give you a broad ball-park idea of your graphics performance. It really does not tell you very much at all on modern computers.
Getting and running glmark2[edit]
You can install it with dnf -y install glmark2
on Fedora and by clicking here to install on Ubuntu. It is not available on Gentoo Linux, so Gentoo users will have to compile it themselves.
It is recommended that you run glmark2 via terminal, as it outputs info only to the terminal. You will not get any graphical window with results or other feedback from glmark2 once the benchmark is done if you run glmark2 using your desktop environment's app menu or other GUI-based methods.
glmark2 version 2021-02 executed with glmark2 -s 1920x1000 -f refract
glmark2 will by default render in a tiny 800x600 window. You may want to use the -s
argument to change that to something like glmark2 -s 1920x1050
— however, do keep in mind that the benchmark results will vary greatly depending on the resolution you run it at (800x600 will produce a much higher score than 1920x1050 will).
glmark2, after drawing simple animations on the screen — while never loading a GPU like the RX570 more than 25% at 1920x1080 — will have filled the terminal with some results which do not really tell you much. The frames-per-second numbers will be in the many hundreds if you have a relatively modern graphics card/chip. glmark2 does produce a glmark2 Score, but being apparently only FPS-based, this score will also not tell you much. For example, an AMD Radeon™ RX 570 at 1920x1050 resolution scores 528, while an Intel HD 5500 integrated GPU scores 427. Although somewhat apart, they are much closer than they would be in more fully-featured benchmarks.
The reason glmark2's scores for low-end and high-end GPUs are so close has to do with the amount of stress it places on the GPU. An Intel iGPU at 90% load does not perform all that differently from an RX 570 at 25% of its capacity. There appears to be a limitation in either glmark2 or Mesa which limits GPU utilization above a certain framerate (meaning it doesn't even try to achieve higher FPS).
Other variants[edit]
There is a variant of glmark2 called vkmark. It is a Vulkan implementation of the exact same benchmark. It has the exact same tests and limitations as glmark2.
Review and conclusion[edit]
Overall, it's a pretty useless benchmark tool. A better way to do benchmarks would be to HOWTO See A Games Frames Per Second And Other Data In A HUD Overlay.
There are, sadly, no good free software alternatives but there are some way more advanced proprietary freeware alternatives like UNIGINE Superposition and Basemark GPU which run on GNU/Linux. Tests like that those produce useful and comparable and meaningful results. glmark2 simply doesn't.
glmark2 results[edit]
Example output from a MSI/AMD RX 570[edit]
The output of a typical run, here glmark2 -s 1920x1050
, will look like this:
======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: X.Org GL_RENDERER: Radeon RX 570 Series (POLARIS10, DRM 3.27.0, 5.0.9-Jinsol, LLVM 8.0.0) GL_VERSION: 4.5 (Compatibility Profile) Mesa 19.0.3 ======================================================= [build] use-vbo=false: FPS: 509 FrameTime: 1.965 ms [build] use-vbo=true: FPS: 560 FrameTime: 1.786 ms [texture] texture-filter=nearest: FPS: 551 FrameTime: 1.815 ms [texture] texture-filter=linear: FPS: 549 FrameTime: 1.821 ms [texture] texture-filter=mipmap: FPS: 578 FrameTime: 1.730 ms [shading] shading=gouraud: FPS: 543 FrameTime: 1.842 ms [shading] shading=blinn-phong-inf: FPS: 593 FrameTime: 1.686 ms [shading] shading=phong: FPS: 589 FrameTime: 1.698 ms [shading] shading=cel: FPS: 594 FrameTime: 1.684 ms [bump] bump-render=high-poly: FPS: 573 FrameTime: 1.745 ms [bump] bump-render=normals: FPS: 576 FrameTime: 1.736 ms [bump] bump-render=height: FPS: 539 FrameTime: 1.855 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 556 FrameTime: 1.799 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 564 FrameTime: 1.773 ms [pulsar] light=false:quads=5:texture=false: FPS: 520 FrameTime: 1.923 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 537 FrameTime: 1.862 ms [desktop] effect=shadow:windows=4: FPS: 561 FrameTime: 1.783 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 407 FrameTime: 2.457 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 463 FrameTime: 2.160 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 409 FrameTime: 2.445 ms [ideas] speed=duration: FPS: 505 FrameTime: 1.980 ms [jellyfish] <default>: FPS: 561 FrameTime: 1.783 ms [terrain] <default>: FPS: 464 FrameTime: 2.155 ms [shadow] <default>: FPS: 602 FrameTime: 1.661 ms [refract] <default>: FPS: 584 FrameTime: 1.712 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 613 FrameTime: 1.631 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 607 FrameTime: 1.647 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 588 FrameTime: 1.701 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 560 FrameTime: 1.786 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 579 FrameTime: 1.727 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 525 FrameTime: 1.905 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 565 FrameTime: 1.770 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 567 FrameTime: 1.764 ms ======================================================= glmark2 Score: 548 =======================================================
What, if anything, these numbers mean in terms of performance is unclear.
The "glmark2 Score" may mean something and since our kind readers keep dumping results of their glmark2
runs in the comment section.
User-Submitted glmark2 Results, Default (800x600)[edit]
Please click the "edit" button on the headline right above this text to share results. You will likely be able to understand what kind of {"t": "Card", "v": "123"},
line you should add below. Just leave a comment below if it's way beyond your skill-set.
Note: glmark2 scores will vary dramatically depending on what window size you use. -s 1920x1080 will obviously produce scores that are much lower than -s 640x480 will produce. The following results are with the default -s 800x600 resolution. Make sure you don't add results from runs with non-default resolutions below.
|
Syntax error |
That GTX 1060 result doesn't make any sense vs the RTX 3090 result, who knows that is going on there. The Intel 965GM on crocus in Feb 2022 has CPU fallback for the terrain and refract benchmarks, so the overall score is low. (All categories 60-110 FPS... terrain: 6 and refract: 17)
Please run glmark2
with no arguments if you want to contribute results to the above graph in order to make the results comparable (we should perhaps add a separate section for -s 1920x1080
? Let us know what you think in the comments below).
We have removed all the cut-and-paste results added as comments and added them to the above graph instead.
Alternatives[edit]
- vkmark is a Vulkan port of glmark2. It has the same limitations as glmark: It doesn't actually place any big load on the GPU. But it does do the same benchmark glmark2 does using Vulkan.
- Basemark GPU and UNIGINE Superposition are proprietary freeware programs that work on Linux (And Windows).
Links[edit]
The glmark2 git repository is at github.com/glmark2/glmark2.
Enable comment auto-refresher
Anonymous (aa8fca344a)
Permalink |
Anonymous (f5b0799109)
Permalink |
MNS
Permalink |
Anonymous (0d92b60b25)
Permalink |
Anonymous (8fbe7afd6f)
Permalink |
Anonymous (b31b533a1b)
Permalink |
Anonymous (b31b5772e0)
Permalink |
Anonymous (4f1d5d1ef5)
Permalink |
Anonymous (de146c26cb)
Permalink |
Anonymous (af007567e1)
Permalink |
Anonymous (3d7944ad1a)
Permalink |
Anonymous (c5457c2b82)
Permalink |
Anonymous (44e11fb583)
Permalink |
Anonymous (e03e43f591)
Permalink |
Anonymous (60062b0ea6)
Permalink |
Anonymous (eaf6c5d279)
Permalink |
Anonymous (f6c32871e7)
Permalink |
Anonymous (f6c3291fff)
Permalink |
Anonymous (53b6ba31b8)
Permalink |
Anonymous (f6c323cf67)
Permalink |
Anonymous (5e0ba89b33)
Permalink |
Anonymous (5636975fb4)
Permalink |
Anonymous (35fa3c50c3)
Permalink |
Anonymous (a130d34b37)
Permalink |
Anonymous (062b0bfb84)
Permalink |