User Tools

Site Tools


ubuntu:gpu:benchmark_the_gpu:glx-gears

This is an old revision of the document!


Ubuntu - GPU - Benchmark the GPU - GLX-Gears

GLX Gears is a popular OpenGL test that is part of the mesa-utils package.

NOTE: This tool is very old, very basic and only tests a small portion of the current OpenGL capabilities.

  • This will open up a window with an OpenGL rendering of a simple arrangement of three rotating gears.
  • The frame rate is measured and printed out on the terminal every five seconds.

Install GLX-Gears

sudo apt install mesa-utils

Run GLX-Gears

glxgears

returns:

Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
503 frames in 5.0 seconds = 100.439 FPS
499 frames in 5.0 seconds = 99.791 FPS
500 frames in 5.0 seconds = 99.980 FPS
...

Run GLX-Gears with more information

glxgears -info

returns:

 

ubuntu/gpu/benchmark_the_gpu/glx-gears.1687857085.txt.gz · Last modified: 2023/06/27 09:11 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki