Average VRAM Consumption on Product's Page
in The Commons
I recently made some tests on memory consumption to investigate on CPU Fallback of the Iray Engine in certain scenes. I have a GTX 960 with "only" 4GB of VRAM, so I need to be cautious on Memory Consumption.
For example, I created a scene with the "Classic Bob Hair for Genesis 3 and 8 Female(s)" ALONE (no figures at all, no props, nothing but the hair) with a camera (all default setting, default camera settings, default render settings). I switched off all programs and measured the memory consuption with GPU-Z. That scene consumes about 1871 - 2010 MB of VRAM: about 1871 MB when the scene is visible in the viewport (Iray Engine selected), 2010 MB when I hit the render button... So, the hair alone consumes HALF of my VRAM: the product is gorgeous but almost unusable for me (and that's why a scene with a figure AND the Classic Bob Hair causes the CPU Fallback...)
I think it could be very useful for customers if a product in the store showed the VRAM Consumption with default settings if rendered alone. I could choose a product not only for his "beauty" but also for his VRAM Consumption.
I know that there could be various settings and the VRAM Consumption could change but this could be reported on the product's page:
- settings 1: about 1 GB of VRAM
- settings 2: about 1.5 GB of VRAM, etc.

Comments
Don't forget that with your GPU and recent versions of DS Iray will be sending over a large chunk of code to emulate the RTX features found on newer cards. It might be wise to try rendering a simple one-division plane and see how much memory that uses as a baseline. That is also why your suggestion probably wouldn't work - even with defaults the amount of memory used will be influenced, potentially quite strongly, by other factors.
I've forgotten, but isn't there some render setting that a user can set to prevent that RTX feature simulation memory from being used?
Not that I am aware of - as far as I know Iray uses those features now, so if the card doesn't have them in silicon they have to be emulated.
Back when the option for rendering with/without Optix (Prime?) was removed, non-RTX graphics card RAM usage suddenly jumped by about 1GB. I thought a DS update introduced a workaround for that problem, so scenes that previously rendered on an older DS version, could be rendered again. Does that ring any bells? My memory is foggy on the details.
Not really, and I've been spouting the "non-RTX loses memory to emulation" for a while without any contradiction from the experts.
I think this is what I was thinking of - from the change log:
I don't like average; they can mean different things, and everage on one machine might be different on another.
It would be sort of useful to have a card: call it the Daz reccommended minimum, and how much ram was used on that card; of course it would need to include the specs of the rest of the system.
I have noticed one thing when turning off CPU in the iRay advanced settings, with CPU turned on my vram usage is about 6.5 to 7 GB for a scene.. Deselecting the CPU option and rendering the exact same scene, my vram usage is maxed out..
So that setting seems to have a big impact on memory usage, although I am still using a 1070Ti have yet to get a newer card..
I have 960 gtx with 4 vram as well. Any advice / guides?
The size of the installation package does also give clues to how heavy the scene is, and that information would be readily available.
Concerning resource usage of the mesh and textures in a scene for iray, the information I posted on these promos - https://www.daz3d.com/resource-saver-shaders-collection-for-iray - still holds true except for one thing, as of Daz studio 4.11, Iray no longer loads up multiple copies of an image map for every surface its used on, so its much more resource friendly when reusing the same map in different image map channels.