DXGI 演示测试 - WinpresentMS (WoW64)

此自动测试验证 IDXGISwapChain::Present 方法实现的几个方面。

本主题适用于以下测试作业:

  • DXGI 演示测试 - FSPresentMS

  • DXGI 演示测试 - FSPresentMS (WoW64)

  • DXGI 演示测试 - 其他

  • DXGI 演示测试 - 其他 - 多头

  • DXGI 演示测试 - 其他 - 多头 (WoW64)

  • DXGI 演示测试 - 其他 (WoW64)

  • DXGI 演示测试 - WinpresentMS

  • DXGI 演示测试 - WinpresentMS (WoW64)

测试详细信息

   
规范
  • Device.Graphics.AdapterRender.D3D101Core.D3D101CorePrimary
  • Device.Graphics.AdapterRender.D3D10Core.D3D10CorePrimary
  • Device.Graphics.AdapterRender.D3D111Core.D3D111CorePrimary
  • Device.Graphics.AdapterRender.D3D11Core.D3D11CorePrimary
平台
  • Windows 10,客户端版本 (x64)
  • Windows Server 2016 (x64)
  • Windows 10,客户端版本 (Arm64)
支持的版本
  • Windows 10
  • Windows 10 版本 1511
  • Windows 10 版本 1607
  • Windows 10 版本 1703
  • Windows 10 版本 1709
  • Windows 10 版本 1803
  • Windows 10 版本 1809
  • Windows 10 版本 1903
  • Windows 10 的下一次更新
预计运行时间(以分钟为单位) 2
类别 兼容性
超时(以分钟为单位) 120
需要重启 false
需要特殊配置 false
类型 automatic

 

其他文档

此功能区域中的测试可能会有其他文档,包括先决条件、设置和故障排除信息,这些内容可在以下主题中找到:

运行测试

在运行测试之前,请按照如下测试要求中所述完成测试设置:图形适配器或芯片组测试先决条件

注意

   如果在没有多台监视器的系统上运行“DXGI 演示测试 - 其他 - 多头”或“DXGI 演示测试 - 其他 - 多头 (WoW64)”,系统将提示你添加第二台监视器。 如果设备系列不支持多监视器,请选择“继续”以强制测试在单个监视器配置中运行。 某些测试只能在具有多个监视器的系统上运行,在这种情况下,将跳过测试。

 

故障排除

有关 HLK 测试失败的常规故障排除,请参阅排查 Windows HLK 测试失败问题

有关故障排除信息,请参阅排查 Device.Graphics 测试问题

更多信息

测试创建全屏和窗口内的交换链。 它还使用与输出窗口的维度匹配或不同的维度,以所有受支持的后端缓冲区格式创建后端缓冲区。 由于这种多样性,测试会全面测试拉伸和颜色转换 Present 操作。 全屏测试用例同时使用基于翻转和基于复制的 Present 操作。

测试还验证是否正确实现了不同的 DirectX 图形基础设施 (DXGI) 交换效果。 它使用基于计时的测试用例来验证演示间隔的正确实现。

测试通过使用 IDXGIOutput::GetDisplaySurfaceData 方法检索图像来自动验证演示的图像。 它将这些图像与用于初始化后台缓冲区的表面进行比较。

命令语法

命令选项 说明

DXGIPresent.exe FSPresentMS -whql -logclean

此命令同时运行“DXGI 演示测试 - FSPresentMS”测试作业和“DXGI 演示测试 - FSPresentMS (WoW64)”测试作业。

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

此命令同时运行“DXGI 演示测试 - 其他”测试作业和“DXGI 演示测试 - 其他 (WoW64)”测试作业。

DXGIPresent.exe WinpresentMS -whql -logclean

此命令同时运行“DXGI 演示测试 - WinpresentMS”测试作业和“DXGI 演示测试 - WinpresentMS (WoW64)”测试作业。

注意

   有关此测试二进制文件的命令行帮助,请键入 /?

 

文件列表

文件 位置

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\

 

参数

参数名称 参数说明
MODIFIEDCMDLINE 测试可执行文件的其他命令行参数
LLU_NetAccessOnly 网络用户的 LLU 名称
ConfigDisplayCommandLine ConfigDisplay 的自定义命令行。 默认值:徽标
TDRArgs /get 或 /set