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.
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.
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 --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
glinformation_glut binary is inside the above download.
XWindows users can also use
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).