OpenGL/OpenGL ES2.0의 성능 확인 (glmark2/glmark2-es2 사용)
5248 단어 glmark2-es2glmark2OpenGLESOpenGL
배경
OpenGL/OpenGL ES2.0의 성능을 확인하고 싶을 때 있습니다!
GL의 성능이 나오지 않거나, 자작 앱의 성능이 나쁘거나. . (울음)
준비
쉽게
apt-get에서. ubuntu12.04에서 동작 확인.
$ sudo apt-get install glmark2
$ sudo apt-get install glmark2-es2
직접 빌드
시도한 것은 glmark2-es2입니다.
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/glmark2/glmark2_2011.09.orig.tar.gz
$ tar xzvf glmark2_2011.09.orig.tar.gz
$ cd glmark2-2011.09/
$ ./waf configure --enable-glesv2 --data-path=<directory>/glmark2-2011.09/data
$ ./waf
$ cd ./build/src
// ./glmark2-es2 で実行
실행
./glmark2 ./glmark2-es2를 치면 다음과 같은 샘플 앱이 작동하면서 FPS가 측정됩니다.
glmark2
$ glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: 2.1 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 330
[build] use-vbo=true: FPS: 310
[texture] texture-filter=nearest: FPS: 329
[texture] texture-filter=linear: FPS: 348
[texture] texture-filter=mipmap: FPS: 362
[shading] shading=gouraud: FPS: 259
[shading] shading=blinn-phong-inf: FPS: 273
[shading] shading=phong: FPS: 245
[bump] bump-render=high-poly: FPS: 141
[bump] bump-render=normals: FPS: 346
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 217
[pulsar] light=false:quads=5:texture=false: FPS: 356
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 338
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 298
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 332
[function] fragment-complexity=low:fragment-steps=5: FPS: 323
[function] fragment-complexity=medium:fragment-steps=5: FPS: 272
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 327
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 330
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 304
=======================================================
glmark2 Score: 287
=======================================================
$
glmark2-es2
$ glmark2-es2
libEGL warning: DRI2: failed to authenticate
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: OpenGL ES 2.0 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 270
[build] use-vbo=true: FPS: 282
[texture] texture-filter=nearest: FPS: 277
[texture] texture-filter=linear: FPS: 296
[texture] texture-filter=mipmap: FPS: 306
[shading] shading=gouraud: FPS: 271
[shading] shading=blinn-phong-inf: FPS: 251
[shading] shading=phong: FPS: 238
[bump] bump-render=high-poly: FPS: 144
[bump] bump-render=normals: FPS: 306
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 200
[pulsar] light=false:quads=5:texture=false: FPS: 293
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 277
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 264
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 281
[function] fragment-complexity=low:fragment-steps=5: FPS: 280
[function] fragment-complexity=medium:fragment-steps=5: FPS: 256
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 275
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 272
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 236
=======================================================
glmark2 Score: 253
=======================================================
$
스크린샷
이런 외형의 오브젝트가 회전하거나 움직이거나,
10~20개 정도 표시된다.
요약
$ sudo apt-get install glmark2
$ glmark2
$ sudo apt-get install glmark2-es2
$ glmark2-es2
등으로 치는 것만으로 OpenGL/OpenGL ES 2.0의 성능을 측정 할 수있다.
참고
Reference
이 문제에 관하여(OpenGL/OpenGL ES2.0의 성능 확인 (glmark2/glmark2-es2 사용)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/naohikowatanabe/items/e11cec4de75314d9b72d
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
쉽게
apt-get에서. ubuntu12.04에서 동작 확인.
$ sudo apt-get install glmark2
$ sudo apt-get install glmark2-es2
직접 빌드
시도한 것은 glmark2-es2입니다.
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/glmark2/glmark2_2011.09.orig.tar.gz
$ tar xzvf glmark2_2011.09.orig.tar.gz
$ cd glmark2-2011.09/
$ ./waf configure --enable-glesv2 --data-path=<directory>/glmark2-2011.09/data
$ ./waf
$ cd ./build/src
// ./glmark2-es2 で実行
실행
./glmark2 ./glmark2-es2를 치면 다음과 같은 샘플 앱이 작동하면서 FPS가 측정됩니다.
glmark2
$ glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: 2.1 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 330
[build] use-vbo=true: FPS: 310
[texture] texture-filter=nearest: FPS: 329
[texture] texture-filter=linear: FPS: 348
[texture] texture-filter=mipmap: FPS: 362
[shading] shading=gouraud: FPS: 259
[shading] shading=blinn-phong-inf: FPS: 273
[shading] shading=phong: FPS: 245
[bump] bump-render=high-poly: FPS: 141
[bump] bump-render=normals: FPS: 346
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 217
[pulsar] light=false:quads=5:texture=false: FPS: 356
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 338
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 298
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 332
[function] fragment-complexity=low:fragment-steps=5: FPS: 323
[function] fragment-complexity=medium:fragment-steps=5: FPS: 272
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 327
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 330
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 304
=======================================================
glmark2 Score: 287
=======================================================
$
glmark2-es2
$ glmark2-es2
libEGL warning: DRI2: failed to authenticate
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: OpenGL ES 2.0 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 270
[build] use-vbo=true: FPS: 282
[texture] texture-filter=nearest: FPS: 277
[texture] texture-filter=linear: FPS: 296
[texture] texture-filter=mipmap: FPS: 306
[shading] shading=gouraud: FPS: 271
[shading] shading=blinn-phong-inf: FPS: 251
[shading] shading=phong: FPS: 238
[bump] bump-render=high-poly: FPS: 144
[bump] bump-render=normals: FPS: 306
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 200
[pulsar] light=false:quads=5:texture=false: FPS: 293
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 277
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 264
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 281
[function] fragment-complexity=low:fragment-steps=5: FPS: 280
[function] fragment-complexity=medium:fragment-steps=5: FPS: 256
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 275
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 272
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 236
=======================================================
glmark2 Score: 253
=======================================================
$
스크린샷
이런 외형의 오브젝트가 회전하거나 움직이거나,
10~20개 정도 표시된다.
요약
$ sudo apt-get install glmark2
$ glmark2
$ sudo apt-get install glmark2-es2
$ glmark2-es2
등으로 치는 것만으로 OpenGL/OpenGL ES 2.0의 성능을 측정 할 수있다.
참고
Reference
이 문제에 관하여(OpenGL/OpenGL ES2.0의 성능 확인 (glmark2/glmark2-es2 사용)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/naohikowatanabe/items/e11cec4de75314d9b72d
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
$ glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: 2.1 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 330
[build] use-vbo=true: FPS: 310
[texture] texture-filter=nearest: FPS: 329
[texture] texture-filter=linear: FPS: 348
[texture] texture-filter=mipmap: FPS: 362
[shading] shading=gouraud: FPS: 259
[shading] shading=blinn-phong-inf: FPS: 273
[shading] shading=phong: FPS: 245
[bump] bump-render=high-poly: FPS: 141
[bump] bump-render=normals: FPS: 346
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 217
[pulsar] light=false:quads=5:texture=false: FPS: 356
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 338
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 298
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 332
[function] fragment-complexity=low:fragment-steps=5: FPS: 323
[function] fragment-complexity=medium:fragment-steps=5: FPS: 272
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 327
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 330
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 304
=======================================================
glmark2 Score: 287
=======================================================
$
$ glmark2-es2
libEGL warning: DRI2: failed to authenticate
=======================================================
glmark2 2011.09
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 0x300)
GL_VERSION: OpenGL ES 2.0 Mesa 8.0.4
=======================================================
[build] use-vbo=false: FPS: 270
[build] use-vbo=true: FPS: 282
[texture] texture-filter=nearest: FPS: 277
[texture] texture-filter=linear: FPS: 296
[texture] texture-filter=mipmap: FPS: 306
[shading] shading=gouraud: FPS: 271
[shading] shading=blinn-phong-inf: FPS: 251
[shading] shading=phong: FPS: 238
[bump] bump-render=high-poly: FPS: 144
[bump] bump-render=normals: FPS: 306
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 293
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 200
[pulsar] light=false:quads=5:texture=false: FPS: 293
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 0
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 277
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 264
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 281
[function] fragment-complexity=low:fragment-steps=5: FPS: 280
[function] fragment-complexity=medium:fragment-steps=5: FPS: 256
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 275
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 272
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 236
=======================================================
glmark2 Score: 253
=======================================================
$
이런 외형의 오브젝트가 회전하거나 움직이거나,
10~20개 정도 표시된다.
요약
$ sudo apt-get install glmark2
$ glmark2
$ sudo apt-get install glmark2-es2
$ glmark2-es2
등으로 치는 것만으로 OpenGL/OpenGL ES 2.0의 성능을 측정 할 수있다.
참고
Reference
이 문제에 관하여(OpenGL/OpenGL ES2.0의 성능 확인 (glmark2/glmark2-es2 사용)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/naohikowatanabe/items/e11cec4de75314d9b72d
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
$ sudo apt-get install glmark2
$ glmark2
$ sudo apt-get install glmark2-es2
$ glmark2-es2
Reference
이 문제에 관하여(OpenGL/OpenGL ES2.0의 성능 확인 (glmark2/glmark2-es2 사용)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/naohikowatanabe/items/e11cec4de75314d9b72d텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)