Platform Notes: SMCC Frame Buffers
검색에만이 책은
PDF로 이 문서 다운로드
CHAPTER 8

PGX Graphics Accelerator


This chapter describes how to change the display resolution on the PGX Graphics Accelerator.
You can change the PGX screen and associated graphics hardware through the m64config utility. Options are specified on the command line. The specified options can be stored in the OWconfig file to provide persistence of the options across window system sessions and system reboots.
Use the m64config utility to:
  • Specify the video mode (screen resolution and refresh rate).
  • Specify the OWconfig file to update.
  • Reset all option values to their default values.
  • Print the current values of all PGX options in the OWconfig file.
  • Print the PGX hardware configuration.

Note - m64 is the UNIX device name for the PGX Graphics Accelerator.


Supported Screen Resolutions

TABLE 8-1 lists the screen resolutions that are supported by the PGX Graphics Accelerator.
TABLE 8-1
Screen ResolutionVertical Refresh RateDescription
1600 . 100076 HzNon-interlaced
1600 . 100066 HzNon-interlaced
1440 . 90076 HzNon-interlaced
1280 . 102476 HzNon-interlaced
1280 . 102475 HzNon-interlaced
1280 . 102467 HzNon-interlaced
1280 . 102460 HzNon-interlaced
1280 . 80076 HzNon-interlaced
1152 . 90076 HzNon-interlaced
1152 . 90066 HzNon-interlaced
1024 . 76875 HzNon-interlaced
1024 . 76870 HzNon-interlaced
1024 . 76860 HzSVGA (non-interlaced)
800 . 60075 HzNon-interlaced
768 . 57550 HzPAL (interlaced)
640 . 48060 HzNTSC (interlaced)

Changing the Screen Resolution Temporarily

This example changes the screen resolution temporarily. It can be used to verify that the monitor supports the specified resolution.

Imported image(369x60)

TABLE 8-2 lists the video-mode options. You are given ten seconds to confirm the video mode by typing y.
TABLE 8-2
Video Mode

Width.Height.RateSymbolic NameResolution
1600x1000x76
1600 . 1000 at 76 Hz
1600x1000x661600 . 1000 at 66 Hz
1440x900x761440 . 900 at 76 Hz
1280x1024x7612801280 . 1024 at 76 Hz
1280x1024x751280 . 1024 at 75 Hz
1280x1024x671280 . 1024 at 67 Hz
1280x1024x601280 . 1024 at 60 Hz
1280x800x761280 . 800 at 76 Hz
1152x900x7611521152 . 900 at 76 Hz
1152x900x661152 . 900 at 66 Hz
1024x768x751024 . 768 at 75 Hz
1024x768x701024 . 768 at 70 Hz
1024x768x60svga1024 . 768 at 60 Hz
800x600x751024 . 600 at 75 Hz
768x575x50ipal768 . 575 at 50 Hz, interlaced
640x480x60intsc640 . 480 at 60 Hz, interlaced
noneThe video mode currently programmed for the device
For example, to try the 1152 . 900 resolution at 76 Hz, enter one of the following formats:
This example uses the Width.Height.Rate format

Imported image(369x60)

This example uses the symbolic name format.

Imported image(369x60)


Printing the PGX Hardware Configuration

· To print the PGX hardware configuration information, type:

Imported image(369x60)

The following is a typical display of the hardware configuration information:

  --- Hardware Configuration for /dev/fbs/m640 ---  
  ASIC: version 0x41004754  
  DAC: version 0x0  
  PROM: version 0x0  
  Card possible resolutions: 640x480x60, 800x600x75, 1024x768x60  
       1024x768x70, 1024x768x75, 1280x1024x75, 1280x1024x76  
       1280x1024x60, 1152x900x66, 1152x900x76, 1280x1024x67  
       960x680x112S, 960x680x108S, 640x480x60i, 768x575x50i, 1280x800x76  
       1440x900x76, 1600x1000x66, 1600x1000x76, vga, svga, 1152, 1280  
       stereo, ntsc, pal  
  Monitor possible resolutions:  720x400x70, 720x400x88, 640x480x60  
       640x480x67, 640x480x72, 640x480x75, 800x600x56, 800x600x60  
       800x600x72, 800x600x75, 832x624x75, 1024x768x87, 1024x768x60  
       1024x768x70, 1024x768x75, 1280x1024x75, 1280x1024x76, 1152x900x66  
       1152x900x76, 1280x1024x67, 960x680x112S, vga, svga, 1152, 1280  
       stereo  
  Current resolution setting: 1280x1024x76  
  Current depth: 8  


For More Information

The examples in this chapter are only two of the simpler uses of the m64config utility. For more information on m64config, see the m64config man page.

PEX Library Bug Workaround

Some 3D applications may experience problems when run on the PGX frame buffer. Problems may range from incorrect rendering to window system crashes.
The work-around for these problems is to set the environment variable XGLNOPEX before executing any 3D applications. For example:

Imported image(369x59)

You do not have to assign any particular value to this environment variable, just create it.