This article applies to:
E-Prime 2.0 SP2 (18.104.22.1686)
E-Prime 2.0 SP1 (22.214.171.1243)
For updated information pertaining to E-Prime 3.0, please see See article 27378 (direct link coming soon).
Microsoft introduced numerous software design and architecture changes in Windows 8 and beyond, several of which impact the video display system. E-Prime 2.0 SP1/SP2 is compatible with Windows 8. E-Prime 2.0 SP2 is compatible with Windows 10. Both require specific DisplayDevice settings to operate properly. The warning message shown below appears when attempting to run the experiment from E-Studio when the settings are not properly configured. This Knowledge Base article describes the conditions that cause this warning message to appear, the experiment settings that must be used to eliminate this warning, and the optional technique available in E-Prime 2.0 Professional to ensure that the required DisplayDevice settings are applied to any experiment that is run on a given computer.
The solutions below require modifications to the DisplayDevice settings. To access the DisplayDevice in E-Studio, double-click on the Experiment Object to view the Experiment Properties; select the Devices tab; select Display from the list of available devices; click on the "Edit" button to view and/or edit the DisplayDevice properties.
Windows 8 and beyond supports 32 bit color only
Previous versions of Windows and E-Prime support 8, 16, 24 or 32 bit color. However, due in part to changes with the Windows Desktop Manager (WDM), Windows 8 and beyond directly supports 32 bit color only. When a new experiment is created in E-Prime 2.0 SP1/SP2 under Windows 8 8 and beyond, E-Prime sets the DisplayDevice's color bit depth to the required value of 32.
However, when an experiment that was created in a prior version is loaded into E-Prime 2.0 SP1, E-Prime keeps the originally specified color depth setting. Therefore, E-Prime 2.0 SP1/SP2 has added a check whereby it first determines if the computer is running Windows 8/10, and if so goes on to check the color bit depth setting.
NOTE: Some display adapters are capable of using a color depth less than 32 in Windows 8/10. However, these settings typically use emulated hardware or are configured in a way that may not permit accurate timing and should be avoided.
Flipping is required to maintain accurate display timing under Windows 8 and beyond
The E-Prime 2.0 Production Release introduced the option of using display flipping (aka display back buffer flipping), which is another tool to help ensure that displays are synchronized to the vertical refresh and to help avoid tearing (See NEW FEATURE: DisplayDevice.FlippingEnabled  for details on display flipping). For the Production Release, display flipping was encouraged but not required. Microsoft made changes in their support of DirectX 7 under Windows 8 and beyond. Therefore, E-Prime 2.0 SP1/SP2 uses DirectX 11 display hardware acceleration for proper compatibility and accurate timing. The use of DirectX 11 requires that display flipping must be enabled when running E-Prime 2.0 SP1/SP2 under Windows 8 and beyond in order to maintain accurate display timing.
Display flipping is enabled by default for all new experiments created with the E-Prime 2.0 Production Release and beyond. However, when an experiment that was created in a prior version is loaded into E-Prime 2.0 SP1, E-Prime keeps the originally specified display flipping enabled settings. Therefore, E-Prime 2.0 SP1/SP2 has added a check whereby it first determines if the computer is running Windows 8 or 10, and if so goes on to check the display flipping enabled setting.
NOTE: DirectX 11 was introduced with Windows 7. E-Prime 2.0 experiments (both Production Release, SP1, and SP2) run under Windows 7 are not required to use display flipping to obtain accurate display timing, although display flipping is always encouraged under normal experiment design settings. (Caution must be used when either working directly with the Canvas or using InLine script with display flipping; see NEW FEATURE: DisplayDevice.FlippingEnabled  for details.) Display flipping is required only when running E-Prime 2.0 SP1 or SP2 under Windows 8 and 10.
Solution #1: Let E-Studio make changes to DisplayDevice settings
When the warning message shown above appears, select the first radio button (Update the display settings in the Experiment Object Properties - Devices tab to reflect the configuration needed for a Windows 8 and 10 / DirectX 11 graphics adapter). E-Studio will then set the color depth parameter to 32 bit and the flipping enabled parameter to yes, save the experiment, and then generate and run it.
This solution only makes the change to the current experiment. After E-Studio changes the DisplayDevice parameter(s) and saves the es2 file, the Windows 8 and 10 DirectX 11 warning will not appear for this experiment. However, this warning message will appear for any other es2 files that are opened in E-Studio on this computer. E-Prime 2.0 Professional users can choose Solution #2 to set the DisplayDevice parameters to the proper values for any experiment that is loaded on this computer.
Solution #2: Use the StartupInfo Editor to apply DisplayDevice (E-Prime 2.0 Professional users only)
The StartupInfo Editor (see NEW FEATURE: StartupInfo Editor ) permits E-Prime 2.0 Professional authors to design experiments that can load variables into the context from external .startupInfo files. With respect to the DisplayDevice parameters and Windows 8 and 10 compatibility, the color bit depth and flipping enabled parameters can be specified in the global Startupinfo file for a computer that is running Windows 8/10 and E-Prime 2.0 SP1/SP2. Thereafter, any experiment that is run on the computer will use the DisplayDevice settings from the StartupInfo file. With this solution, each es2 file does not need edited in order to run properly on a Windows 8 machine. The image below illustrates a global StartupInfo file that is configured for running SP1/SP2 on a Windows 8/10 machine:
Lastly, when the Windows 8/10 DirectX 11 warning message appears, the (Make no modification) option could be selected. In this case, no change would be made to the DisplayDevice parameters, and E-Prime would attempt to run the experiment.
However, the experiment will generate a runtime error, identifying the incompatible DisplayDevice setting as shown below:
E-Prime 2.0 Requires specific DirectX11 settings
E-Prime 2.0 SP1/SP2 requires specific DirectX 11 settings; see INFO: E-Prime 2.0 SP1/SP2 requires specific DirectX 11 settings  for details.