gfxbench
by Kishonti Ltd. is considered a golden standard in the industry.
You can download a free version of their benchmark at: https://gfxbench.com/linux-download/
Then run their scripts:
sh gfxbench_gl-linux-qt-4.0.13+community_64bit.sh
./gfxbench_gl
Kishonti makes money by selling more specialized versions of those benchmarks, and also source code as well if you pay an expensive license.
Youtube contains rendering of most of their high level benchmarks, e.g. Car Chase: https://www.youtube.com/watch?v=kJ9FyMtNdV4
phoronix-test-suite
Mentioned at https://askubuntu.com/a/33841/52975 , but here go more details.
On Ubuntu 16.10:
sudo apt-get install phoronix-test-suite
phoronix-test-suite list-available-suites
This gives suite ID, descriptions and type. So just pick one of the graphics
suites like pts/mesa
(pts
== Phoronix Test Suite) and run it:
phoronix-test-suite run pts/mesa
PTS seems to be a front-end for several benchmarks.
pts/mesa
downloads and runs actual FPS games fullscreen, so results might be representative.
glmark2 getting started
https://askubuntu.com/a/194468/52975 mentioned it, here are a few more pointers. Install:
sudo apt install glmark2
The help shows all benchmarks and their options:
glmark2 -l
E.g. to run the benchmark terrain
with duration of 1 second instead of the default 10 seconds:
glmark2 -b terrain:duration=1
or for multiple options:
glmark2 -b build:duration=1:model=horse

Each test outputs a "glmark2 Score" line on the command line, e.g. on Ubuntu 23.04:
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: Quadro M1200/PCIe/SSE2
GL_VERSION: 4.6.0 NVIDIA 515.105.01
=======================================================
[build] duration=1:model=bunny: FPS: 2780 FrameTime: 0.360 ms
=======================================================
glmark2 Score: 2780
=======================================================
According to https://github.com/glmark2/glmark2/issues/31 that number is simply:
the average of all the FPSs from the benchmarks that were run
so we gladly see that it is not limited to the screen refresh rate.
Their source code is at: https://github.com/glmark2/glmark2 and the license is GPL-3.0.