Rendering with high sample count - Hitting DrJit memory limit #1054
Replies: 7 comments 20 replies
-
How are you calling Mitsuba? I.e. how do you invoke the render process, what are the parameters, etc.? It sounds to me like you are somehow forcing the renderer to work in wavefront mode, where memory usage is proportional to the sample count. Normally we prefer to work in megakernel mode where that doesn't happen. And this is also the default, which is why your message is surprising. |
Beta Was this translation helpful? Give feedback.
-
Hallo Wenzel, thanks for your reply. I'm completely new to Mitsuba and got very excited as it offers realistic materials and light distribution which would be perfect to visualize real engineering car headlight data. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Whatever I set for the "sample_count" value, it gets increased at rendering and I get the message that it must be a multiple of the spp_per_pass value. (this is impossible to predict tough as the renderer increases the value at runtime by a value that I can't figure out.)
I also tested the ptracer integrator and it produced a much smoother image but unfortunately the rays inside the light pipe have been not coupled out at the side optics, so it remained dark.
But the rendering time was about half an hour which would be what one would expect with such a trace intensive situation. |
Beta Was this translation helpful? Give feedback.
-
To be honest, I'm getting really confused. What settings would you use if you would need to render such a light guide? It needs a lot of samples as there are hundreds of light ray bounces before the ray (starting at the front of the pipe) reaches the outcoupling optical surface and leaves the pipe, hitting something outside. (I put a sheet of paper underneath the pipe). |
Beta Was this translation helpful? Give feedback.
-
I noticed that this problem seems to be caused by "limited" VRAM. My 16384MiB card sends the multipass render into CPU hell (100%usage indefinitely) while a card with 24GiB (usage of ~18GiB) works fine. It doesn't seem to be related to how Mitsuba handles multipass as I tried in other works to alter this system (setting the limit to 2^29 instead of 2^31 or resetting DrJIT tables for example) and landed on the same observation. Are there more documented comments on this issue ? Tested with a |
Beta Was this translation helpful? Give feedback.
-
Finally I had some time to build a fake light guide in Blender. If anyone would like to test it. So, the question is: is it possible to render such a light guide with 4K resolution and sufficiently low noise level? |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm new to Mitsuba and wanted to test it to visualize CAD Data.
I exported a light guide (transparent tube with hundreds of optical out coupling surfaces on the side) with a LED on it's end from Blender and tried to render it.
It does bend the light correctly and the out coupling of light works as well.
Such a setup needs tons of samples though and if I try to increase the sample count, the renderer brakes down as Dr.Jit hits a memory limit.
Are there any workarounds to this problem?
Is it at all possible to render such sample intensive scenes with Mitsuba?
Any help is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions