SunVTS 2.1 Test Reference Manual
  Procure somente este livro
Fazer download desta apostila em PDF
CHAPTER 39

S24 Frame Buffer Test (tcxtest)


Through a series of protocol, memory, acceleration, and colormap tests, tcxtest checks the functionality of the S24 Frame Buffer SBus card used on the SPARCstation5 and checks the FSV (fast SBus video) ASIC on the SPARCstation4 motherboard.

Note - Disable all screen savers before testing any graphics device. Type xset s off at a UNIX prompt to disable the Solaris screen saver.


Test Groups

tcxtest has four distinct test groups:
  • AFX Protocol tests (in 8/16/32/64-bit mode)

    · WRC

  • Frame Buffer Memory tests (in 8/16/32/64-bit14 mode)
· address
· constant
· random

  • Acceleration tests (both User and Raw modes)
· blit
· stip

  • Colormap and Cursor tests

    · cursor (does not apply to SPARCstation4)

· colormap


tcxtest Subtests

TABLE 39-1 tcxtest
tcxtest SubtestsDescription
WRCBy performing multiple writes and reads, and then verifying the results, the WRC test exercises the FIFO inside the S24 chip. The WRC test is composed of these three subtests: test_afx_alt_wr, test_memafx, and test_afx_random. If these tests fail, they print an error message showing the expected and observed data.
Test_afx_alt_wrThis test performs 16 writes to alternative pages (for example: WR (Page1), WR (Page2), WR (Page1+off), WR (Page2+off), etc.). It then reads back the data and compares it with the expected results. This test also writes to the frame buffer space 16 times, followed by a write to a different page in the frame buffer space. The test then reads this data back and verifies it with the expected results.
Test_memafxThe CPU in the SWIFT chip has closely coupled interfaces for the DRAM and the AFX bus. This test checks the arbitration between the two accesses.

This test performs a number of alternating writes to the AFX and the CPU memory. After writing to different locations, the test reads and verifies the data. By performing an access across the page boundaries, the test covers both the cached and non-cached accesses.

Test_afx_randomAfter writing to one page in the DRAM memory, the test performs a few random writes/reads to random locations in the AFX space. The test then writes to a different page in the DRAM space, where it performs random accesses again. This test does not perform any data verification, it just checks to see if any of these random accesses caused a time out.
ConstantThis test writes a data pattern to the whole memory. This pattern is read back and compared with the expected data. Once the memory fill operation is completed, the test reads the memory back and verifies that the value read is correct.
AddressThis test writes a data pattern (which is same as the value of the address) to the whole memory. This pattern is then read back to verify that it is the correct value.
RandomThis test writes a random data pattern to the whole memory. This pattern is read back and compared with the expected data. After the memory fill operation is completed, the test reads the memory and verifies the values read are correct.
TABLE 39-1 tcxtest
tcxtest SubtestsDescription
blitThis test has two parts, the raw blit test and the user blit test. The raw blit test draws a 64x64x24 pixel image at the top left corner of screen. It then blits the image to the screen. The destination images are read back and compared with the original image to verify the raw blit operation executed correctly. The user blit test draws a 64x64x24 pixel image at the top left corner of screen. It then blits the image to the screen. The destination images are read back and compared with the original image. The user blit test is the same as the raw blit test, except the user blit test uses the user data space for the blit command.
stipThis test performs numerous coner cases for stipple. The test writes to the destination with different data values using a stipple operation. The destination data is read back and verified. For the fast SBus video (SV), the following is checked: Walks 1 through pixel mask

Walks 1 through ROP bits

Walks 1 through destination byte

Walks 1 through IDX byte

cursor (does not apply to SPARCstation 4)This test performs a data register regression test. It writes a walking 1 pattern to the cursor data registers. The data is then read back and verified with the expected results. The test is repeated using a walking 0 as the data pattern
colormapLoads all locations in the colormap with varying values of RGB. Note: If the system being tested has a monochrome or greyscale monitor, visual color problems are undetectable.

tcxtest Options

FB Locking is the only test parameter options for this test. See the section about testing multiple frame buffers in the SunVTS 2.1 User's Guide for details.
· Click enable or disable to configure Frame Buffer locking.

Gráfico

FIGURE 39-1 tcxtest


tcxtest Test Modes

Available only in the Functional test mode. Functional test is the default for tcxtest. tcxtest executes the appropriate subtests for the hardware platform being tested.

tcxtest Command Line Syntax

/opt/SUNWvts/bin/tcxtest standard_arguments -o
dev=device_name,lock=E(nable)/D(isable), X=bit_mode,T=test,S=[dfb8, dfb24,
dfb32]

TABLE 39-2 tcxtest
ArgumentExplanation
dev=device_nameSpecifies the filename of the device to be tested, for example: dev=tcx0
lock=E(nable)/
D(isable)
Enables or disables the window system locking option. See the
section about Testing Frame Buffers in SunVTS 2.1 User's Guide for
details. Do not use when device is the window system display.
X=bit_modeSpecifies the data transfer size; supported values are:
8byte
16short
32long
64double word
T=testSpecifies a particular test; to specify an individual test, replace test
with:
a=Address
c=Constant
r=Random
b=Blit
s=Stipple
h=Cursor
w=WRC
Note: When you select either the Blit or Stipple test, both the
User and Raw mode tests are executed.
S=[dfb8, dfb24, dfb32]Specifies which frame buffer memory space to use. -dfb8Dumb frame buffer 8-bit space. Memory is accessed only by bytes.

-dfb24Dumb frame buffer 24-bit space. Memory is accessed only by 24-bit reads and writes.

-dfb32Dumb frame buffer 8-bit space. Memory is accessed by 8-bit reads and writes.


tcxtest Error Messages

TABLE 39-3 tcxtest

Error MessageProbable Cause(s)Recommended Action
6000FBIOGATTR failed in is_24bit subroutineDriver not installedExamine system message files (/var/adm/messages) for other information.


OS driver problem


AFX bus error
6010Colormap failure,Bad RAMDACReplace the frame buffer card.

Address: <address>, red, Expected: <value> Observed: <value>Bad a24 boardExamine system message files (/var/adm/messages) for other information.


AFX bus error
6011Colormap failure,Bad RAMDACReplace the frame buffer card.

Address: <address>, green, Expected: <value> Observed: <value>Bad a24 boardExamine system message files (/var/adm/messages) for other information.


AFX bus error
6012Colormap failure,Bad RAMDACReplace the frame buffer card.

Address: <address>, blue, Expected: <value> Observed: <value>Bad a24 boardExamine system message files (/var/adm/messages) for other information.


AFX bus error
6013THC Cursor RegressionBad a24 boardReplace the frame buffer card.

failed Address: <address>, Expected: <value>, Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6014Can't clear frameBad a24 boardReplace the frame buffer card.

buffer, dst_start: <address>, src_start: <address>, Address: <value>, Observed: <value> Expected: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
TABLE 39-3 tcxtest(Continued)

Error MessageProbable Cause(s)Recommended Action
6015Frame buffer patternBad a24 boardReplace frame buffer card

test failed, dst_space: <address>, src_space: <address>, check_x = <value>, check_y = <value>, Address: <value>, Observed: <value> Expected: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6016Can't clear frame bufferBad a24 boardReplace the frame buffer card.

pattern, dst_space: <address>, src_space: <address>, check_x: <value>, check_y: <value>, Address: <value> Observed: <value> Expected: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6017Can't clear frame bufferBad a24 boardReplace the frame buffer card.

after write, Address: <value>, Expected: <value> Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6018Raw Blit test failed,Bad a24 boardReplace the frame buffer card.

Offset: <address>, Expected: <value> Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6019Blit test failedBad a24 boardReplace the frame buffer card.

CHECKING, Offset: <address>, Expected: <value> Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6020Blit test failed,Bad a24 boardReplace the frame buffer card.

Offset: <value>,
Expected: <value>
Observed: <value>
AFX bus errorExamine system message files
(/var/adm/messages) for
other information.
6021Blit accel test failed.Bad a24 boardReplace the frame buffer card.

Offset: <value>,
Expected :<value>
Observed: <value>
AFX bus errorExamine system message files
(/var/adm/messages) for
other information.
TABLE 39-3 tcxtest(Continued)

Error MessageProbable Cause(s)Recommended Action
6022Stipple test failed.Bad a24 boardReplace the frame buffer card.

Offset: <address>, Expected:<value> Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6025Raw Stipple test failed.Bad a24 boardReplace the frame buffer card.

Offset: <address>, Expected:<value> Observed: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.
6027Frame buffer patternBad RAMDACReplace the frame buffer card.

test miscompare, y: <value> x: <value> Observed: <value> Expected: <value>Bad a24 boardExamine system message files (/var/adm/messages) for other information.

Address: <value>AFX bus error
6029Afx protocol test <message> Expected: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.


Bad a24 board


Bad CPU board
6030Null allocation to membaseAFX bus errorExamine system message files (/var/adm/messages) for other information.


Bad a24 board


Bad CPU board
6031Afx_mem test failure, Address: <address>, Expected: <value>AFX bus errorExamine system message files (/var/adm/messages) for other information.


Bad a24 board


Bad CPU board
6032Afx_mem Mem test failure, Address+0x4000 Value: <value>, ExpAFX bus errorExamine system message files (/var/adm/messages) for other information.

0x5555aaaaBad a24 board


Bad CPU board
TABLE 39-3 tcxtest(Continued)

Error MessageProbable Cause(s)Recommended Action
6033Pattern test failed in Byte mode for DFB<value>. Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<address>, Expected: <value> OBserved:Bad a24 board

<value> xor(<value>)Bad CPU board
6034Pattern test failed in Short mode for DFB<value>. Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> OBserved:Bad a24 board

<value> xor(<value>)Bad CPU board
6035Pattern test failed in Long mode for DFB<value>. Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> OBserved:Bad a24 board

<value> xor(<value>)Bad CPU board
6036Pattern test failed in Long mode for DFB<value> Offset: <value>,AFX bus errorExamine system message files (/var/adm/messages) for other information.

Expected: <value>
OBserved: <value>
Bad a24 board


Bad CPU boardExamine system message files (/var/adm/messages) for other information.
6039Random test failed inAFX bus error

Byte mode for DF<value>,
Offset: <value>,
Bad a24 board

Expected: <value>
Observed: <value> xor:
<value>
Bad CPU board
6040Random test failed in Short mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: <value>Bad CPU board
TABLE 39-3 tcxtest(Continued)

Error MessageProbable Cause(s)Recommended Action
6041Random test failed in Long mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: <value>Bad CPU board
6042Pattern test failed in Dblword mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value>Bad a24 board

Observed:<value>,
xor:<value>
Bad CPU board
6043Address test failed in Char mode for DFB<value>. Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: <value>Bad CPU board
6044Address test failed in Short mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: <value>Bad CPU board
6045Address test failed in Long mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: <value>Bad CPU board
6046Address test failed in Dblword mode for DFB<value>, Offset:AFX bus errorExamine system message files (/var/adm/messages) for other information.

<value>, Expected: <value> Observed:Bad a24 board

<value> xor: value>Bad CPU board
6047Verifying Double:word writesAFX bus errorExamine system message files (/var/adm/messages) for other information.


Bad a24 board


Bad CPU board
TABLE 39-3 tcxtest(Continued)

Error MessageProbable Cause(s)Recommended Action
8000Open failure for device
<device name>
Driver not installedExamine system message files
(/var/adm/messages) for
other information.


OS driver problem


AFX bus error
8001Pattern test failed in Long mode, Offset: <value>, Expected:Driver not installedExamine system message files (/var/adm/messages) for other information.

<value> Observed: <value>AFX bus error


Bad CPU board
8002can't acquire console semaphorNot enough memoryExamine system message files (/var/adm/messages) for other information.


Not enough swap space
8003XCreateSimpleWindow failedNot enough memoryExamine system message files (/var/adm/messages) for other information.


Not enough swap space
8004Multibuffering extension does not existsNot enough memoryExamine system message files (/var/adm/messages) for other information.


Not enough swap space
8005Couldn't create enough buffersNot enough memoryExamine system message files (/var/adm/messages) for other information.


Not enough swap space