A P P E N D I X C |
Color Depth Options |
This appendix provides color depth option information.
Use the -depth option to set the default depth (bits per pixel) on the device. Possible values are 8 or 24.
Log out of the current window system session and log back in for the change to take effect. Any depth setting in the Xserver command line takes precedence over what is set using fbconfig. The default is 24.
For the Solaris 10 Operating System, do the following to set or reset the default color depth. To set 8 or 24 as the default color depth, use /usr/sbin/svccfg to reconfigure your Xservers file.
/usr/sbin/svccfg -s x11-server setprop option/default_depth=8 /usr/sbin/svccfg -s x11-server setprop option/default_depth=24 |
When multiple windows are used in an 8-bit window system, the colors can change as the cursor is moved from window to window. There are two methods for avoiding colormap flash:
When the Sun XVR-300 graphics accelerator is set to -depth 24, it can only run OpenGL applications with RGBA visual.
When it is set to -depth 8, it can only run OpenGL applications with INDEX visual.
To Use the -depth 24 Option |
1. Using the fbconfig command, type:
Note - 24-bit depth performance can be slower than 8-bit depth mode. |
To Use the -fake8 Option |
1. Using the fbconfig command, type:
Note - 8-bit depth performance is slower in 8+24 (-fake8) mode. |
Copyright © 2007, Sun Microsystems, Inc. All Rights Reserved.