Maniphest T39459

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

Assigned To
Brecht Van Lommel (brecht)
Authored By
Stirling Goetz (futurehack)
Mar 27 2014, 3:00 PM
Tags
  • BF Blender
Subscribers
Brecht Van Lommel (brecht)
Giuseppe De Marco (peppelinux)
Martijn Berger (juicyfruit)
Sergey Sharybin (sergey)
step-ani-motion (stepanimotion)
Stirling Goetz (futurehack)
Thomas Dinges (dingto)
Wolfgang Faehnle (mib2berlin)

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..

Related Objects

Mentioned Here
rBbbf09d9ee68d: Point 2.73a release to updated addons revision

Event Timeline

Stirling Goetz (futurehack) created this task.Mar 27 2014, 3:00 PM
Stirling Goetz (futurehack) raised the priority of this task from to 90.
Stirling Goetz (futurehack) updated the task description.
Stirling Goetz (futurehack) added a project: BF Blender.
Stirling Goetz (futurehack) edited a custom field.
Stirling Goetz (futurehack) added a subscriber: Stirling Goetz (futurehack).
Stirling Goetz (futurehack) added a comment.EditedMar 27 2014, 3:13 PM

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

Sergey Sharybin (sergey) assigned this task to Brecht Van Lommel (brecht).Mar 28 2014, 9:11 AM
Sergey Sharybin (sergey) lowered the priority of this task from 90 to Normal.
Sergey Sharybin (sergey) added subscribers: Thomas Dinges (dingto), Brecht Van Lommel (brecht).
Sergey Sharybin (sergey) added a subscriber: Sergey Sharybin (sergey).

@Brecht Van Lommel (brecht), is tihs one up to you?

@Thomas Dinges (dingto), you can also have some clues here.

Martijn Berger (juicyfruit) added a subscriber: Martijn Berger (juicyfruit).Mar 28 2014, 2:38 PM

@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

Brecht Van Lommel (brecht) added subscribers: Wolfgang Faehnle (mib2berlin), step-ani-motion (stepanimotion).Mar 28 2014, 10:57 PM

โ—€ Merged tasks: T39355.

Stirling Goetz (futurehack) added a comment.Mar 29 2014, 5:40 PM

@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.

Stirling Goetz (futurehack) added a comment.Jun 20 2014, 12:35 AM

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
Giuseppe De Marco (peppelinux) added a subscriber: Giuseppe De Marco (peppelinux).Feb 22 2015, 6:33 PM
This comment was removed by Giuseppe De Marco (peppelinux).