Problem: Drop in CPU usage during rendering

I’ve been using V-Ray since version 1.0, and I believe this is my first post here. So hello, everyone! :slight_smile:

Since yesterday, I’ve been having a very strange problem with one of my scenes. During a productive progressive render, CPU usage drops from 100% to 3% after about 1 minute of rendering.

Context:

I am currently migrating to a new PC. And I encountered the problem on both machines :
1 - AMD 3900x / 64GB RAM / Max 2026 / vRay 7 update 2 hotfix 2
2 - Intel Ultra 265KF / 96GB RAM / Max 2026 / vray 7 update 2 hotfix 2
(3 - also tested : Intel Ultra 265KF / 96GB RAM / Max 2025 / vray 7.0)
Windows 11 on both, fresh install, up to date. All driver at stock, fresh install and up to date.
No temperature issues. Both machines remain below 70° during rendering.
The AMD station has been in production for 5 years without any problems!

The Basics:

No problems under V-Ray Benchmark.
No problems under CineBench.
No strange logs in the VFB.
​No other apps running in the background.
No thermal throttling.
​

Symptoms:

This is a heavy interior archviz scene.
Depending on the camera selected for rendering, the CPU drop issue does or does not occur. That in itself is very strange!
Here is how the problem looks when it happens:
1 - LightCache = CPU at 100% (normal) - around 1.20min
2 - Merging LightCache = CPU drop (normal) - below 40sec
3 - Render = start at 100% … but after 1-1min30 … drop at 30-50% And if I let it run until the end of the allotted time, the rendering result is clearly not up to the expected standard.

BUT
Same scene, different camera: the rendering is flawless. 100% CPU usage all the way through.
​

Workaround… for now:
​
I tried many things, including downgrading Max (to 2025) and vRay (to 7.0). But nothing changed.
The only thing that worked and saved what was left of my night was: ​Disable LightCache and switch to Brute Force/Brute Force.
​

​

So, I need help!

Where could the problem be coming from?
If it’s coming from an object in my scene, how can I quickly isolate and fix the source of the problem?

​Thank you in advance for your help!
​Cheers

​

You’re using progessive I see, does it also happen with bucket? As for scene trouble shooting, I would start with disabling all heavier things like displacement and scatter objects. If it renders fine start turning them on 1 by 1. If it doesn’t render fine, hide all your furniture, same story, if it renders fine, turn them on in batches.

Thanks for your suggestion.
I just tested it in a bucket: it’s work, no CPU drop or any problem.
But that’s not a solution in my case. I need fast rendering every day in my workflow.

But I think I’ve found the source of the problem!
​
Assuming that the problem was caused by a random geometry, I tried to isolate the issue. And I got VERY lucky: it worked on the first try!!! :slight_smile:
In my scene, the problem comes from a curtain mesh.
Editable Mesh base > Duplicate as Reference > on top, add FDD 2x2x2 or Bend (to add variety)

Rendering of the entire scene WITHOUT these curtains: no probem. Work at 100%
Rendering ONLY the curtain : Bug and CPU drop to 30% after 2min.

So, I started playing around by rendering only the curtains.
Same geometry, but with a default grey vrayMTL : It’s work at 100% !!!
​So, it seems to be coming from the shader…

  1. ​If I set a vrayMTL shader as default: it works at 100%
  2. If I set the original shader, but without vRay2Side: it works at 100%
  3. If I set the original shader, but with vRay2Side: it doesn’t work!
  4. If I make a new shader from scratch,​ but with a vRay2Side : **it works at 100%**​​

I think we’ve found the culprit!

Very strange bug. First time this has happened to me in 20 years on the profession…
I hope this post can help someone. Maybe the information deserves to be passed on to higher up?
​
​
​
​

Mind if you strip down the scene (as much as you can while the slowdown is still happening) and send it?

Thx Hermit.Crab.

Here is the file. Reduced to a minimum with the problem.
I am very curious to hear your thoughts on the problem origin!

Soumission n° ARTZ-5A9T

And if anyone else wants to try it out:

​(Too heavy for the forum, at nearly 20MB. Due to a raw.tx texture from Cosmos)

Thanks for the provided scene. I managed to reproduce the issue on a simple scene. It occurs when - brace yourself - two thin objects, which are very close to each other, have a VRay2SidedMtl with transparency, in which a VRayMtl with Sheen and VRayBitmap with low blur is applied. Basically, the renders get stuck in a loop in this scenario. I’ve logged it (tracker ID: VMAX-15217) for dev investigation. The simplest workaround in your case is to set the VRayUVWRandomizer’s (Map #2140616526) Blur to 1 and make the “Curtain” materials’ Sheen color a bit darker.