Delen via


Video Memory Management Tests

This automated test verifies that video memory is accurately reported and managed.

The following Fnddraw.exe cases make up this test:

  • MEMMAN_GetAvailableVidMem. This test case examines and compares memory values that are returned by various GetAvailableVidMem calls. The sum of Accelerated Graphics Port (AGP) memory and local video memory should equal the total video memory.

  • MEMMAN - Video Memory Reuse Test. This test verifies that freed video memory can be reallocated.

  • MEMMAN - Rand Create/Release Video Memory Surfaces 100X Test. This test randomly creates and releases video memory surfaces. As the test creates each surface, it writes a byte pattern to that surface. Upon release of that surface, the test reads back the byte pattern to verify surface integrity.

  • MEMMAN - Consume All Video Mem Test. This test tries to allocate all video memory (local and AGP). As the test allocates each surface, it writes a byte pattern to that surface. Before all surfaces are released, the test reads back the byte pattern to verify integrity.

This topic applies to the following test jobs:

  • Video Memory Management

  • Video Memory Management (WoW64)

Test details

Associated requirements

Device.Graphics.AdapterRender.MinimumDirectXLevel

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~1 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Graphic Adapter or Chipset Testing Prerequisites.

In addition, this test requires the following software and hardware:

  • Microsoft® DirectX® 7.0 or later versions

  • Video card with Microsoft DirectDraw capabilities

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

Most of the DirectDraw tests (including the Blt - Exotic test) are in Fnddraw.exe. You can run Fnddraw.exe outside the DCT shell, and then select initial tests. On the Tests menu, click Select Tests.

The test titles that are listed in the DCT shell do not directly match the test names in Fnddraw.exe. In fact, the names in the DCT often refer to a group of Fnddraw tests. You can obtain the Fnddraw test names from the DCT log file.

You can pause many Fnddraw tests (especially Blt-related tests) to give you time to visually analyze the Blt results. Use the Pause key to pause and resume.

Use the Esc key to stop a test run. Be patient, because some tests are more responsive than others.

Command syntax

Command option Description

Fnddraw dd_vmem.pro -r -c -p"m%MONITOR%"

Runs the Video Memory Management test job and the Video Memory Management (WoW64) test job. The %MONITOR% parameter must be replaced with a 1-based index that corresponds to the display that you are testing.

 

File list

File Location

Configdisplay.exe

<[testbinroot]>\nttest\windowstest\tools\

Dd_vmem.pro

<[testbinroot]>\nttest\multimediatest\video\ddraw\pro

Fnddraw.exe

<[testbinroot]>\nttest\multimediatest\video\ddraw

Fnswtt.dll

<[testbinroot]>\nttest\multimediatest\video\ddraw

TDRWatch.exe

<[testbinroot]>\nttest\windowstest\graphics\

 

Note  

You do not need Fnswtt.dll to run this test. It is used only for Windows HCK logging.

 

 

 

Send comments about this topic to Microsoft