OGL-SELECT(1) User Commands OGL-SELECT(1)
NAME
ogl-select - boot time selection of OpenGL vendor files
DESCRIPTION
svc:/application/opengl/ogl-select is a transient service for the
Service Management Facility (SMF) that determines at boot time which
vendor supplied OpenGL headers and libraries will be used. The
selection of the OpenGL vendor should be automatic and in most cases
will not require any configuration. However, for system
configurations with special needs a property can be used to select
the vendor. The property is described in the SMF PROPERTIES section
below.
The SMF method performs the automatic probe by querying the device
driver attached to the primary framebuffer device, /dev/fb. If the
name reported by the driver matches the value advertised by a vendor
registry, the rules in the vendor registry will be used to select the
OpenGL headers and libraries. The name reported by the driver can be
verified with
constype(1). If the system configuration does not
match the desired OpenGL vendor, an SMF property can be used to force
the vendor selection.
SMF PROPERTIES
Configuration properties for the
ogl-select service are managed by
the service management facility,
smf(5), under the service
identifier:
svc:/application/opengl/ogl-select
Use
svccfg(8) to make configuration changes and to view configuration
information for this service.
These properties may be set for
ogl-select:
options/vendor (Type astring) The vendor tag to use for selecting the OpenGL
headers and libraries, overriding the results of the automatic
probe. Available vendors can be found with 'ls
/lib/opengl/ogl_select/*_vendor_select'. If the property is
set to an unknown vendor tag, the method will default to
"mesa". Setting the property to "" or "notset" causes it to
be ignored and the results of the automatic probe are used
instead. The default value is "notset".
FILES
/lib/svc/manifest/application/opengl/ogl-select.xml The SMF manifest
/lib/svc/method/ogl-select The SMF method run by the manifest
/lib/opengl/ogl_select/*_vendor_select Vendor registry files scanned by the
manifest
SEE ALSO
constype(1),
smf(5),
svcadm(8),
svccfg(8) December 17, 2018 OGL-SELECT(1)