Tests


[ Пред. ] [ Содержание ] [ След. ]

Tests


Created Четверг 15 марта 2018
http://rus-linux.net/MyLDP/admin/gpu-benchmarking-and-stress-testing-in-linux.html
Тестирование производительности и стресс-тестирование графических ускорителей в Linux
https://www.pcsuggest.com/install-glmark2-debian/
How to install glmark2 from source in Debian
Last Updated on March 14, 2018 by Arnab Satapathi 10 Comments
Glmark2 is a popular open source GPU benchmarking tool with OpenGL 2.0 and OpenGLES 2.0 support, available for Linux and Android platform.
It is developed with a goal of easy and effective GPU benchmarking for ARM hardware in embedded systems by the Linaro team.
Glmark2 binary packages are available in official Ubuntu repository, but not available in Debian repository, so we have to compile and install latest glmark2 form its git repository.
Contents
Install required softwares and development headers
To Download and compile latest debian glmark2 binary, we need some basic tools like g++ and git and development libraries.
Build a basic binary compilation environment
sudo apt-get install git g++ build-essential pkg-config
Build a X11 and OpenGL development environment
sudo apt-get install libx11-dev libgl1-mesa-dev
Install jpeg and png image development headers
sudo apt-get install libjpeg-dev libpng-dev # install libpng12-dev on Ubuntu/Mint
Download glmark2 source from git
Now you can download the glmark2 source files either with git or the source zip file from glmark github website https://github.com/glmark2/glmark2 .
cd ~/
git clone https://github.com/glmark2/glmark2.git
cd glmark2/
Configure, compile and install glmark2 in Debian
Glmark2 uses the python based WAF build system, which requires an working python 2.x installation, now we are going to build debian glmark2 with X11 and opneGL support only, no OpenGLES, wayland or mir support.
./waf configure --with-flavors=x11-gl
./waf build -j 4
sudo ./waf install
Stripping the debian glmark2 binary will reduce the overall binary size hence it will make the application launch faster.
sudo strip -s /usr/local/bin/glmark2
Now the compilation and installation is complete , run glmark2 and check the results.
glmark2

Содержание