DXGI Presentation testing - WinpresentMS
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
Specifications |
|
Platforms |
|
Supported Releases |
|
Expected run time (in minutes) | 10 |
Category | Compatibility |
Timeout (in minutes) | 600 |
Requires reboot | false |
Requires special configuration | false |
Type | automatic |
Additional documentation
Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):
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 generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.
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\ |
Parameters
Parameter name | Parameter description |
---|---|
MODIFIEDCMDLINE | Additional command line arguments for test executable |
LLU_NetAccessOnly | LLU Name of net user |
ConfigDisplayCommandLine | Custom Command Line for ConfigDisplay. Default: logo |
TDRArgs | /get or /set |