open-src/data/smf-rbac/ogl-select.man
changeset 227 4f2fc638a732
child 232 d14aadda1e82
equal deleted inserted replaced
226:c37935abfe67 227:4f2fc638a732
       
     1 .\"  Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
       
     2 .\"  Use subject to license terms.
       
     3 .\" 
       
     4 .\"  Permission is hereby granted, free of charge, to any person obtaining a
       
     5 .\"  copy of this software and associated documentation files (the
       
     6 .\"  "Software"), to deal in the Software without restriction, including
       
     7 .\"  without limitation the rights to use, copy, modify, merge, publish,
       
     8 .\"  distribute, and/or sell copies of the Software, and to permit persons
       
     9 .\"  to whom the Software is furnished to do so, provided that the above
       
    10 .\"  copyright notice(s) and this permission notice appear in all copies of
       
    11 .\"  the Software and that both the above copyright notice(s) and this
       
    12 .\"  permission notice appear in supporting documentation.
       
    13 .\"  
       
    14 .\"  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
    15 .\"  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
    16 .\"  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
       
    17 .\"  OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
       
    18 .\"  HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
       
    19 .\"  INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
       
    20 .\"  FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
       
    21 .\"  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
       
    22 .\"  WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
       
    23 .\"  
       
    24 .\"  Except as contained in this notice, the name of a copyright holder
       
    25 .\"  shall not be used in advertising or otherwise to promote the sale, use
       
    26 .\"  or other dealings in this Software without prior written authorization
       
    27 .\"  of the copyright holder.
       
    28 .\" 
       
    29 .ds q \N'34'
       
    30 .TH ogl-select 1 "01 Oct 2007"
       
    31 .SH NAME
       
    32 ogl-select \- boot time selection of OpenGL vendor files 
       
    33 .PP
       
    34 .SH DESCRIPTION
       
    35 .I ogl-select
       
    36 is a service for the Service Management Facility (SMF) under
       
    37 the identifier \fIsvc:/application/opengl/ogl-select\fP
       
    38 that determines at boot time which vendor supplied OpenGL headers
       
    39 and libraries will be used.  The selection of the OpenGL vendor
       
    40 should be automatic and in most cases will not require any
       
    41 configuration.  However, for system configurations with special
       
    42 needs a property can be used to select the vendor.  The property
       
    43 is described in the SMF PROPERTIES section below. 
       
    44 .PP
       
    45 The SMF method performs the automatic probe by querying the
       
    46 device driver attached to the primary framebuffer device, /dev/fb.
       
    47 If the name reported by the driver matches the value advertised
       
    48 by a vendor registry, the rules in the vendor registry will be
       
    49 used to select the OpenGL headers and libraries.  The name reported
       
    50 by the driver can be verfied with \fIconstype\fP(1).  If the system
       
    51 configuration does not match the desired OpenGL vendor, a SMF
       
    52 property can be used to force the vendor selection.
       
    53 .SH SMF PROPERTIES
       
    54 .PP
       
    55 Configuration properties for \fBogl-select\fP program are
       
    56 managed by the service management facility, \fBsmf\fR(5), under the service 
       
    57 identifier:
       
    58 .PP
       
    59 .nf
       
    60 svc:/application/opengl/ogl-select
       
    61 .fi
       
    62 Use \fBsvccfg\fR(1M) to make configuration changes and to view configuration 
       
    63 information for this service\&. 
       
    64 .PP
       
    65 These properties may be set for ogl-select:
       
    66 .TP
       
    67 .B options/vendor 
       
    68 (Type astring) The vendor tag to use for selecting the OpenGL headers
       
    69 and libraries, overriding the results of the automatic probe.  Available
       
    70 vendors can be found with 'ls /lib/opengl/ogl_select/*_vendor_select'.
       
    71 If the property is set to an unknown vendor tag, the method will default
       
    72 to "mesa".  Setting the property to "" or "notset" causes it to be ignored
       
    73 and the results of the automatic probe are used instead.  The default
       
    74 value is "notset". 
       
    75 .TP
       
    76 .SH FILES
       
    77 .TP 30
       
    78 .I /var/svc/manifest/opengl/ogl-select.xml
       
    79 The SMF manifest
       
    80 .TP 30
       
    81 .I /lib/svc/method/ogl-select
       
    82 The SMF method run by the manifest
       
    83 .TP 30
       
    84 .I /lib/opengl/ogl_select/\fB*\fP_vendor_select
       
    85 Vendor registry files scanned by the manifest
       
    86 .PP
       
    87 .SH SEE ALSO
       
    88 .PP
       
    89 \fIsmf\fP(5), \fIsvcadm\fP(1M), \fIsvccfg\fP(1M)