snowman_zhu 发表于 2007-06-07 21:19

Sun Ultra45 xvr-2500 config


#fbconfig -list
Device-Filename            Specific Config Program
---------------            -----------------------
/dev/fbs/kfb0                SUNWkfb_config         /* xvr-2500 */
/dev/fbs/jfb0                SUNWjfb_config         /* xvr-600*/
#
# ls -al fb*
lrwxrwxrwx   1 root   root          43 May 18 10:07 fb -> /devices/pci@1f,700000/SUNW,XVR-2500@0:kfb0
lrwxrwxrwx   1 root   root         8 May 15 14:09 fb0 -> fbs/kfb0
lrwxrwxrwx   1 root   root         8 May 18 10:07 fb1 -> fbs/jfb0
lrwxrwxrwx   1 root   root          67 May 18 10:07 jfb0 ->
../../devices/pci@1e,600000/pci@0/pci@9/pci@0,2/SUNW,XVR-600@1:jfb0
lrwxrwxrwx   1 root   root          48 May 15 14:09 kfb0 ->
../../devices/pci@1f,700000/SUNW,XVR-2500@0:kfb0
#
# fbconfig
      fbconfig [-list] [-gui] [-dev devname | abbreviation]
               [-res video-mode] [-propt] [-prconf] [-help]
      -list         List installed and configurable frame buffers
      -gui            Invoke Graphical User Interface (SUNWdcm)
                        to configure devices and update Xservers file.
Usage:
      SUNWkfb_config [-dev devname] [-file machine | system]
                  [-res video-mode]
                  [-deflinear true | false]
                  [-defoverlay true | false]
                  [-doublewide enable | disable]
                  [-doublehigh enable | disable]
                  [-g gamma-value]
                  [-gfile filename]
                  [-multisample disable | available | forceon ]
                  [-offset xoff-value yoff-value]
                  [-samples 1 | 4 | 8 | 16 ]
                  [-slave disable | multiview ]
                  [-defaults] [-propt] [-prconf] [-help]
      -defaults       set all options for specified device back to default
                        values (except for -dev).
      -deflinear      If true, default visual will be linear visual.
                        Default: false
      -defoverlay   If true, default visual will be overlay visual.
                        Default: false
      -dev            device to configure.Default: /dev/fb
      -doublewide   combine both displays into one horizontal virtual
                        display.Default: disable
      -doublehigh   combine both displays into one vertical virtual
                        display.Default: disable
      -file         which OWconfig file to update.Default: machine
      -g            Gamma Correction Value
                        Default: 2.2
      -gfile          Filename of the file containing Gamma Correction Table
      -help         print out this message.
      -multisample    If disable, no multisampling is possible. If available,
                        multisampling is possible but selected on a per window
                        basis. If forceon, all Open GL windows are rendered
                        using multisampling
                        Default: disable
      -offset         adjust the position of the specified stream.
                        Currently only implemented in -doublewide and
                        -doublehigh modes.
                        For -doublewide the X offset is used to position the
                        rightmost stream. Negative is left (overlaps with
                        left stream).
                        For -doublehigh the Y offset is used to position the
                        bottommost stream.Negative is up (overlaps with
                        upper stream)
      -propt          print out current option settings.
      -prconf         print out device hardware configuration.
      -res            video-mode to set on device.No default.
                        -res \? will show list of possible video modes.
      -samples      Request num. of samples to compute per display pixel.
                        Default: 4
      -slave          If multiview this device synchronizes video with a
                        master through the multiview ribbon cable. Both
                        devices should be running the same resolution and
                        this option should be issued when the window system.
                        is running. Default: disabled
#
#fbconfig -dev /dev/fb0 -propt
--- Graphics Configuration for /dev/fb0 ---
OWconfig: machine
Video Mode: SUNW_STD_1280x1024x76
Multisample Information:
      Multisample Mode:Disabled (multisample visuals will not be available)
      Samples Per Pixel: N/A (multisampling disabled)
      Screen Information:
                DoubleWide: Disabled
                DoubleHigh: Disabled
            Offset/Overlap:
      Visual Information:
            Default Visual: Non-Linear Normal Visual
          Gamma Correction: using default gamma value 2.22
#
#
# fbconfig -prconf
--- Hardware Configuration for /dev/fb ---
Type: Unknown
PROM Information: @(#) xvr2500-0.fth 17.116 05/10/26 SMI
Monitor/Resolution Information:
      EDID Data: Not Available
      Current resolution setting: SUNW_STD_1280x1024x76
Framelock Configuration:
      Slave Mode: Disabled
#
# man SUNWkfb_config
Reformatting page.Please Wait... done
Maintenance Commands                           SUNWkfb_config(1M)
NAME
   SUNWkfb_config - fbconfig moduleforconfiguringtheSun
   XVR-2500 Graphics Device
SYNOPSIS
   /usr/lib/fbconfig/SUNWkfb_config[-dev device-filename]   [
   -res video-mode] [-file machine | system] [-deflinear true |
   false] [-defoverlay true|false][-linearorderfirst|
   last] [-slave disable | multiview] [-accum enable | disable]
   [-ggamma-correction-value][-gfile gamma-correction-file]
   [-doublewideenable|disable] [-doublehigh enable | dis-
   able] [-outputs swapped | direct] [-multisample available|
   disable|forceon][-samples1|2|4|8 | 16] [
   -offset xval yval] [-propt] [-prconf] [-defaults]
   /usr/lib/fbconfig/SUNWkfb_config [-propt] [-prconf]
   /usr/lib/fbconfig/SUNWkfb_config [-help] [ -res ?]
   SUNWkfb_configconfigures   the   Sun   XVR-2500   Graphics
   Acceleratorandsome of the X11 window system defaults for
   the Sun XVR-2500.
   The first form of SUNWkfb_config shown in the SYNOPSISsec-
   tionstoresthespecifiedoptionsin the OWconfig file.
   These options initialize the Sun XVR-2500devicethenext
   timethewindowsystemisrunon that device. Updating
   options in the OWconfig file provides persistenceofthese
   options across window system sessions and system reboots.
   The second and third forms which invokeonlythe-prconf,
   -propt,-help, and -res ? options, do not update the OWcon-
   fig file. Additionally, for the third form all other options
   are ignored.
   You can specify options for only one device atatime.If
   youwantto specify options for multiple devices, you must
   invoke the SUNWkfb_config utility multiple times.
   You can use the SUNWkfb_config utility to specifySunXVR-
   2500-specificoptions. Use the normal window system options
   to specify default depth, default visual class and so forth.
   Specifytheseas device modifiers on the command line. See
   Xsun(1).
   You can also specifywhichOWconfigfiletoupdate.By
   default, SUNWkfb_config updates the machine-specific file in
   the /etc/openwin. You can specify an alternate file by using
   the-fileoption.For example, the system-global OWconfig
   file in the/usr/openwindirectorytreecanbeupdated
   instead.
SunOS 5.10          Last change: 26 Aug 2005                  1
Maintenance Commands                           SUNWkfb_config(1M)
   Both of these standard OWconfig files can only be written by
   root.Consequently,theSUNWkfb_configprogram, which is
   owned by the root user, always runs with setuid root permis-
   sion.
   The following options are supported:
   -accum enable | disable
         Enable or disable frame buffer memory. If enabled, frame
         buffer memory is allocated for the accelerated accumula-
         tion buffer for windows. If disabled, software accumula-
         tion buffering for windows is used.Accelerated accumu-
         lation buffers forpBuffersarealwaysavailableas
         memory allows.
   -dev device-filename
         Specify the SunXVR-2500 specialfile.Thedefaultis
         /dev/fbs/kfb0.
   -defaults
         Reset all option values except-devtotheirdefault
         values.
         This option sets the resolution override tononewhich
         impliesthe last video mode setting is preserved. If no
         monitorisattached,thevideomode   is   set   to
         1152x900x66.
   -deflinear true | false
         The Sun XVR-2500 possesses two types of visuals:linear
         andnonlinear.Linearvisuals are gamma corrected and
         nonlinear visuals are not. There aretwovisualsthat
         have   both   linearandnonlinearversions:   24-bit
         TrueColor and 8-bit StaticGray.
         If the value of this option is true, the defaultvisual
         isset to the linear visual that satisfies other speci-
         fied default visual selection options (specifically, the
         Xsundefdepthanddefclassoptions; see Xsun(1)). If
         false, or if there is no linearvisualthatsatisfies
         theotherdefaultvisualselection options, the non-
SunOS 5.10          Last change: 26 Aug 2005                  2
Maintenance Commands                           SUNWkfb_config(1M)
         linear visual specified by these other options is chosen
         asthedefault visual. This option cannot be used when
         the -defoverlay option is present, because the SunXVR-
         2500 does not possess a linear overlay visual.
   -defoverlay true | false
         The Sun XVR-2500 provides an8-bitPseudoColorvisual
         whosepixels are disjoint from the rest of the visuals.
         This is called the overlay visual.Windowscreatedin
         thisvisualwillnotdamage windows created in other
         visuals. The converse, however,isnottrue.Windows
         created in other visuals will damage overlay windows.
         If the value of this option is true, the overlayvisual
         isthedefault visual. If false, the nonoverlay visual
         thatsatisfiestheotherdefaultvisual   selection
         options, such as defdepth and defclass, is chosen as the
         default visual. See Xsun(1). Whenever-defoverlaytrue
         isused,thedefaultdepthandclass chosen on the
         openwin command line must be 8-bit PseudoColor. Ifnot,
         awarning message is printed and the -defoverlay option
         is treated as false.
   -doublehigh enable | disable
         Configure the two outputs of the Sun XVR-2500intoone
         vertical virtual display. The default is disable.
   -doublewide enable | disable
         Configure the two outputs of the Sun XVR-2500intoone
         horizontal virtual display. The default is disable.
   -file machine|system
         Specifies which OWconfig file to update. Ifmachineis
         specified,themachine-specificOWconfigfile in the
         /etc/openwin directory tree isupdated.Ifsystemis
         specified,the global OWconfig file in the /usr/openwin
         directory tree is updated. If thespecifiedfiledoes
         notexist,itiscreated.This option has no effect
         unless otheroptionsarespecified.Thedefaultis
         machine.
SunOS 5.10          Last change: 26 Aug 2005                  3
config the depth value on solaris 10 platform:
run this command first at root to config display !!!!
#svccfg -s x11-server setprop options/default_depth=8
1.insert the XVR-2500 Graphics Device CDROM.
2.cd /cdrom/cdrom0/
3.#./install (#./uninstall)
4.install all the package!!
5.#fbconfig -gui
6.config the Graphics Device through the GUI interface!


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2485/showart_316991.html
页: [1]
查看完整版本: Sun Ultra45 xvr-2500 config