Page 1 of 1

TDR delay

PostPosted: Thu Dec 06, 2018 10:39 am
by paride4331
Hi guys,
for anyone who installed Octane v4 SA and / or Octane 2018 SA or who have not previously modified TDRdelay and encounter lags, I recommend setting it to 60 again.
I will ask 3dsMax developers if they can add this registry modification during the installation.

The specific error message is related to a timeout issue.
What happens is that the Windows system instantly disable the GPU drivers, if it does not receive a signal after some seconds.
By default the TdrDelay is set to 2s, i.e. if one kernel call takes more than 2s, Windows kills the driver.
If you install the Standalone via installer, we change some Windows registry to better work with GPU Rendering.
To change the timeout, either run the Standalone installer or manually set the TdrDelay key to something like 10s or so. See here:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff569918(v=vs.85).aspx
In the Standalone installer we set these values:
WriteRegDWORD HKLM ""SYSTEM\CurrentControlSet\Control\GraphicsDrivers"" TdrLevel 3
WriteRegDWORD HKLM ""SYSTEM\CurrentControlSet\Control\GraphicsDrivers"" TdrDelay 10jh
Some users have set the TdrDelay at 60, to solve their stability issues with CUDA.
https://render.otoy.com/forum/viewtopic.php?f=85&t=63700&p=327361&hilit=+tdr#p327361
Regards
Paride