Multiverse + Redshift: lag/delay on IPR updates
When having Multiverse compound loaded in the Redshift renderer the IPR render updates (e.g. rotating camera or updating a light) gets laggy and feels slow (even on a machine with 2x RTX 3090 in it) whereas with Redshift's own objects these updates are instant and that doesn't happen.
It's as if multiverse always tries to force a full refresh of the USD plugin or its DLL? - whenever the Redshift render kicks in during that time it just hangs for a long time. Even with relatively lightweight geometry - e.g. a cube .usd with six polys. The delay doesn't seem much bigger when working with massive assets when comparing that to e.g. a single cube in the USD file.
It's literally the difference between instant updates and taking up to 2-3 seconds for the refresh to happen the Maya UI just hanging/lagging during that time when in IPR. Hide the multiverse compound the lag is gone. Can clearly see that in the rendertimes too - a consistent jump from e.g. 3.11 seconds/frame to 5.13+ seconds frame on a simple scene.
No difference in speed/delay when running Multiverse + Redshift from local SSD or over a network share. So it doesn't feel all too closely related to actual DLLs or libraries being reloaded.
Had a thought about this - could a part of that delay come from a new check for a Multiverse license? Haven't tested that theory - just wondering. As if each IPR cycle it tries to re-check whether it has a valid license? (edited)
Application Details
- Multiverse (multiverse-7.0.0-python37-87cf138a)
- Maya 2022.3 Py3
- Viewport 2.0
- Multiverse: Hydra Maya VP2
- Redshift 3.5.03