glinformation (version 1.2.2)
Output OpenGL information
This tiny program asks the OpenGL library installed on your system about it's version and features. As OpenGL implementation is usually closely tied to your graphic card model and drivers, this provides information about your GPU, useful for developers of OpenGL (3D) programs.
(64 bit, x86_64)
(32 bit, works on 64-bit too)
Mac OS X
If you like this software, please consider donating.
No installation is required. Just download and unpack these archives wherever you want, and run the program inside. The documentation (this web page) is also included inside (look in the documentation/ subdirectory) for offline viewing.
This is free/open-source software. Developers can download sources of this program.
Optional command-line options
You can call glinformation with some of the options listed below. Requested OpenGL context will have given capabilities (in case of bit sizes, you specify the minimum requested bit size). They are useful to check e.g. is your graphic card able to provide 16-bit stencil buffer.
-s / --stencil-bits STENCIL-BUFFER-BIT-SIZE -a / --alpha-bits ALPHA-CHANNEL-BIT-SIZE -d / --depth-bits DEPTH-BUFFER-BIT-SIZE --accum-red-bits ACCUM-RED --accum-green-bits ACCUM-GREEN --accum-blue-bits ACCUM-BLUE --accum-alpha-bits ACCUM-ALPHA --accum-bits ACCUM-RED ACCUM-GREEN ACCUM-BLUE ACCUM-ALPHA --multi-sampling SAMPLES (1 means "no multisampling") --single --double
Also all standard options understood by my OpenGL programs are allowed, see also some notes about command-line options understood by my programs.
I don't use GLUT in my programs. But, just in case (since glinformation is intended to be a diagnostic tool, that may be used in case there is some error somewhere — maybe in my own code), I provide also a special GLUT version of glinformation. This initializes OpenGL context using GLUT, then writes the same info as normal version. The glinformation_glut binary is inside the above download.
XWindows users can also use glxinfo program. It's purpose is similar to glinformation (but it's only for GLX, so it's able to write some info like all possible visual configurations).