Community
Arnold GPU Forum
General discussions about GPU rendering with Arnold.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

3ds max 2021 Arnold GPU rendering error

6 REPLIES 6
Reply
Message 1 of 7
Alfred_Zaks
1116 Views, 6 Replies

3ds max 2021 Arnold GPU rendering error

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

Labels (4)
6 REPLIES 6
Message 2 of 7
Alfred_Zaks
in reply to: Alfred_Zaks

Message 3 of 7
thiago.ize
in reply to: Alfred_Zaks

This error is unexpected. Could we get this scene (or ideally a simpler one that also crashes) for testing?

Message 4 of 7
Alfred_Zaks
in reply to: thiago.ize

attached

project.zip

Message 5 of 7
thiago.ize
in reply to: Alfred_Zaks

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.

Message 6 of 7
tommysDHPVM
in reply to: thiago.ize

Was there ever a official solution for this crash? I am receiving the same crash.

1640024559432.png

Message 7 of 7
thiago.ize
in reply to: tommysDHPVM

That's a different error message, so very likely a different problem.

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.

Post to forums  

Autodesk Design & Make Report