Disabling Timeout Recovery for Display Drivers

In Microsoft Windows XP SP1 and later operating systems, GDI uses a watchdog timer to monitor the time that threads spend executing in the display driver. The watchdog defines a time threshold. If a thread spends more time in a display driver than the threshold specifies, the watchdog tries to recover by switching to VGA graphics mode. If the attempt fails, the watchdog generates bug check 0xEA, THREAD_STUCK_IN_DEVICE_DRIVER.

Because timeout recovery code is complex, it might cause incompatibility with display drivers. To resolve the compatibility problems, timeout recovery can be disabled.

To disable timeout recovery, create the following REG_DWORD entry in the registry, and set its value to 0:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Watchdog\Display\EaRecovery