Solaris Handbook for Sun Frame Buffers

Other Methods for Changing the Screen Resolution

Normally, the default screen resolution is sufficient for most users. However, you may need to change the default resolution if:

Guidelines

The general guidelines to follow when changing the default screen resolutions are:

Methods

The procedures for changing the screen resolution described in this chapter include:

EDID Auto-detect Feature for PGX32

If you are using a monitor with DDC2B/EDID protocol, the default resolution will be determined using the Auto-Detect feature. With this protocol, the GFX card first checks the Standard Timing Identifiers (taking the first one supported), then tries to match the Established Timings. Failing the above method, the card will default to 1152 x 900 x 66.


Note -

The monitor must be turned on prior to booting the system in order for the PGX32 to communicate with it.


The methods described in this appendix will override any information obtained via EDID.

output-device Method

It is possible to specify the screen resolution of PGX32 card via the output-device environment variable by using the format screen:rAxBxC, where:A is the desired horizontal resolution, B is the desired vertical resolution, and C is the desired refresh rate.

The system will check these values against an internal list of resolutions (see Table 6-3), and use the corresponding entry as the screen resolution.

For example, to use VESA1024 x 768 at 75 as the screen resolution, type the following at the ok prompt:


ok setenv output-device screen:r1024x768x75
ok reset


Note -

The new screen resolution will take effect following the reset, and will hold the resolution information until the output-device variable is changed manually.


Video Mode Method

At the ok prompt in Boot PROM mode, the screen resolution can be easily set on the PGX32 cards by using one of the 34 preinstalled resolution modes. These resolution settings are identified by video modes 0-33 (Table 6-3).


Note -

Use video modes 0-25 to select a screen depth of 24 bits, or video modes 26-33 to select a screen depth of 8 bits.


Table 6-3 PGX32 Screen Resolutions

Mode 

Resolution 

640 x 480 @ 60 

640 x 480 @ 72 

640 x 480 @ 75 

640 x 480 @ 85 

800 x 600 @ 60 

800 x 600 @ 72 

800 x 600 @ 75 

800 x 600 @ 85 

1024 x 768 @ 60 

1024 x 768 @ 70 

10 

1024 x 768 @ 75 

11 

1024 x 768 @ 77 * 

12 

1024 x 768 @ 85 

13 

1024 x 800 @ 85 * 

14 

1152 x 900 @ 60 

15 

1152 x 900 @ 66 * 

16 

1152 x 900 @ 70 

17 

1152 x 900 @ 75 

18 

1152 x 900 @ 76 * 

19 

1152 x 900 @ 85 

20 

1280 x 800 @ 76 * 

21 

1280 x 1024 @ 60 

22 

1280 x 1024 @ 67 * 

23 

1280 x 1024 @ 75 

24 

1280 x 1024 @ 76 * 

25 

1280 x 1024 @ 85 

26 

1600 x 1200 @ 66 * 

27 

1600 x 1200 @ 76 * 

28 

1600 x 1200 @ 60 

29 

1600 x 1200 @ 65 

30 

1600 x 1200 @ 70 

31 

1600 x 1200 @ 75 

32 

1600 x 1200 @ 76 

33 

1600 x 1200 @ 80 * 


Note -

See "Using nvedit to Modify NVRAM" for a description of nvedit commands.


For example, to set the screen resolution to 1024 x 768 at 60Hz, video-mode 8, type:


ok nvedit
  0: 8 value video-mode  1: <ctrl-c>
ok nvstore
ok setenv use-nvramrc? true
ok reset


Note -

The last three commands enable the NVRAM. Without these lines, the changes you make with nvedit will be ignored.


Video Timing Method

If all of the previously described methods fail for your configuration, it is possible to specify the exact timing numbers for a particular resolution. The last method for setting the screen resolution also uses nvedit. This method is more involved and requires knowledge of all timing parameters for the desired resolution. Therefore, this method is only meant for monitors whose resolutions are not available in the Video-Mode Method. See "Using nvedit to Modify NVRAM" for a description of nvedit commands.


Note -

You should use this method only if the previous methods have been unsuccessful.


For example, to set the screen resolution to 1280 x 1024 at 76 Hz:


ok nvedit
 0: : video-timing " 1280, 384, 32, 64, \
		1024, 43, 3, 8, 135000000, 0" ;
 1:	<ctrl-c>
ok nvstore
ok setenv use-nvramrc? true
ok reset


Note -

The syntax is very important. The spaces must be present exactly as they appear in the example.



Note -

The last three commands enable the NVRAM. Without these lines, the changes you make with nvedit will be ignored.


Following is a brief description of the ten parameters used in this method.

Table 6-4 Sync Values

Sync Value 

Meaning 

separate sync 

sync on green 

512 

positive vertical sync pulse 

1024 

positive horizontal sync pulse 

2048 

composite sync 


Note -

To obtain the timing parameters required to use this method, contact SunService at 1-800-USA-4SUN with your monitor requirements.