display-auto
It is automatically invoked when you open a default target with ggiOpen(). It unloads itself automatically before ggiOpen() returns back to the application, successful or not.
It probes several targets. It tries the next target when the one before is given up. Before a target is given up, it can even probe a target with different (target specific) options.
Say, you are on a console, no X available. The X-target will fail (after some retries). If you are on Linux, next targets may be fbdev, svgalib, terminfo, aalib, etc. If you are on FreeBSD, next targets may be vgl and aalib.
Similar counts for all other Operating Systems such as MacOSX, Open- and NetBSD, Windows, Solaris, etc.