The
cgsix is a memory based color frame buffer. It supports the minimal ioctl's needed to run
X(7).
There are several versions of the
cgsix board. The Sun part numbers and board types are:
501-1505
P4 GX with 3/80 backpanel
501-1481, 501-1645
Sbus double-width GX
501-1672, 501-1996
Sbus GX
501-1717, 501-2018, 501-2039
Sbus GX+
501-2325, 501-2922
Sbus TGX
501-2253, 501-2955
Sbus TGX+
There are also on-board ‘GX' cards in the ‘SPARCstation IPX' and ‘SPARCstation LX' machines.
The ‘GX' and ‘TGX' cards have 1Mb of on-board memory and support a maximum graphics resolution of 1152x900. The ‘GX+' cards have 4Mb of on-board memory and support a maximum resolution of 1280x1024. The ‘TGX+' cards have 4Mb of on-board memory and support a maximum resolution of 1600x1280. The ‘TGX' (Turbo GX) cards are faster than the ‘GX' cards.
The number of supported resolutions varies by card type. All cards support a resolution of 1152x900 at 66Hz. All but the P4 and double-width cards support a resolution of 1152x900 at 76Hz. The cards default to a resolution dependent on the attached monitor (usually 1152x900).
It is only possible to change the resolution of a
cgsix card from the PROM before the operating system is loaded. For the primary card, this can be done using the ‘output-device' PROM field. For example, for a ‘TGX+' card, the following PROM command will set the resolution to 1280x1024 at 76Hz:
setenv output-device screen:r1280x1024x76
For secondary cards, a different method must be used to set the resolution. For a machine with OpenBoot 2.x or 3.x, and assuming a ‘TGX' card at Sbus slot 1, the following PROM commands will set the resolution to 1024x768 at 60Hz:
nvedit
probe-all
" /iommu/sbus/cgsix@1" select-dev
r1024x768x60
" /iommu/sbus/cgsix@1" " set-resolution" execute-device-method
device-end
install-console
banner
^C
nvstore
setenv use-nvramrc? true
reset
For Sun4c machines, the device-path above would be:
For Sun-4 and Sun-3 systems, it is only possible to change PROM fields by altering byte values. For these systems, it is probably easier to use the
eeprom(8) command to set the
scrsize field to the desired resolution.