DXGI Presentation testing - FSPresentMS

This automated test verifies several aspects of the implementation of IDXGISwapChain::Present method.

This topic applies to the following test jobs:

  • DXGI Presentation testing - FSPresentMS

  • DXGI Presentation testing - FSPresentMS (WoW64)

  • DXGI Presentation testing - Other

  • DXGI Presentation testing - Other - multihead

  • DXGI Presentation testing - Other - multihead (WoW64)

  • DXGI Presentation testing - Other (WoW64)

  • DXGI Presentation testing - WinpresentMS

  • DXGI Presentation testing - WinpresentMS (WoW64)

Test details

Associated requirements

Device.Graphics.AdapterRender.D3D101Core.D3D101CorePrimary Device.Graphics.AdapterRender.D3D10Core.D3D10CorePrimary Device.Graphics.AdapterRender.D3D111Core.D3D111CorePrimary Device.Graphics.AdapterRender.D3D11Core.D3D11CorePrimary

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

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

Note  

If you run the DXGI Presentation testing - Other - multihead or DXGI Presentation testing - Other - multihead (WoW64) test on a system without multiple monitors, you will be prompted to add a second monitor. If your device family does not support multimon, select "Continue" to force the test to run in single monitor configuration. Some tests can only be run on systems with multiple monitors, in which case the test will be skipped.

 

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

The test creates swap chains, both full-screen and within windows. It also creates back buffers in all supported back buffer formats, by using dimensions that match or differ from those of the output window. Because of this variety, the test comprehensively tests stretching and color-converting Present operations. Full-screen test cases make use of both flip-based and copy-based Present operations.

The test also verifies that the different DirectX Graphics Infrastructure (DXGI) swap effects are implemented correctly. It uses timing-based test cases to verify the correct implementation of presentation intervals.

The test automatically verifies presented images by using the IDXGIOutput::GetDisplaySurfaceData method to retrieve the images. It compares these images with the surfaces that were used to initialize the back buffers.

Command syntax

Command option Description

DXGIPresent.exe FSPresentMS -whql -logclean

This command runs both the DXGI Presentation testing - FSPresentMS test job and the DXGI Presentation testing - FSPresentMS (WoW64) test job.

DXGIPresent.exe WinPresent WinpresentSmallWindow FSPresent FSpresentRotation FSPresentMulti -whql -logclean

This command runs both the DXGI Presentation testing - Other test job and the DXGI Presentation testing - Other (WoW64) test job.

DXGIPresent.exe WinpresentMS -whql -logclean

This command runs both the DXGI Presentation testing - WinpresentMS test job and the DXGI Presentation testing - WinpresentMS (WoW64) test job.

 

Note  

For command-line help for this test binary, type /?

 

File list

File Location

Configdisplay.exe

<testbinroot>\nttest\windowstest\tools\

D3d10ref.dll

<testbinroot>\nttest\windowstest\graphics\d3d\support\

D3d10SDKLayers.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support\

D3d11ref.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support\

D3d11SDKLayers.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support\

D3dcompiler_test.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support

D3dx10_test.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support

D3dx11_TEST.dll

<testbinroot>\nttest\ windowstest\graphics\d3d\support\

DXGIPresent.exe

<testbinroot>\nttest\windowstest\graphics\d3d\conf\

TDRWatch.exe

<testbinroot>\nttest\windowstest\graphics\

 

 

 

Send comments about this topic to Microsoft