依赖 :
sudo apt-get install git g++ build-essential pkg-config sudo apt-get install libx11-dev libgl1-mesa-dev sudo apt-get install libjpeg-dev libpng-dev
下载源码
git clone https://github.com/glmark2/glmark2.git cd glmark2 git checkout 202301 mkdir build && cd build sudo ./waf configure --with-flavors=x11-gl sudo ./waf build -j4 sudo ./waf install
运行
cd build/src glmark2 -s (10*10)