Page MenuHome

MIS in World settings on 3 GPU system causes Cycles render fail
Closed, ResolvedPublic

Description

Windows 8.1 64 bit
NVIDIA GeForce GTX Titan x 3 (SLI is disabled)
NVIDIA Driver 335.23 (latest as of this post)

Blender 2.70 64 bit (Also experienced on 2.69 64bit)

Blender fails Cycles render on 3 GPU systems when Multiple Importance Sampling is enabled in World settings after a previous render with this setting disabled (default). Others also seeing the issue in this thread appear to indicate the issue is independent of OS, video driver version, and Blender version.

Issue reproduction steps:

  1. Open Blender 2.70 default scene
  2. Switch to Cycles render engine
  3. Switch from CPU to GPU Compute in Scene Render settings
  4. Press Shift-Z โ€“ Render of cube works OK
  5. Switch to World settings and check Multiple Importance Sampling under Settings
  6. Press Shift-Z, render fails with the following Console output:

CUDA error: Launch failed incuCtxSynchronize()
Refer to the Cycles GPU rendering documentation for possible solutions:
http://wiki.blender.org/index.php/Do.../GPU_Rendering
CUDA error: Launch failed incuMemcpyDtoH((uchar*)mem.data_pointer + offset,(CUdeviceptr)((uchar*)mem.device_pointer + offset), size)
CUDA error: Launch failed incuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed incuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: Launch failed incuMemAlloc(&device_pointer, size)
CUDA error: Launch failed incuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: Launch failed incuMemAlloc(&device_pointer, size)
CUDA error: Launch failed incuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: Launch failed incuMemAlloc(&device_pointer, size)
CUDA error: Launch failed incuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: Launch failed incuMemAlloc(&device_pointer, size)
CUDA error: Launch failed incuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: Launch failed incuMemAlloc(&device_pointer, size)
CUDA error: Launch failed incuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: Launch failed incuModuleGetGlobal(&mem, &bytes, cuModule, name)
CUDA error: Launch failed incuMemcpyHtoD(mem, host, size)

When swapping steps 5 and 4 above to perform first render with MIS World setting enabled, render completes without issue. If Blender is configured to utilize less than three video cards (e.g. 1 or 2), the render completes without issue..

Event Timeline

Stirling Goetz (futurehack) raised the priority of this task from to 90.
Stirling Goetz (futurehack) updated the task description. (Show Details)
Stirling Goetz (futurehack) edited a custom field.

Additional Info (thanks to cegaton): Render completes when lowering MIS Map Resolution to 180 or below

Sincere apologies but I've (likely erroneously) created a sub-task to a previous bug here that can be deleted: https://developer.blender.org/T35665

@Stirling Goetz (futurehack) are you able to test with bit the buildbot build of today also ?

I have made some changes to device handling that may influence this problem and would really appreciate the feedback

@jucyfruit - A test using BuildBot blender-2.70-b64bdb2-win64-vc12.zip (2014-03-29 VS2013) still exhibits the issue. Thanks for the tip though.

BuildBot blender-2.70-b64bdb2-win64.zip (2014-03-29 Official) is throwing a "The program can't start because avutil-51.dll is missing from your computer" on launch as was yesterday's Official BuildBot build, thus preventing testing.

Hi Gang - This bug appears to have been fixed via duplicate bug https://developer.blender.org/T40228

I've tested with BuildBot blender-2.71-b49e6d0-win64.zip and I'm no longer seeing the issue. Feel free to close.

Brecht - You will be missed. Good luck at Solid Angle!

Thomas Dinges (dingto) changed the task status from Unknown Status to Resolved.Jun 20 2014, 1:13 AM