TDR Register for Substance painter

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/qq_39812022/article/details/102152943

TDR Register for Substance painter

在这里插入图片描述
Under Microsoft Windows, this window will appear if Substance Painter detects that the current TDR value is below a specific limit (10 seconds).
Why does the GPU driver crash ?
In order to prevent any rendering or GPU computation from locking the system, the Windows Operating System kills the GPU driver whenever a rendering takes more than a few second. When the driver is killed, the application using it crash automatically. Since we can’t possibly know how long a rendering or computation will take (it depends on the GPU, the drivers, the OS, the mesh size, the texture size, etc.), we can’t put a limit on how much the computer can process and avoid the crash.
On Windows there is a key in the registry specifying how long the OS should wait before killing the driver call. Application are not authorized to modify this setting directly, this procedure has to be done manually (see below).
You can find more details about it here : https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys
What Keys need to be changed ?
You can change the TDR values in two ways :
Increasing the TDR Delay (this is the safest manipulation) -> Change both “TdrDelay” and “TdrDdiDelay” to a high value (like 60 seconds).
Disabling the TDR completely -> Set “TdrLevel” to 0 (not recommended).

How to edit the TDR values of the Registry ?
Follow this procedure to change the TDR value.
Note that two different keys will have to be created/edited.
Please note that editing the registry can have serious, unexpected consequences that can prevent the system from starting and may require to reinstall the whole operating system if you are unsure of how to modify it.
Allegorithmic takes no responsibility for any damage caused to your system by modifying the system registry.
1 - Open the Run window
Click on Start then Run or press the Windows key and R.
It will open the Run window.

在这里插入图片描述
2 - Launch the registry editor
Type “regedit” in the text field and press “OK”.
在这里插入图片描述
3 - Navigate to the GraphicsDrivers registry key
The registry window will open.
In the left pane, navigate in the tree to the GraphicsDrivers key by going into : Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
Be sure to stay on “GraphicsDrivers” and to not click on the Registry keys below before going through the next steps.
在这里插入图片描述
4 - Add or Edit the TdrDelay value
If the TdrDelay value doesn’t exist yet, right-click in the right pane and choose New > DWORD (32bit) Value. Name it “TdrDelay”. The case if important, be sure to follow it (and check that there are no other characters such as spaces).
在这里插入图片描述
In the right pane, double click on the value TdrDelay. Change the Base setting to Decimal. Set the value to something else than the default 2 (we recommend 60).
This value indicate in seconds how long the operating system will wait before considering that the GPU is unresponsive during a computation.
在这里插入图片描述
5 - Add or Edit the TdrDdiDelay value
If the TdrDdiDelay value doesn’t exist, right-click in the right pane and choose New > DWORD (32bit) Value. name it “TdrDdiDelay”. The case if important, be sure to follow it (and check that there are no other characters such as spaces).
在这里插入图片描述
In the right pane, double click on the value TdrDdiDelay. Change the Base setting to Decimal. Set the value to something else than the default 5 (we recommend 60).
This value indicate in seconds how long the operating system will wait before considering that a software took too much time to leave the GPU drivers.
Hexadecimal is the default value, simply switch to decimal to display the right value. Note that 3C (Hexadecimal) equals to 60 (Decimal).
6 - Finish and Restart
The right pane should now looks like this :
在这里插入图片描述
Close the Registry editor. Restart the computer by using Start then Restart.
The TdrValue is only looked at when the computer start, so to force a refresh a reboot is necessary.
If Substance Painter still crash when doing a long computation, try increase the delay (in seconds) from 60 to 120 for example.
How to revert the TDR to its default value ?
There are two ways to revert the TDR to its default values :
Set the TdrDelay to 2s and the TdrDdiDelay to 5s, by following the step described aboves
Or Remove the TdrDelay and TdrDdiDelay keys from the regedit

About JP

链接: Website.
在这里插入图片描述
在这里插入图片描述
出生在韩国的TA。
1997年开始从事电脑图形视觉化工作后,在这个行业已经有21年经验了。
在多个网络游戏公司引领过美术团队,之前在allegorithmic担任TA负责人,在中国网易盘古工作室担任TA总监,现在是巨人网络TA部门的总负责人。
懒惰的人才有创意”是他坚信并执行的哲学道理。

猜你喜欢

转载自blog.csdn.net/qq_39812022/article/details/102152943