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