Hi, I try GPU render scene with 3 Xref child scenes. Child scenes have similar materials. When I start rendering whole scense (all objects on screen) - all ok. When I zoom and render only small part of scene (part objects out of screen) render stop with this message:
[Arnold]: 00:00:06 2747MB ERROR | [gpu] an error happened during rendering. OptiX error is: Invalid value (Details: Function "_rtContextLaunch2D" caught exception: Encountered a CUDA error: cudaDriver().CuMemcpy2DAsync( pCopy, stream.get() ) returned (1): Invalid value, file: <internal>, line: 0) GPU 0 had 11271MB free before rendering started and 8586MB free when crash occurred
CPU rendering always work fine.
If open child scenes files separately and render - all ok.
If merge 3 child scenes, and make "Instance Duplicated Maps" (Rendering > Material Explorer > Tools > Instance Duplicated Maps > Instance All) - all ok.
If merge 3 child scenes, and keep duplicated maps - same error.
p.s.
GPU Graphic Card - Nvidia Titan XP,
driver 461.40 studio edition
MAXtoA-4.3.1.20-2021
This error is unexpected. Could we get this scene (or ideally a simpler one that also crashes) for testing?
Thanks, for providing the crashing scene, I can confirm it crashes.
It looks like this might be happening when there are two image nodes that point to the same texture. While we work on a fix, you might be able to work around this by removing one of the duplicate image nodes and instead reusing one of the image nodes.
This probably also explains why merging scenes caused a problem, since each scene contained an image node pointing to the same texture.
Was there ever a official solution for this crash? I am receiving the same crash.
As for whether there was an official solution, I think that is fixed in more recent versions of arnold. It might also be fixed with older versions of arnold if you upgrade your nvidia driver, but I haven't tested that, so can't confirm it.
Can't find what you're looking for? Ask the community or share your knowledge.