Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022

ogl-select (8s)


ogl-select - dor files


Please see following description for synopsis


ogl-select(8s)                                                  ogl-select(8s)

       svc:/application/opengl/ogl-select - boot time selection of OpenGL ven-
       dor files

       svc:/application/opengl/ogl-select is a transient service for the  Ser-
       vice  Management Facility (SMF) that determines at boot time which ven-
       dor 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 prop-
       erty 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, a SMF property can be used to force the ven-
       dor selection.

       Configuration  properties for the ogl-select service are managed by the
       service management facility, smf(7), under the service identifier:

       Use svccfg(8) to make configuration changes and to  view  configuration
       information for this service.

       These properties may be set for ogl-select:

              (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".


                                     The SMF manifest

       /lib/svc/method/ogl-select    The SMF method run by the manifest

                                     Vendor registry files scanned by the man-

       See attributes(7) for descriptions of the following attributes:

       |Availability   | service/opengl/ogl-select |
       |Stability      | Volatile                  |

       constype(1), smf(7), svcadm(8), svccfg(8)

                                  17 Dec 2018                   ogl-select(8s)