beautypg.com

Tech Source Raptor DL-Lite Drivers for HP-UX User Manual

Page 19

background image

Chapter 4 – Invoking X Windows

4-3


NOTE: This method of setting the default visual has an effect only
in the 8+24-bit mode.

4.3.1 Config File


The depth of the Raptor card can be set using the

/var/X11/TSIScreenConfig

file. Each row in the file

corresponds to a specific Raptor card that is identified by its device
name. The fields in each row are separated by spaces. In the
sample config file shown below the bit-depth of the Raptor
(

rapdlt0

) card is set to 8+24. The cached pixmap field is used for

debugging purposes only and should always be set to 1. The other
fields are irrelevant for this product.

# device Depth Resolution Sync Cached Resfile

pixmap

rapdlt0

8+24

DEFAULT 1 1 trzresinfo

4.3.2 STARSMODE Variable


The bit-depth of the Raptor card can be set using the

STARSMODE

environment variable. This variable should be set before starting up
the X server.

For example, set the bit-depth of the Raptor card to 8+24

#setenv STARSMODE +8+24


To set the bit-depth of the Raptor card to 8+8

#setenv STARSMODE +8+8


Other bit-depths can be selected in a similar manner.

In a multi-screen configuration of Raptor cards, this method will set
the bit-depth of all the screens to the same value.

NOTE: In the case when both the methods to set bit-depth are
used, the

STARSMODE

variable takes precedence over the settings

in the

TSIScreenConfig

file.