About Arnold GPU batch rendering

About Arnold GPU batch rendering

Anonymous
Not applicable
1,587 Views
7 Replies
Message 1 of 8

About Arnold GPU batch rendering

Anonymous
Not applicable

maya2022でGPUバッチレンダリングを実行すると、mayaが突然終了します。


また、バッチレンダリングを実行しても、約40枚出力するとマヤは終了します。


誰かがそれを解決する方法を知っていますか?

When I run a GPU batch render on maya2022, maya quits abruptly.

Also, even if batch rendering is executed, Maya will end when about 40 images are output.

Does anyone know how to solve it?


0 Likes
1,588 Views
7 Replies
Replies (7)
Message 2 of 8

Stephen.Blair
Community Manager
Community Manager

An info-level Arnold is the best starting point for any troubleshooting.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.




// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 8

jl8289
Observer
Observer

I'm seeing the same issues as Takumi. The output log shows the lack of memory on the GPU as the culprit as after ~40 frames, there isn't enough memory left to render the next frame. Which is puzzling as one would think the memory would be cleared / released on a per frame basis instead of eating up more and more as it progresses through the frames.

The relevant log entry:

GPU 0 had 9414MB free before rendering started and 397MB free when crash occurred
GPU errors are sometimes due to a GPU not having enough remaining free memory. To see if this is what happened here, try simplifying your scene or running on a GPU with more free RAM to see if it solves the crash. Otherwise, upgrading to the latest nvidia gpu driver and Arnold core (available from www.arnoldrenderer.com) might fix the crash

Even after ensuring the drivers are updated to current release levels, you can watch the GPU memory usage in Task Manager creep up by ~100MB each frame. Eventually, when the memory usage reaches the max available on the card, the batch render simply stops due to reaching the minimum memory set withint the Arnold Render Settings. ( Defaults to 512MB )

Current version of Maya ( 2022.2 ), most current version of Arnold ( MtoA 5.0.0 - 32e7688a ( fix-5.0.0 ) )
Oct 12 2021

0 Likes
Message 4 of 8

Anonymous
Not applicable

I had the same issue last week. Started rendering a batch sequence on GPU and every 30-40 frames Arnold stopped.

In the Log it said:

Error: line 1: RuntimeError: [mtoa] Failed batch render Warning: file: C:/Program Files/Autodesk/Maya2022/scripts/others/mayaBatchRenderProcedure.mel line 654: Renderer returned an error while rendering 'defaultRenderLayer', please verify the output image.

Could not find anything on that topic on the net so i switched to CPU

0 Likes
Message 5 of 8

jl8289
Observer
Observer

I was running Maya 2022.2 and v5.0.0.0 MtoA

Updated MtoA to v5.0.0.1 with no change in behavior.
Updated the Nvidia drivers with no change in behavior.

Wiped the entire Maya install and re-installed it keeping MtoA version 4.2.4 ( which is what comes installed with 2022.2 ). No further issues. GPU Batch render works as expected and monitoring GPU Ram usage frame to frame it no longer increases by 100MB each frame rendered.

0 Likes
Message 6 of 8

bhoyle
Enthusiast
Enthusiast

So it´s been at least 4 month since this problem was reported and it it´s still there in 5.0.0.2. 😕
Only recently started to work on animations and depending on the scene complexity all batch renders abort after a certain amount of frames with GPU memory gradually increasing with each frame.

When will this be fixed?

0 Likes
Message 7 of 8

Stephen.Blair
Community Manager
Community Manager
Someone finally gave us a repro scene, so we do have a ticket open and we were working on it. It won't be fixed until the new year.




// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 8 of 8

thiago.ize
Autodesk
Autodesk

So far we've been unable to reproduce this GPU memory leak on our end. Could anyone supply a scene and instructions on what we need to do in order to reproduce the GPU memory leak? Thanks!

0 Likes