CUDA error at cuCtxCreate: Launch failed
-
For some reason my Poser just stop rendering with my GPU. It happened all of a sudden and I don't know what to do. I check the message logs and it gave me this error "Superfly: CUDA error at cuCtxCreate: Launch failed" I'm running a GTX 1050 Ti, I have 16GB of RAM and I have the latest Nvidia Drivers please help.
-
@angel1530 said in CUDA error at cuCtxCreate: Launch failed:
CUDA error at cuCtxCreate: Launch failed
Sounds like your driver may be the issue. It may have updated or changed (Win10 sometimes updates to older drivers) to a newer or older version and this caused it to stop working.
Here are some links that might help you:
https://blender.stackexchange.com/questions/73434/cuda-error-at-cuctxcreate-launch-failed
https://steamcommunity.com/app/365670/discussions/0/143387886719691984/
-
@h.elwood.gilliland I reinstalled a previous version of Nvidia driver and it's still happening. The problem started happening before I installed the new driver. I just happen all of a sudden.
-
How big is the scene? And did you do a clean reinstall of the older driver?
-
@shvrdavid The scene is the same size as all the other times I did it 2400 x 1426 I did a clean reinstall of the old driver.
-
@angel1530 said in CUDA error at cuCtxCreate: Launch failed:
CUDA error at cuCtxCreate
Now that I see you have a timeout, that leads to one conclusion.
The TdrDelay is at 2 seconds, which isn't enough
Open regedit.exe (Press the Windows key, type “regedit”, press enter, confirm that you want to open it).
Go to: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/GraphicsDrivers
a)
If the folder contains a key with the name “TdrDelay”, right-click it and change the value to something high enough for your scene. Something between 8 and 16 should be fine, the number is interpreted as seconds. And be aware of the difference between a decimal and a hexadecimal input.
b)
If the folder does not contain a key with the name “TdrDelay”, right-click into the empty space below the values and create a new “DWORD”-value. Name it “TdrDelay” and change the value as described in 3.a).
Reboot your system for the changes to take effect.You can find more info about it here.
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keysThere is a program to do a lot of this for you here
http://www.wagnardmobile.com/Tdr Manipulator/Tdr Manipulator v1.1.zip
-
@shvrdavid That did it. Don't know why it was missing. Thanks again.
-
Nvidia considers it a developer option.
Not sure why, many programs that use the GPU run into the same issue.Happy rendering :)
-
Substance Painter throws up a message when you launch if the TDRDelay is set too low. They recommend 60 seconds. They also recommend adding a second setting: TDRDdiDelay also set to 60.
-
The Octane Render installer sets the TdrDelay to 10.
-
I have mine set like this. And substance painter works fine even with the GPU driving the display.