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

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 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 7-1 cg6
SubtestsDescription
Cursor Testcg6 visually checks the overlay registers of the RAMDAC. A pointer is drawn on the screen and moved 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, writing different patterns to each. 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 accessible to confirm that further TEC access is performed correctly.
FBC TestVerifies that the Frame Buffer Controller logic is accessible to confirm that further FBC access is performed correctly.
Frame Buffer TestVerifies that the frame buffer memory is working. A "walking ones" 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 placed 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 7-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 backward and forward. 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

그래픽

FIGURE 7-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 7-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=numberThe number of passes to run; the default is 1.
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 MBytes is required.


cg6 Error Messages

TABLE 7-3 cg6

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

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

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

Faulty frame buffer.If the problem persists, call your authorized Sun service provider.
6012Checksum test failed for PROM. Observed: number, Expected: numberFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6014Unable to lock frame bufferFB lock was enabled while window system was not running.Disable the FB lock.
6016Found error in sine testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
TABLE 7-3 cg6(Continued)

Error MessageProbable Cause(s)Recommended Action(s)
6018Found error in cursor testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6020Found error in fb testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6022Found error in polygon testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6024Found error in cmap testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6026Found error in db testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6028Found error in line testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
6030Found error in dac testFaulty frame buffer.If the problem persists, call your authorized Sun service provider.
8000name not mappedSystem error.If the problem persists, call your authorized Sun service provider.
8002can't acquire console semaphoreSystem error.If the problem persists, call your authorized Sun service provider.
8004XCreateSimpleWindow failedSystem error.If the problem persists, call your authorized Sun service provider.
8008Couldn't create enough buffersNot enough memory available.Reduce the system load.


System error.If the problem persists, call your authorized Sun service provider.
8010grab of pointer unsuccessfulNot enough memory available.Reduce the system load.


System error.If the problem persists, call your authorized Sun service provider.
TABLE 7-3 cg6(Continued)

Error MessageProbable Cause(s)Recommended Action(s)
8012cmap mapping failedNot enough memory available.Reduce the system load.


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

raster

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


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


Faulty frame buffer.
8028Couldn't get hostname of machine under testSystem error.If the problem persists, call your authorized Sun service provider.
8030Failed in opening device nameIncorrect device name.Re-enter the correct name.


Faulty frame buffer.If the problem persists, call your authorized Sun service provider.
8032Failed to create rasterIncorrect device name.Re-enter the correct name.


Not enough memory available.Reduce the system load.
TABLE 7-3 cg6(Continued)

Error MessageProbable Cause(s)Recommended Action(s)
8034Failed to create contextNot enough memory available.Reduce the system load.


System error.If the problem persists, call your authorized Sun service provider.
8036fbs/cgsix0 FATAL: "mmap()Overloaded system.Reduce the system load.

failed

System error.Check OS release number.