Innerhalb
Nach weiteren Dokumenten suchen
Support-Ressourcen
| Dieses Buch im PDF-Format herunterladen
Creator Graphics Accelerator
5
- This chapter describes how to change the Creator and Creator 3D Graphics Accelerator screen resolution to work with different monitors.
- You can change the Creator X11 screen and associated graphics hardware through the ffbconfig utility. Options are specified on the command line. The specified options are stored in the OWconfig file. You use these options to initialize the Creator device the next time Xsun is run on that device. Updating options in the OWconfig file provides persistence of these options across Xsun sessions and system reboots.
- Use the ffbconfig utility to specify the following:
-
- Video mode (screen resolution and refresh rate)
- Type of visuals (linear or nonlinear)
- Whether to use 8-bit pseudocolor visual (overlay visual)
- Whether linear visuals will come before their nonlinear counterparts
- How to set the default screen visual
- How OpenGL visuals will be supported
- Whether Server Overlay Visuals (SOV) will be available
- The maximum number of Creator X channel pixels reserved for use as WIDs
- Whether the pseudocolor overlay visual will come before the pseudocolor underlay visual
Default Screen Resolutions
-
Table 5-1 lists the default screen resolutions by monitor ID sense code.
-
Table 5-1
| Code | Screen Resolution |
| 7 | 1152 . 900 at 66 Hz |
| 6 | 1152 . 900 at 76 Hz |
| 5 | 1152 . 900 at 66 Hz |
| 4 | 1280 . 1024 at 67 Hz |
| 3 | 1152 . 900 at 66 Hz |
| 2 | 1280 . 1024 at 76 Hz |
| 1 | 1152 . 900 at 66 Hz |
| 0 | 1024 . 768 at 76 Hz |
- If the Creator system is unable to determine the monitor type, such as those for non-Sun monitors, it defaults to a resolution of 1152 . 900 at 66 Hz.
Supported Screen Resolutions
-
Table 5-2 lists the Creator-supported screen resolutions. Some resolutions are supported only on Creator3D Revision 2 and later.
-
Table 5-2
| Screen Resolution | Vertical Refresh Rate | Description |
| 1920 . 1200 | 70 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1920 . 1080 | 72 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1600 . 1280 | 76 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1600 . 1000 | 76 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1600 . 1000 | 66 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1440 . 900 | 76 Hz | Non-interlaced, Hi-res, only Creator 3D, rev 2 |
| 1280 . 1024 | 76 Hz | Non-interlaced |
-
Table 5-2 (Continued)
| Screen Resolution | Vertical Refresh Rate | Description |
| 1280 . 1024 | 67 Hz | Non-interlaced |
| 1280 . 1024 | 60 Hz | Non-interlaced, only Creator, rev 2 |
| 1280 . 800 | 76 Hz | Non-interlaced, only Creator, rev 2 |
| 1152 . 900 | 76 Hz | Non-interlaced |
| 1152 . 900 | 66 Hz | Non-interlaced |
| 1024 . 800 | 84 Hz | Non-interlaced |
| 1024 . 768 | 77 Hz | Non-interlaced |
| 1024 . 768 | 75 Hz | Non-interlaced, only Creator 3D, rev 2 |
| 1024 . 768 | 70 Hz | Non-interlaced |
| 1024 . 768 | 60 Hz | SVGA |
| 960 . 680 | 112 Hz | Stereo, non-interlaced, 56 Hz field rate per eye |
| 960 . 680 | 108 Hz | Stereo, non-interlaced, 54 Hz field rate per eye |
| 768 . 575 | 50 | Interlaced - PAL |
| 640 . 480 | 60 Hz | Interlaced - NTSC |
| 640 . 480 | 60 Hz | Non-interlaced, only Creator 3D, rev 2 |
- Some monitors may not support some the resolutions supported by the Creator. You can get the list of resolutions supported by the Creator and the connected monitor.
· To find resolutions supported by Creator and the connected monitor
-
* Use the ffbconfig command as follows:
-

Changing Screen Resolutions
- You can change the screen resolution temporarily as a test to determine if the monitor supports the specified resolution.
-
Caution - Do not change screen resolution while the window system is running. Changing screen resolution while the window system is running may put the screen display in an unusable state.
· To Change Screen Resolutions Temporarily
-
* Use the ffbconfig command as follows:
-

-
Table 5-3 lists the video-mode options. You will have five seconds to confirm the video mode by typing y.
-
Table 5-3
| Video Mode |
| Built-in | Symbolic Name | Resolution |
| 1920x1200x70 |
| 1920 . 1200 at 70 Hz |
| 1920x1080x72 |
| 1920 . 1080 at 72 Hz |
| 1600x1280x76 |
| 1600 . 1280 at 76 Hz |
| 1600x1000x76 |
| 1600 . 1000 at 76 Hz |
| 1600x1000x66 |
| 1600 . 1000 at 66 Hz |
| 1440x900x76 |
| 1440 . 900 at 76 Hz |
| 1280x1024x76 | 1280 | 1280 . 1024 at 76 Hz |
| 1280x1024x67 |
| 1280 . 1024 at 67 Hz |
| 1280x1024x60 |
| 1280 . 1024 at 60 Hz |
| 1280x800x76 |
| 1280 . 800 at 76 Hz |
-
Table 5-3 (Continued)
| Video Mode |
| Built-in | Symbolic Name | Resolution |
| 1152x900x76 | 1152 | 1152 . 900 at 76 Hz |
| 1152x900x66 |
| 1152 . 900 at 66 Hz |
| 1024x800x84 |
| 1024 . 800 at 84 Hz |
| 1024x768x77 |
| 1024 . 768 at 77 Hz |
| 1024x768x70 |
| 1024 . 768 at 70 Hz |
| 1024x768x60 | svga | 1024 . 768 at 60 Hz |
| 960x680x112s | stereo | 960 . 680 stereo at 112 Hz per eye |
| 960x680x108s |
| 960 . 680 stereo at 108 Hz per eye |
| 768x575x50i | pal | 768 . 575 at 50 Hz, interlaced |
| 640x480x60i | ntsc | 640 . 480 at 60 Hz, interlaced |
| 640x480x60 |
| 640 . 480 at 60 Hz |
Changing Screen Resolution to Stereo
· To change the screen resolution to stereo, enter the following
-

- This changes the screen resolution to 960 . 680 at 112 Hz, stereo the next time Xsun is run.
Changing Screen Visuals List
- The X server screen visuals list can be altered through ffbconfig. The ffbconfig options in Table 5-4 can be used to configure the list of the exported visuals for the specified device.
-
Table 5-4 ffbconfig
| Name | Possible Values | Defaults in Solaris2.5.1/ 2.5.1 SHWP |
| linearorder | first/last | last |
| deflinear | true/false | false |
| overlayorder | first/last | last |
| defoverlay | true/false | false |
| expvis | enable/disable | disable |
| sov | enable/disable | disable |
Changing the Visual List Order
- By default, the nonlinear visual comes before the linear visual on the screen visual list. You can modify the order of the visual list by using the ffbconfig command.
- Most 3D applications require a linear visual. Some 3D applications do not search for a linear visual using XSolarisGetVisualGamma(3). Instead, these applications search the screen visual list for the first 24-bit TrueColor visual they find. To enable these applications to run with the correct visual, use the -linearorder option to change the visual list order so that the linear 24-bit TrueColor visual is the first one the application finds.
- The desired visual ordering in the screen visuals list will be available whenever the window system is restarted.
-
* To change the setting, enter the ffbconfig command with one of the -linearorder options.
- For example:
-

- By default, the 8-bit PseudoColor visual comes before the 8-bit PseudoColor Overlay visual on the screen visual list. You can modify the order of the visual list by using the ffbconfig command.
- Some applications that use the 8-bit PseudoColor Overlay visual, search the visual list for the first 8-bit PseudoColor visual they find. To enable these applications to run with the correct visual, use the -overlayorder option to change the visual list order so that the 8-bit PseudoColor Overlay visual is the first 8-bit PseudoColor visual the application finds.
- The desired visual ordering in the screen visuals list will be available whenever the window system is restarted.
-
* To change the setting, enter the ffbconfig command with one of the -overlayorder options.
- For example:
-

Changing the Default Visual
- By default, the 8-bit PseudoColor underlay visual is the default visual of the screen. The default visual can be changed to either a linear underlay visual or an overlay visual through ffbconfig.
-
* To set the default visual to be a linear visual, enter the ffbconfig command as follows:
-

-
* To set the default visual to be an overlay visual, enter the ffbconfig command as follows:
-

-
Caution - Since there is no linear overlay visual, the user should not specify both "-deflinear true" and "-defoverlay true" simultaneously, or the result will be undefined.
-
Caution - Note that the visual ordering options (overlayorder and linearorder) are independent of the default visual options (defoverlay and deflinear). Moving the overlay visual groups, for example, to the front does not automatically make it a default visual. Some applications make this assumption and hence receive a "BADMATCH" X error when they try to match the colormap created by the default visual and the first 8-bit PseudoColor visual they can find.
Changing OpenGL Visual Support
- Solaris 2.5.1 SHWP supports the OpenGL visual expansion. With visual expansion, five visual groups: the 8-bit PseudoColor, 24-bit TrueColor (Linear and Non-Linear), 24-bit DirectColor and 8-bit PseudoColor Overlay, will be expanded from a single visual to multiple visual instances of the same visual type. Different instances of in the same visual groups represent different GLX capabilities (e.g. Single-buffer or double-buffer capable, monoscopic or stereoscopic capable, or a combination of both). The number of visual instances depends on whether the X server is started in monoscopic or stereoscopic mode, and also whether the device is a Creator or Creator 3D.
· To activate OpenGL visual support (visual expansion), enter the following:
-

Changing SERVER_OVERLAY_VISUALS Support
- SERVER_OVERLAY_VISUALS is one of the root window's properties that contains the visual ID, transparent type, transparent value, and layer of the server overlay visuals (SOV) of the screen. You can toggle the advertisement of this property and the export of the transparent server overlay visuals using ffbconfig.
· To advertise SERVER_OVERLAY_PROPERTY and export SOV, enter the following:
-

Impact on Screen Visual List by Various ffbconfig Visual Flags
Effect on the Default Visual and the Visual Group Ordering
- In summary, the appearance of the X server screen visual list can be changed to fit the user's needs using any of the ffbconfig visual flags (e.g. linearorder, overlayorder, expvis, sov, etc.). This section briefly shows the effect of these visual options on the visual list.
- Without any alteration using ffbconfig, the X server screen visual list can roughly be categorized in the following visual groups and order:
-
- 8-bit PseudoColor
- 8-bit Miscellaneous (StaticColor, Non-linear StaticGray, etc)
- 8-bit Linear StaticGray
-
- 8-bit PseudoColor Overlay
- 24-bit Non-linear TrueColor
- 24-bit DirectColor
- 24-bit Linear TrueColor
- The default screen visual will be the 8-bit PseudoColor visual. The deflinear and defoverlay options will alter this pointer to point to the first 8- or 24-bit linear visual, depending on the X server depth when it starts up, and the first 8-bit overlay visual, respectively. You can rearrange the entire "8-bit PseudoColor Overlay" group, the "8-bit Linear StaticGray" group and the "24-bit Linear TrueColor" group to be ahead of all other visual groups of the same depth by using the linearorder and overlayorder flags. For example, if you specify the following:
-

- The screen visuals list will be rearranged in the following order:
-
- 8-bit PseudoColor Overlay
- 8-bit PseudoColor
- 8-bit Miscellaneous (StaticColor, Non-linear StaticGray... etc)
- 8-bit Linear StaticGray
- 24-bit Non-linear TrueColor
- 24-bit DirectColor
- 24-bit Linear TrueColor
Effect on the Number of Visual Instances Within Selected Groups
- The expvis flag will change the number of visual instances in the following visual groups:
-
- 8-bit PseudoColor
- 8-bit PseudoColor Overlay
- 24-bit Non-linear TrueColor
- 24-bit DirectColor
- 24-bit Linear TrueColor
- The number of instances that expvis will alter depends on whether the monitor is in monoscopic or stereoscopic resolution. In monoscopic resolution, if expvis is enabled, the order of the screen visual groups will be preserved, but within each group mentioned above, a "double-buffer capable" visual instance will be added. In stereoscopic resolution, two additional visual instances: "double-buffer, stereo capable" and "single-buffer, stereo capable", will be added. The "double-buffer capable" visual instances, if present, will always come ahead of the "single-buffer capable" visual instances, and the monoscopic visual instances will always come ahead of the stereoscopic ones.
- For example, if you specify the following in stereoscopic resolution:
-

- the screen visual list will be:
-
- 8-bit PseudoColor Overlay (Mono, Stereo)
- 8-bit PseudoColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 8-bit Miscellaneous (StaticColor, Non-linear StaticGray... etc)
- 8-bit Linear StaticGray
- 24-bit Linear TrueColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 24-bit Non-linear TrueColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 24-bit DirectColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
-
Note - There is no double-buffer capable overlay visual instance.
Addition of the SERVER_OVERLAY_VISUALS Property and the Transparent SOV Visuals in the 8-bit Overlay Group
- Without the sov option being enabled, the only overlay visuals available are the ones without transparency. Enabling the sov option will add the transparent SOV visual instances into the screen visual list and also add the SERVER_OVERLAY_VISUALS property to the root window property. The transparent SOV visual instances belong to the "8-bit PseudoColor Overlay" visual group. The SERVER_OVERLAY_VISUALS property will contain the visuals' ID, transparent type, value, and layer of all available overlay visuals of the screen.
- For example, if you specify the following in stereoscopic resolution:
-

- the screen visuals list will be:
-
- 8-bit PseudoColor Overlay (Mono, Stereo, Mono SOV, Stereo SOV)
- 8-bit PseudoColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 8-bit Miscellaneous (StaticColor, Non-linear StaticGray... etc)
- 8-bit Linear StaticGray
- 24-bit Linear TrueColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 24-bit Non-linear TrueColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- 24-bit DirectColor (DB Mono, SB Mono, DB Stereo, SB Stereo)
- and the SERVER_OVERLAY_VISUALS property will contain the following information:
-

|
|