Chaos vantage rendering stops when using Render Queue

Hi, I’ve been using chaos Vantage for the better part of a year now for work and enjoy how easy it makes look-dev/lighting of scenes and am enjoying all the new features in vantage 3.0. However, I render a variety of deliverables from occasional stills, panoramic tours, and animations. Often times I am either using the animation timeline but can get more unique and suitable lighting by individually lighting/tweaking shots using the scene states. This leads to the dilemma that in order to use scene states I have to go through the render queue which I don’t mind however it seems as though there seems to be a memory leak or something when the render queue switches from the first list item to the next. ie. I started a render last Friday and all ~300-400 frames rendered in ~ 12 hours. It then took over 2 whole days to render a single frame of the second item in queue. When checking out the computer this morning it was still rendering and the gpu stated that it was reaching 100% utilization in both task manager and HWMonitor, however the temps were sub 50C on an rtx 4090 which seems to imply that something goes wrong when switching. This happened on 2 separate computers using 2 separate scenes. Version is Vantage 3 but I am unsure if this existed previously. Would be glad to answer any questions or try to get an error log if needed, thank you!

Did you check GPU memory usage when the second task was rendering slowly? It is possible that you were near or beyond the GPU memory budget. In this case the OS tries to swap some data such as textures off and on to the GPU. This enables it to continue working instead of crashing (though it could still crash if it’s way beyond the limit). However this transfer makes things much slower. This could explain why it was showing 100% but wasn’t hot - the GPU is considered busy, but compute operations are waiting on memory. I’m just speculating though, this is not certain. Was this second task using larger resolution or other differing settings? Is there displacement in the scene? It is updated based on camera position and could use up more memory.

I don’t believe I checked the memory utilization as I figured if it was being utilized the memory would lead to higher temperatures for the gpu but will try and recreate it sometime and see if I can document/record a bit more of whats going on. The settings of the second task were identical to that of the first and were also in similar areas of each scene, there is displacement in the scene though I don’t believe any near the cameras, also of note is that after re-opening the scene, removing the render-queue items and simply starting the render at those frames lead to expected performance. I’m currently running a short little test on one of machines to see if I can’t recreate the issue on a 3rd machine though this one is 2 A6000 so that should help to remove the memory variable.

3rd machine seemed to handle it fine so I went back to test the situation again on one of the original machines, which it seems like it is no longer encountering the issue when only rendering a few frames each side. In the original instance both scenes comprised of 2 items with different scene states, both of the queue items were roughly ~400 frames. Would memory allocation be retained and be built up throughout the animation potentially causing the busy GPU issue mentioned? as it stands when rendering the scene is only using ~12GB of the 24GB dedicated/32GB shared. Also worth mentioning that we have disabled safe GPU allocations due to the nature of our scenes being quite large/heavy.

In general we release any memory that is no longer used, so it shouldn’t grow significantly over time, unless the scene contents grow (e.g. a deforming mesh that becomes more detailed, or displacement requiring more detailed tessellation, etc).

It will be difficult to help further if the issue can’t be reproduced. It’s best when we can reproduce issues on our end.

Here is the debug log of what’s occuring. The second task finished at ~08:43 log time on 10/28. I think I misinterpreted the issue originally to be related to hardware due to the GPU utilization but the log seems to indicate that it is simply failing at add a frame number to my sequence and continuously overwriting itself. I apologize for the goose chase but hopefully this provides better context!
debug_log-ISSUE.txt (576 KB)

It looks like this is an issue that we have fixed for the 3.0.3 patch that should be released next week. The issue in question is supposedly triggered when render elements are enabled. Was that the case?

Does your original post mean that the sequence had finished, with only one image file saved (overwritten many times)? And you said the GPU was used 100%, but not because it was still rendering the sequence? If you want to avoid this, go to Edit->Preferences->General and enable “Stop interactive sampling after” (X samples).

Yes, I was rendering an exr with several elements so that checks out. Originally I had one that was still rendering and showed 100% utilization but it might be more specific to the machine as I’ve had trouble with it before, I’ll try out the setting you mentioned though. Thanks again!