Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1240388
  • 博文数量: 124
  • 博客积分: 7074
  • 博客等级: 少将
  • 技术积分: 1336
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-15 16:37
文章分类
文章存档

2011年(3)

2010年(18)

2009年(8)

2008年(14)

2007年(81)

分类:

2007-06-07 21:19:40


#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: [0, 0]
        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 module  for  configuring  the  Sun
     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]  [-linearorder  first  |
     last] [-slave disable | multiview] [-accum enable | disable]
     [-g  gamma-correction-value]  [-gfile gamma-correction-file]
     [-doublewide  enable  |  disable] [-doublehigh enable | dis-
     able] [-outputs swapped | direct] [-multisample available  |
     disable  |  forceon]  [-samples  1  |  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_config  configures   the   Sun   XVR-2500   Graphics
     Accelerator  and  some of the X11 window system defaults for
     the Sun XVR-2500.
     The first form of SUNWkfb_config shown in the SYNOPSIS  sec-
     tion  stores  the  specified  options  in the OWconfig file.
     These options initialize the Sun XVR-2500  device  the  next
     time  the  window  system  is  run  on that device. Updating
     options in the OWconfig file provides persistence  of  these
     options across window system sessions and system reboots.
     The second and third forms which invoke  only  the  -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 at  a  time.  If
     you  want  to specify options for multiple devices, you must
     invoke the SUNWkfb_config utility multiple times.
     You can use the SUNWkfb_config utility to specify  Sun  XVR-
     2500-specific  options. Use the normal window system options
     to specify default depth, default visual class and so forth.
     Specify  these  as device modifiers on the command line. See
     Xsun(1).
     You can also specify  which  OWconfig  file  to  update.  By
     default, SUNWkfb_config updates the machine-specific file in
     the /etc/openwin. You can specify an alternate file by using
     the  -file  option.  For example, the system-global OWconfig
     file in the  /usr/openwin  directory  tree  can  be  updated
     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,  the  SUNWkfb_config  program, 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 for  pBuffers  are  always  available  as
         memory allows.
     -dev device-filename
         Specify the SunXVR-2500 special  file.  The  default  is
         /dev/fbs/kfb0.
     -defaults
         Reset all option values except  -dev  to  their  default
         values.
         This option sets the resolution override to  none  which
         implies  the last video mode setting is preserved. If no
         monitor  is  attached,  the  video  mode   is   set   to
         1152x900x66.
     -deflinear true | false
         The Sun XVR-2500 possesses two types of visuals:  linear
         and  nonlinear.  Linear  visuals are gamma corrected and
         nonlinear visuals are not. There are  two  visuals  that
         have   both   linear  and  nonlinear  versions:   24-bit
         TrueColor and 8-bit StaticGray.
         If the value of this option is true, the default  visual
         is  set to the linear visual that satisfies other speci-
         fied default visual selection options (specifically, the
         Xsun  defdepth  and  defclass  options; see Xsun(1)). If
         false, or if there is no linear  visual  that  satisfies
         the  other  default  visual  selection 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
         as  the  default visual. This option cannot be used when
         the -defoverlay option is present, because the Sun  XVR-
         2500 does not possess a linear overlay visual.
     -defoverlay true | false
         The Sun XVR-2500 provides an  8-bit  PseudoColor  visual
         whose  pixels are disjoint from the rest of the visuals.
         This is called the overlay visual.  Windows  created  in
         this  visual  will  not  damage windows created in other
         visuals. The converse, however,  is  not  true.  Windows
         created in other visuals will damage overlay windows.
         If the value of this option is true, the overlay  visual
         is  the  default visual. If false, the nonoverlay visual
         that  satisfies  the  other  default  visual   selection
         options, such as defdepth and defclass, is chosen as the
         default visual. See Xsun(1). Whenever  -defoverlay  true
         is  used,  the  default  depth  and  class chosen on the
         openwin command line must be 8-bit PseudoColor. If  not,
         a  warning message is printed and the -defoverlay option
         is treated as false.
     -doublehigh enable | disable
         Configure the two outputs of the Sun XVR-2500  into  one
         vertical virtual display. The default is disable.
     -doublewide enable | disable
         Configure the two outputs of the Sun XVR-2500  into  one
         horizontal virtual display. The default is disable.
     -file machine|system
         Specifies which OWconfig file to update. If  machine  is
         specified,  the  machine-specific  OWconfig  file in the
         /etc/openwin directory tree is  updated.  If  system  is
         specified,  the global OWconfig file in the /usr/openwin
         directory tree is updated. If the  specified  file  does
         not  exist,  it  is  created.  This option has no effect
         unless other  options  are  specified.  The  default  is
         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!
 
阅读(1552) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~