Windows is constantly monitoring the GPU and it’s drivers to ascertain if it is in a ‘good state’. This mechanism is called Timeout Detection & Recovery (TDR). Part of TDR is making sure that render requests come back in a timely fashion. However, the timeout detection can sometimes be a bit too aggressive when you are rendering huge scenes.
In these cases you may need to extend the Timeout Detection Delay, by adding/updating the
TdrDelay registry setting.
KeyPath : HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers KeyValue : TdrDelay ValueType : REG_DWORD ValueData : Number of seconds to delay. 2 seconds is the default value.
How to add/change the TDR Delay
regedit, the Windows Registry Editor
- Navigate to:
- If the
TdrDelaykey exists, double-click on it and change it’s value to 5 or 8.
- If the
TdrDelaykey does not exist, add the key by:
- Edit -> New -> DWORD (32bit Value)
- Name the key
- Double-click the key and set it’s value to 5 or 8.
- Reboot your system.
- The changes will now be in effect.