SunVTS 2.1 Test Reference Manual
  Suchtext Nur in diesem Buch
Dieses Buch im PDF-Format herunterladen
CHAPTER 8

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 the prompt to disable the Solaris screen saver.
To start SunVTS with vtsui, but without vtsk, add the host name to xhost as: xhost + <hostname>.

cg6 Subtests

TABLE 8-1 cg6
SubtestsDescription
Cursor TestVisually 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 ModeCreates 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 TestVerifies that the Transformation Engine and Cursor control logic are being accessed. This confirms that further TEC access is performed correctly
FBC TestVerifies that the Frame Buffer Controller logic is being accessed. This confirms that further FBC access is performed correctly.
Frame Buffer TestVerifies 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 BlitsDraws 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 TestDraws a block of data and blit into a location at the bottom right rectangle
TABLE 8-1 cg6
SubtestsDescription
Line TestDraws 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 TestDraws 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 TestLoads 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

Grafik

FIGURE 8-1 cg6

FB Locking

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

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 Functional test.

cg6 Command Line Syntax

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

TABLE 8-2 cg6
ArgumentExplanation
dev=device_nameSpecifies the path of the cg14 device file to be tested; for example: /dev/fbs/device_name
lock=E(nable)/D(isable)Enables/disables the window system locking option. See the section about Testing Multiple Frame Buffers in the SunVTS 2.1 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

TABLE 8-3 cg6

Error MessageProbable Cause(s)Suggested Action (if applicable)
6000Resolution not supported for double buffering
Change to other resolutions
6002data error: x_pos: <number>, y_pos: <number>. *mobs: <number>, *mexp: <number>Faulty frame bufferIf the problem persists, call your authorized Sun service provider.
6004FB Screen Test data error: xpos=<number>, ypos=<number>, exp(<number>), obs(<number>)Faulty frame bufferIf the problem persists, call your authorized Sun service provider.
6006Data Error: Screen location x: <number>, y: <number>, Obs: <number>, Exp: <number>Faulty frame bufferIf the problem persists, call your authorized Sun service provider.
6007Multibuffering extension does not existsFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6008   Cannot create CMAP

System errorprovider.If the problem persists, call your authorized Sun service
6009
6010Could not get color
System errorIf the problem persists, call your authorized Sun service
Faulty frame buffer
provider.
6011<name>

off(<number>)exp(<number>), obs(<number>), xor(<number>) <name>

Faulty frame bufferIf the problem persists, call your authorized Sun service provider.
6012Checksum test failed for PROM. Observed: <number>, Expected: <number>Faulty frame bufferIf the problem persists, call your authorized Sun service provider.
6014Unable to lock frame bufferFB lock was enabled while Window System was not running
TABLE 8-3 cg6(Continued)

Error MessageProbable Cause(s)Suggested Action (if applicable)
6016Found error in sine testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6018Found error in cursor testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6020Found error in fb testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6022Found error in polygon testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6024Found error in cmap testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6026Found error in db testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6028Found error in line testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
6030Found error in dac testFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
8000<name> not mappedSystem errorIf the problem persists, call your authorized Sun service provider.
8002can't acquire console semaphoreSystem errorIf the problem persists, call your authorized Sun service provider.
8004XCreateSimpleWindow failedSystem errorIf the problem persists, call your authorized Sun service provider.
8008Couldn't create enough buffersNot enough memory availableReduce the system load.


System errorIf the problem persists, call your authorized Sun service provider.
TABLE 8-3 cg6(Continued)

Error MessageProbable Cause(s)Suggested Action (if applicable)
8010grab of pointer unsuccessfulNot enough memory availableReduce the system load.


System errorIf the problem persists, call your authorized Sun service provider.
8012cmap mapping failedNot enough memory availableReduce the system load.


System errorIf the problem persists, call your authorized Sun service provider.
8014Blit status. Could not launch drawFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
8016Draw Wait FBC_DRAW
status=<number>
Faulty frame bufferIf the problem persists, call
your authorized Sun service
provider.
8018Could not get cmapFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
8020Could not get colorFaulty frame bufferIf the problem persists, call your authorized Sun service provider.
8022Could not create childIncorrect device nameRe-enter the correct name.

raster

Not enough memory availableReduce the system load.
8024Failed to get mallocNot enough memory availableReduce the system load.


System error
8026Cannot create CMAPSystem errorIf the problem persists, call your authorized Sun service provider.


Faulty frame buffer
8028Couldn't get hostname of machine under testSystem errorIf the problem persists, call your authorized Sun service provider.
TABLE 8-3 cg6(Continued)

Error MessageProbable Cause(s)Suggested Action (if applicable)
8030Failed in opening deviceIncorrect device nameRe-enter the correct name.

<name>

Faulty Frame BufferIf the problem persists, call your authorized Sun service provider.
8032Failed to create rasterIncorrect device nameRe-enter the correct name.


Not enough memory availableReduce the system load.
8034Failed to create contextNot enough memory availableReduce the system load.


System errorIf the problem persists, call your authorized Sun service provider.
8036fbs/cgsix0 FATAL: "mmap() failedOverloaded systemReduce the system load.


System errorCheck OS release number.