Linux Command - glxgears
原创
©著作权归作者所有:来自51CTO博客作者LEONCORE的原创作品,请联系作者获取转载授权,否则将追究法律责任
Linux Command - glxgears
基于Xorg的3D Benchmark Test Tool
root@localhost:/root> xinit
root@localhost:/root> glxgears -display :0
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.199 FPS
300 frames in 5.0 seconds = 59.827 FPS
300 frames in 5.0 seconds = 59.831 FPS
300 frames in 5.0 seconds = 59.829 FPS
Options:
root@localhost:/root> glxgears --help
Usage:
-display <displayname> set the display to run on
-stereo run in stereo mode
-fullscreen run in fullscreen mode
-info display OpenGL renderer info
-geometry WxH+X+Y window geometry
root@localhost:/root>
Q1, 如何确认glxgears是否运行成功?
root@localhost:/root> glxinfo | grep rendering
direct rendering: Yes