D3D Cross Proc Sharing

This automated test verifies support for the cross-process resource sharing in Microsoft® Direct3D® version 9.

This topic applies to the following test jobs:

  • D3D Cross Proc Sharing

  • D3D Cross Proc Sharing (WoW64)

Test details

   
Specifications
  • Device.Graphics.AdapterRender.MinimumDirectXLevel
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 8
Category Compatibility
Timeout (in minutes) 480
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.

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

More information

This test includes the following test cases:

  • CONF:Create. Create a shared resource.

  • CONF:Open. Create and open a shared resource in the same process.

  • CONF:ClientOpen. Create a shared resource in Process 1, and open that resource in Process 2.

  • CONF:Verify. Process 2 verifies that the content of the opened resource is correct.

  • CONF:Fill. Process 2 fills the open resource, and Process 1 verifies the content.

  • CONF:Lock. This test case initiates the following actions:

    • Process 1 locks the resource,

    • Process 2 attempts to lock the resource (this attempt should fail)

    • Process 2 attempts to unlock the resource (this attempt should fail)

    • Process 1 unlocks the resource

    • Process 2 attempts to lock the resource (this attempt should fail)

    • Process 2 attempts to unlock the resource (this attempt should fail)

    • Process 1 attempts to unlock the resource again (this attempt should fail)

  • CONF:ReleaseSourceUseOpen. This test case completes the following actions:

    • Process 1 creates a resource

    • Process 2 opens the resource and verifies the content of the resource

    • Process 1 releases the resource

    • Process 2 uses the resource

    • Process 1 opens the resource and then updates the resource content.

You can test multiple resource types, or just one by using the command line. To run with only one resource type, use -ResourceType:<ResourceType>.

You can use the following resource types:

  • OFFSCREENPLAIN

  • DEPTHSTENCIL

  • RENDERTARGET

  • TEXTURE

  • VOLUMETEXTURE

  • VOLUMETEXTURE

  • INDEXBUFFER

Command syntax

Command option Description

D3DCrossProcShare -CrossProcShare_Conf -M:1 -whql -logclean

This command runs the D3D Cross Proc Sharing test job.

D3DCrossProcShare -CrossProcShare_Conf -M:1 -whql -logclean

This command runs the D3D Cross Proc Sharing (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\graphics\d3d\support\

D3d11ref.dll

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

D3dcompiler_test.dll

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

D3DCrossProcShare.exe

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

D3dref.dll

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

D3dref8.dll

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

D3dref9.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\

D3dx8d.dll

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

D3dx9_TEST.dll

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

Fpstate.dll

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

Modechange.exe

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

TDRWatch.exe

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

Vbswap.x

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

 

Parameters

Parameter name Parameter description
MONITOR Index of display output to target with test
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