C H A P T E R 5 |
Sun XVR-2200 and XVR-2400 Graphics Accelerator Test (graphicstest) |
graphicstest verifies the functionality of XVR-2200 and XVR-2400 frame buffers. Test accuracy is checked using direct image comparison against compressed images. Failed pixel locations are printed as error messages.
![]() |
Caution - Do not run any other application or screen saver program that uses the framebuffer's accelerator port while running graphicstest. This combination causes SunVTS to return incorrect errors. |
Disable all screen savers before testing any graphics device. To disable the Solaris screen saver, type the following at a UNIX prompt:
To turn Display Power Management off, type the following at a UNIX prompt:
The display resolution must be 1280x1024. To change resolution, go to a UNIX prompt and type:
For full instructions on testing frame buffers, see Testing Frame Buffers.
Perform the steps in this section prior to performing graphicstest to ensure the test runs as smoothly as possible.
1. You must run graphicstest through the SunVTS user interface. The window system (such as CDE or GNOME) must be running on the XVR-2200 or XVR-2400, and the window system must be setup to run in 24-bit mode (the default depth for XVR-2200 and XVR-2400).
2. Turn Power Management off, if it is enabled. See Test Requirements.
3. Verify that no other program is running that might modify the screen during the test.
4. Verify you have permission to lock the X server. graphicstest is designed to lock the X server during testing to prevent screen changes.
5. Verify that the CDE login window is not displayed during testing.
6. Verify that the window system is running on one frame buffer only.
To reach the dialog box below, right-click on the test name in the System Map and select Test Parameter Options. Because graphics test can test multiple types of frame buffers, the test name that is displayed will correspond to the particular framebuffer being tested. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system may not include the device appropriate to this test. Refer to the SunVTS User's Guide.
By default, all graphicstestoptions are enabled.
Due to the nature of graphic tests, reading data from, or writing data to the frame buffer during graphic tests will disturb user operation. For this reason, graphicstest is only available in offline Functional test mode.
/opt/SUNWvts/bin/sparcv9/graphicstest standard_arguments -o [[dev=device_name] [open=Enable/Disable] [dma=Enable/Disable] [mem=Enable/Disable] [chip=Enable/Disable] [B=n] [F=n] [S=value]]
Note - 64-bit tests are located in the /bin/64 directory, or the relative path in which you installed SunVTS. If a test is not present in this directory, then it might be available as a 32-bit test only. For more information, see 32-Bit and 64-Bit Tests. |
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.