Share via


WDDM CCD Test for PersistentReset Sleep

This automated test verifies that the desktop configuration is reset correctly to persistent data that is saved in the registry. PersistentReset validates that during system and monitor power transitions, the desktop configuration does not change.

After the test sets the system to a specified topology, it uses ChangeDisplaySettingsEx(CDS_UPDATEREGISTRY) to change the display modes and save the configuration data to the persistent database. The test then uses SetDisplayConfig to change the desktop modes without updating them to the registry. Finally, the test verifies that CcdSetDisplayConfig(0, NULL, 0, NULL, SDC_APPLY| SDC_USE_DATABASE_CURRENT) resets the desktop configuration to match data that was saved previously in the persistent database.

The test also puts the system in S1, S2, S3, and S4 sleep states or turns off the monitor. Then, it verifies that after the monitor wakes from the sleep states, the desktop configuration has persisted.

This topic applies to the following test jobs:

  • WDDM CCD Test for PersistentReset Monitor

  • WDDM CCD Test for PersistentReset Sleep

  • WDDM CCD Test for PersistentReset Sleep Multimon

Test details

Associated requirements

Device.Graphics.WDDM.Display.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

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

In addition, this test requires a video card or chipset with a Windows Display Driver Model (WDDM) 1.1 (or later versions) driver.

Note  

The test will perform mode validation only for test targets that have monitors connected. For a certification test, connect monitors to all the test targets on the video card.

 

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

All test cases change the desktop configuration, turn monitors off and on, or set the system power to different sleep states.

The test might return Skip if the system does not support the display configuration of the test cases.

More information

Command syntax

Command option Description

PersistentReset

Rusn the test. Without any options, the test performs reset and system-sleep test cases.

Monitor

Starts the application and runs the monitor off and on test cases.

Sleep

Starts the application and runs the system-sleep test cases.

Reset

Starts the application and runs the reset test cases.

 

File list

File Location

Configdisplay.exe

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

PersistentReset.exe

<[testbinroot]>\nttest\

TDRWatch.exe

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

 

 

 

Send comments about this topic to Microsoft