|
由于Debian的新立得库里面没有glmark2,需要自己编译,在安装GPU打开终端lxterminal然后输入如下命令
- sudo apt-get install libgegl-0.2-0 libgfortran3 libgimp2.0 libgl1-mesa-dev libgles2-mesa-dev libglew-dev libglew1.10 libglib2.0-bin libglib2.0-data libglib2.0-dev libglu1-mesa-dev
复制代码- sudo apt-get install libpng-dev libx11-dev pkg-config
复制代码- wget http://mirror.lemaker.org/glmark2_2011.09.orig.tar.gz
- tar -zxvf glmark2_2011.09.orig.tar.gz
- cd glmark2-2011.09
- ./waf configure --enable-glesv2
- ./waf
- sudo ./waf install
复制代码- sudo cp /usr/lib/libEGL.so* /usr/lib/arm-linux-gnueabihf/ -a
- sudo cp /usr/lib/libGLES* /usr/lib/arm-linux-gnueabihf/ -a
复制代码 最后输入下面命令开始测试GPU驱动情况和跑分情况。
- orangepi@OrangePI:~/glmark2-2011.09$ glmark2-es2
- =======================================================
- glmark2 2011.09
- =======================================================
- OpenGL Information
- GL_VENDOR: ARM
- GL_RENDERER: Mali-400 MP
- GL_VERSION: OpenGL ES 2.0
- =======================================================
- [build] use-vbo=false: FPS: 111
- [build] use-vbo=true: FPS: 124
- [texture] texture-filter=nearest: FPS: 135
- [texture] texture-filter=linear: FPS: 133
- [texture] texture-filter=mipmap: FPS: 141
- [shading] shading=gouraud: FPS: 109
- [shading] shading=blinn-phong-inf: FPS: 110
- [shading] shading=phong: FPS: 91
- [bump] bump-render=high-poly: FPS: 72
- [bump] bump-render=normals: FPS: 119
- [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 66
- [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 46
- [pulsar] light=false:quads=5:texture=false: FPS: 114
- [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 38
- [conditionals] fragment-steps=0:vertex-steps=0: FPS: 114
- [conditionals] fragment-steps=5:vertex-steps=0: FPS: 88
- [conditionals] fragment-steps=0:vertex-steps=5: FPS: 113
- [function] fragment-complexity=low:fragment-steps=5: FPS: 96
- [function] fragment-complexity=medium:fragment-steps=5: FPS: 71
- [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 85
- [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 96
- [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 94
- =======================================================
- glmark2 Score: 98
- =======================================================
复制代码
|
|