Поделиться через


WDDM Sync Test

This automated test verifies that user-mode drivers properly synchronize the CPU and GPU when resources are used by the CPU and GPU.

This test verifies that user-mode display drivers expose correct locking semantics. In particular, there are two situations in which user-mode drivers must flush command buffers to kernel mode before returning from a Lock() call:

  • When a resource that is the target of a pending GPU write operation is locked

  • When a resource that is the source of a pending GPU read operation is locked

The test creates video memory resources and instructs the user-mode driver to program the GPU to read from or write to these resources. The test then locks the resources and reads their contents with the CPU. The test verifies that the data read by the CPU indicates that the Lock DDI is blocked until the GPU finishes processing all commands that reference the resources.

This topic applies to the following test jobs:

  • WDDM Sync Test

  • WDDM Sync Test (WoW64)

Test details

Associated requirements

Device.Graphics.WDDM.DisplayRender.Base

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

~5 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.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

Command syntax

Command option Description

Sync.exe monitor:1

Runs both the WDDM Sync Test test job and the WDDM Sync Test (WoW64) test job.

 

File list

File Location

Configdisplay.exe

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

Sync.exe

<[testbinroot]>\nttest\

TDRWatch.exe

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

 

 

 

Send comments about this topic to Microsoft