SunVTS 2.0 Test Reference Manual
검색에만이 책은
PDF로 이 문서 다운로드

cg6

6

Frame Buffer, GX, GX+ and TGX Options Test (cg6)

The cg6 test verifies the cgsix frame buffer and the graphics options offered with most SPARC(TM) based workstations and servers. This test stresses the frame buffer with the subtests described below.

Note - Disable all screen savers before testing any graphics device. Type xset s off at a UNIX prompt to disable the Solaris screen saver.
To start SunVTS with vtsui, but without vtsk, you must add the hostname to xhost as:
xhost + <hostname>.
  • Cursor Test visually checks the overlay registers of the RAMDAC. A pointer is drawn on the screen and moved around to predetermined locations. There is a problem if the pointer disappears. This visual test ensures that the overlay is working properly.
  • Fast Copy in Double Buffer Test Mode creates two full-size screen raster images in double buffer mode. Different patterns are written to each of them. The hidden buffer is copied to the visible buffer, and the data is compared. An error message is returned if there are inconsistencies. Then the buffer is flipped and the process is repeated.

Note - This test only applies to Sun Microsystems GX+ graphic accelerators with double-buffering capacity.

  • TEC Test verifies that the Transformation Engine and Cursor control logic are being accessed. This confirms that further TEC access is performed correctly.
  • FBC Test verifies that the Frame Buffer Controller logic is being accessed. This confirms that further FBC access is performed correctly.
  • Frame Buffer Test verifies that the frame buffer memory is working. A walking 1 pattern is written to memory, with a specific color signifying one of eight bits. The screen is divided into eight equally wide vertical stripes. A walking one is written to each stripe, causing eight iterations of these stripes. The value written is read back and checked. If the values do not match, an error is reported.
  • Screen Test Using Blits draws blocks of color and performs blit transfers to other portions of the screen. First, the entire screen is drawn with cyan, then a black block is put in the upper left corner. This subtest blits this block on the upper right, lower right, and lower left corners, then or's the whole image.
  • Blit Test draws a block of data and blit into a location at the bottom right rectangle.
  • Line Test draws lines on the screen in different colors with different data values. The data is read back and compared with the expected values. An error is returned in the case of a mismatch.
  • Polygon Test draws hourglass-shaped polygons on the screen, using the four vertices. After all the polygons are rendered in the video memory, they are read back and the data compared with expected values. If there is a mismatch, an error is displayed.
  • Colormap Test loads all 256 locations in the color map with a greyscale, both backwards and forwards. This means decreasing values are loaded to all R, G, and B values.

Note - If the system being tested has a monochrome or greyscale monitor, visual color problems are undetectable.

cg6 Options

FB Locking
See the section about Testing Frame Buffers in the SunVTS 2.0 User's Guide for details about frame buffer locking.

그래픽

Figure 6-1 cg6

cg6 Test Modes

Due to the nature of graphic tests, reading from or writing to the frame buffer during graphic tests will disturb user operation. This test is only available in offline mode.
Connectivity Mode Not applicable for this test.
Online Mode Not applicable for this test.
Offline Mode The cg6 test verifies the cgsix frame buffer (GX, GX+ or TGX) offered with most SPARC TM based workstations and servers. The subtests are described in the first section of this chapter.

cg6 Command Line Syntax

/opt/SUNWvts/bin/cg14test standard_arguments -o dev=device_name,
lock=E(nable)/D(isable),L,Passes=number,I

ArgumentExplanation
dev=device_nameSpecifies the path of the cg14 device file to be tested; for example: /dev/fbs/device_name
lock=E(nable)/D(is
able)
Enables/disables the window system locking option. See the
section about Testing Multiple Frame Buffers in SunVTS 2.0
User's Guide for details. Do not use when device is the window
system display.
LEnables the long TMRB test.
Passes=numberIndicates the number of passes to run; the default is 1 pass.
IEnables optional driver ioctl tests for cursor. Note: Do not move the mouse during the cg14test when you run this option.

Note - Extra swap space of 5 MB is required.

cg6 Error Messages

The error messages described below are returned by cg6 for subtest failures:
6000 Resolution not supported for double buffering.

Recommended_Action(s):
a. Change to other resolutions.
6002 data error: x_pos: <number>, y_pos: <number>. *mobs:
<number>, *mexp: <number>.

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6004 FB Screen Test data error:  xpos=<number>,
ypos=<number>, exp(<number>), obs(<number>)

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6006 Data Error: Screen location x: <number>, y: <number>,
Obs: <number>, Exp: <number>

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6007 Multibuffering extension does not exists.

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6008 Cannot create CMAP

Probable_Cause(s):
a. System error b. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6009 <name>

off(<number>)exp(<number>), obs(<number>), xor(<number>)
Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6010 Could not get color

Probable_Cause(s):
a. System error b. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6011 <name>

off(<number>)exp(<number>), obs(<number>), xor(<number>) <name>
Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6012 Checksum test failed for PROM. Observed: <number>,
Expected: <number>

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6014 Unable to lock frame buffer.

Probable_Cause(s):
a. FB lock was enabled while Window System was not running.
6016 Found error in sine test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6018 Found error in cursor test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6020 Found error in fb test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6022 Found error in polygon test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6024 Found error in cmap test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6026 Found error in db test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6028 Found error in line test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
6030 Found error in dac test

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8000 <name> not mapped.

Probable_Cause(s):
a. System error
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8002 can't acquire console semaphore

Probable_Cause(s):
a. System error
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8004 XCreateSimpleWindow failed

Probable_Cause(s):
a. System error
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8008 Couldn't create enough buffers.

Probable_Cause(s):
a. Not enough memory available b. System error
Recommended_Action(s):
a. Reduce system load b. If the problem persists, call your authorized Sun service provider.
8010 grab of pointer unsuccessful

Probable_Cause(s):
a. Not enough memory available b. System error
Recommended_Action(s):
a. Reduce system load b. If the problem persists, call your authorized Sun service provider.
8012 cmap mapping failed.

Probable_Cause(s):
a. Not enough memory available b. System error
Recommended_Action(s):
a. Reduce system load b. If the problem persists, call your authorized Sun service provider.
8014 Blit status

Could not launch draw
Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8016 Draw Wait FBC_DRAW status=<number>

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8028 Could not get cmap

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8020 Could not get color

Probable_Cause(s):
a. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8022 Could not create child raster.

Probable_Cause(s):
a. Incorrect device name b. Not enough memory available
Recommended_Action(s):
a. Re-enter the correct name b. Reduce system load.
8024 Failed to get malloc

Probable_Cause(s):
a. Not enough memory available b. System error
Recommended_Action(s):
a. Reduce system load.
8026 Cannot create CMAP

Probable_Cause(s):
a. System error b. Faulty Frame Buffer
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8028 Couldn't get hostname of machine under test.

Probable_Cause(s):
a. System error
Recommended_Action(s):
a. If the problem persists, call your authorized Sun service provider.
8030 Failed in opening device <name>

Probable_Cause(s):
a. Incorrect device name b. Faulty Frame Buffer
Recommended_Action(s):
a. Re-Enter the correct name b. If the problem persists, call your authorized Sun service provider.
8032 Failed to create raster.

Probable_Cause(s):
a. Incorrect device name b. Not enough memory available
Recommended_Action(s):
a. Re-Enter the correct name
b. Reduce system load.
8034 Failed to create context.

Probable_Cause(s):
a. Not enough memory available b. System error
Recommended_Action(s):
a. Reduce system load b. If the problem persists, call your authorized Sun service provider.