SunVTS 2.1.3 Test Reference Manual
只搜寻这本书
以 PDF 格式下载本书
CHAPTER 14

Frame Buffer Test (fbtest)


fbtest is a generic test for all dumb frame buffers used with the Solaris 2.x software.
The fbtest checks the frame buffer by sequentially writing, reading, and verifying small blocks of random patterns across the entire video RAM. The block size is 64 x 64 pixels. If a miscompare occurs, the test stops with an error message that indicates the location of the error.
If a generic frame buffer device name (dvc/fb) is specified, fbtest automatically detects the depth of the frame buffer, and adjusts testing to the frame buffer size.

fbtest Options

图形

FIGURE 14-1 fbtest


Note - To start SunVTS with vtsui, but without vtsk, you must add the host name to xhost as:
xhost + hostname.



fbtest Command Line Syntax

/opt/SUNWvts/bin/fbtest standard_arguments -o dev=device_name
lock=E(nable)/D(isable)

TABLE 14-1 fbtest
ArgumentExplanation
dev=device_nameSpecifies which frame buffer to be test.
lock=E(nable)/
D(isable)
Enables or disables the window system locking option. See the
section about Testing Multiple Frame Buffers in the SunVTS 2.1
User's Guide for details. Frame buffer locking is enabled by
default on the window server running the Open Windows
software.

fbtest Test Modes

Due to the nature of graphic tests, reading from or writing to the frame buffer during graphic tests disturbs user operation. This test is only available in Functional test.

fbtest Error Messages

TABLE 14-2 fbtest

Error MessageProbable Cause(s)Recommended Action
6000Data compare errorFB lock is disabled.Enable FB lock.


Bad frame buffer.If the problem persists, call your authorized Sun service provider.
6001Video memory error atFB lock is disabled.Enable FB lock.

address, expected: number,
observed: number
Bad frame buffer.If the problem persists, call your
authorized Sun service provider.
6002Unable to lock frame bufferFB lock was enabled while the window system was not running.
8000can't acquire consoleSystem load is too heavy.Reduce the system load.

semaphore

System error.If the problem persists, contact your Sun service provider.
8001Parameter error -Improper test parameters suppliedfbtest can only run in Functional test.
8002Device name missing!Parameter error.Must provide device name
8003Create_Raster() failedParameter error.

for nameNo such device.
8004Create_Raster() failed for type RAS_CHILDOperator error.Check test options, mode and retry, if appropriate.


Software error.Contact your Sun service provider.
8005Malloc failedSystem load too heavy.Reduce the system load


System errorIf the problem persists, call your authorized Sun service provider.