So this is a frustrating issue we are having. We are working on a very large scene, and I mean large. We have a main file for the cameras and lights. There are about 12 xref scenes linked to this file with various assets and parts of the project. Each xref file has a different xref object loaded used for the furniture, and vegetation scattering. So we have everything from railclones, fostest pack objects, vray clippers, most geometry is vrmesh. I’ts a very large masterplan and this is how we got the files from the client. We went through each file and cleaned them as much as we could. We used vray scene converter on everything and Sini. When you hit render it starts loading assets and when the last one is loaded max freezes for about 45-60 minutes just befor building light cache. After it unfreezes everything is working as expected…
We need to render some aerial animations and this issue will mostly mean we won’t be able to meet the deadline.
PS. I forgot to mention that all displacement is disabled in the file from the render settings.
Edit 1:
I just started a new rendering and observed that after building the light cache max is not responding again just befor Merging light cache passes. So it seems that this is happening between each stage before the rendering. Although none of the freezes takes as much as the the one mentioned in the main post. we are using max 2024 with the latest vray, FP and RC. I have 128GB of memory on this workstation. Before the render starts the memory peaks close to 95-98% for a few minutes, during rendering is at about 53%.
Update 1:
After rendering the first frame (from a sequence) I canceled the rendering and max is not responding for a while now. I also noticed that after saving and closing the main file max taxes about 10 minutes to actually close. We have all assets on the network as we always did (NAS) and 10G network cards.
Update 2:
This is the fist project that while rendering makes the PC almost unusable even though, as I said memory wise is at 45-55%. One time just after it unfroze my monitors switched to black for a couple of seconds… This never happened before on any projects we had, even on big projects similar to this one.
Best would be if you could send us the whole thing - we can experiment and find out what happens.
Other than that - you can check the V-Ray log file for some details (and also send it our way - it might help too). The log file itself contains a timestamp for every message so you can see which steps a lot of time.
The scene files are very huge and we still need to make a lot of adjustment to the project for the deadline which is next Monday.
Can you please tell me how can I find the log file? Or should I just copy the information from the log tab in the VFB?
We had a xref file that contained one Forest object with a vray sphere light that was distributed along the streets of the site, and one RC object that contains multiple groups of planar vray lights that was used to distribute them across all the villas on the site. Without this file the render freezes just a couple of minutes. I tried to use forest tools and RC tools to instantiate the lights but no luck with that. I tried to replace the vray lights from the FP and RC with planes (vray light materials assigned)… This seems to work but the image is extremely noisy now.
I have to make a few more tests because one of my colleagues said he tried to render with the proxies hidden and that seems to work (must double check). If that turns out to be true it seems that any xref with a lot of objects/lights makes max freeze. Will try to come with a update first thing tomorrow.
By default it is located in your temp folder - type %temp% in Windows Explorer address bar. It should be called vraylog.txt. The log there will contain all the information that we log.
You could also use it but you should switch what is shown in the log to All:
Thanks Yavor, the client is being paranoid and didn’t accept to send the model over. I managed to save the log file from the latest test from today that had the long unresponsive time. Hope this can shed some light on the issue. Vray LOG.txt (38.3 KB)
OK, but my issue with FP was different grass patches applied to the same geometries. I was wondering if you have tried to turned the FP completely and if that makes the difference.
I’d guess it’s a gpu issue of some sort. Similar things always get me to abandon gpu use because of the ridiculous slowdowns and, yes, Max freezes when cancelling or render end.
Did you try cpu to see if there is a similar issue, in order to eliminate that?
Thanks for the log. Unfortunately you changed the logging level after the render - so detailed logs are not there. The one unexpected thing I see is in these lines:
[11:32:48.744] Setting up instance lights
[13:18:05.610] 3 opaque, 3 double-sided render instances found out of 4333 total
Lots of time between the two but no more details. If you can send the actual log file from %TEMP% - it will contain all the data regardless of the setting in the VFB log window.
Another thing you could do is to try the V-Ray Profiler we’ve added in V7 - V-Ray for 3ds Max
Thanks for clarifying that. Here is the Log file from %TEMP%. All morning I made a lot of tests trying to find a fix so I don’t know how that would impact the log but maybe it helps. The file was pretty big so I uploaded via wetransfer.