Page MenuHome

CUDA error: Launch failed in cuTXSyncronize()
Closed, ResolvedPublic

Description



System Information
Windows 10 pro x64
2x NVIDIA GTX 1070

Blender Version
Broken: 2.78c
Worked: (optional)

Short description of error

Cycles renders with either of my gpus but not both at once. Blender says that peak memory goes up to 2693.81m.

Exact steps for others to reproduce the error
Open in blender and attempt to render with 2 gpus.

Event Timeline

Sorry. I have realized its an issue only with the first card. It runs only using the second card. This is weird because I was using my first card for rendering up until installing my second gpu.

Error with just the first card
<!> event has invalid window
CUDA error: Launch failed in cuCtxSynchronize()
CUDA error: Launch failed in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: Launch failed in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemAlloc(&device_pointer, size)
-repeats last line a ton
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
-repeats last line a ton
Error: CUDA error: Launch failed in cuCtxSynchronize()

Error with both cards
CUDA error: Launch failed in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: Launch failed in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed in cuMemAlloc(&device_pointer, size)
-repeats last line a ton
CUDA error: Launch failed in cuMemFree(cuda_device_ptr(mem.device_pointer))
-repeats last line a ton

Bastien Montagne (mont29) lowered the priority of this task from 90 to 30.Jun 16 2017, 5:00 PM

This sounds like GPU driver issue (or maybe an issue with GPU memory, does one have less memory than the other or something like that?). Also, please:

  • Give us your exact Blender, OS and GPU (including drivers) versions, as requested in the template!
  • Ensure both your OS and drivers are fully up-to-date (and use official GPU drivers, not those provided by windows or tablet/laptop maker).
  • Try the latest build from our buildbot.
  • Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not).
  • Attach as text file here the report generated by Help -> System Info (do not paste it directly in comment).
  • Launch Blender from the command line with --debug-cycles option and attach as text file here any error printed out in the console (do not paste it directly in comment).
Blake Houghon (houghtob123) changed the task status from Unknown Status to Resolved.Jun 16 2017, 5:26 PM
Blake Houghon (houghtob123) claimed this task.

Well I found out the issue. I don't know exactly what it is but it only happens when I attempt to render the palm trees (other trees are fine). I moved their layer and it works perfectly fine. With them the scene could be incredibly simple and still not work. I don't know why but Im not complaining. I'm a tad embarrassed. Sorry guys.
Do you still need that info in case this is a bug you want to fix?

Would be interesting to get a minimal .blend file with those crashing palmtrees, could be some invalid geometry here, but nice to know for sure what can cause the issue.