Performance Issues loading models

linkinbnulinkinbnu Posts: 18

Hey, I'm experiencing something really weird with Daz. When I open it and load a model, it loads pretty quickly. But if I load the same model again, it takes a lot more time, and each subsequent load takes even longer. I'm using G9 models with PBR shader skins, nothing fancy. I have a beefy PC, so I don't think that's the issue.

 

Nothing weird in between the loads other than a bunch of "Formula output property not found".

 

First Model: Finished asset load (open): 0m 22.808s

Second Model: Finished asset load (merge): 2m 20.749s

Third Model: Finished asset load (merge): 4m 38.95s

 

I found something in the logs that looks weird (the problem is definitely here):

2024-07-15 18:25:17.501 [INFO] :: Creating materials...
2024-07-15 18:27:20.478 [INFO] :: Resolving legacy figures...

2024-07-15 18:31:02.437 [INFO] :: Creating materials...
2024-07-15 18:35:23.108 [INFO] :: Resolving legacy figures...

Post edited by linkinbnu on

Comments

  • crosswindcrosswind Posts: 7,280
    edited July 15

    That depends on what you really loaded (opened)... a character preset ? a scene sub-set ? a Scene ?

    Merging a scene usually takes more time... but from 22 secs to 2m20secs. as per the same figure... that seems too long to me.

    Post edited by crosswind on
  • linkinbnulinkinbnu Posts: 18
    edited July 15

    crosswind said:

    That depends on what you really loaded (opened)... a character preset ? a scene sub-set ? a Scene ?

    Merging a scene usually takes more time... but from 22 secs to 2m20secs. as per the same figure... that seems too long to me.

    Sorry, it's a subset containing a G9-modified model and hair. And yeah, it's absurdly slower.

    As extra info, it contains a hair with the omni shader.

     

    Doing some tests removing the hair from the subset influences the load times, but the problem is still there.

    Finished asset load (open): 0m 19.810s

    Finished asset load (merge): 1m 7.147s

    Finished asset load (merge): 2m 3.389s

    Post edited by linkinbnu on
  • crosswindcrosswind Posts: 7,280
    edited July 16

    Okay ~~ Becaus of long time no test, so I tested with a very same Scene Sub-set in which there's only one bare G9 character (JS Sarah G9). The attached ss is the result I got from 3 times' loading, with DS General Release (in fact there was a tiny delay with DS Public Build... not a big deal.)

    AFAIK, there should be no big difference in terms of loading mechanics but only when loading the very same subset (figure), there's a process of renaming all the nodes (root nodes and sub-nodes of attachments...) that have same Labels. That takes some time before Viewport Redraw is fully unlocked....

    Still, yes, the loading time on your side seems much longer... not normal indeed. What character are you using for test ?

    SNAG-2024-7-16-007.png
    2560 x 1296 - 71K
    Post edited by crosswind on
  • linkinbnulinkinbnu Posts: 18
    edited July 16

    There's a good amount of morphs, 100+, but the base is Vito and Thomas. I also tested loading default characters, the same problems, they load faster because they are simpler when talking about morphs, but they keep increasing the load time each time I load them.

    I am not sure if it helps but I edited my first post and added a part of the log that is interesting, it looks like material creation is eating most of the time. Why? No idea... PBR shader perhaps?

    Post edited by linkinbnu on
  • crosswindcrosswind Posts: 7,280

    Well... good question but I don't think that's the culprit...unless you lost the shader resources... Is there any line as what I highlighted in the attached screenshot ?

    SNAG-2024-7-16-012.png
    2560 x 1296 - 256K
  • linkinbnulinkinbnu Posts: 18

    Nope, everything seems fine.

    2024-07-15 20:56:11.772 Iray [INFO] - MDLC:COMPILER ::   1.0   MDLC   comp info : Loading module "::daz_3d::pbr_skin" from "C:\Program Files\DAZ 3D\DAZStudio4\shaders\iray\daz_3d\pbr_skin.mdl".
    2024-07-15 20:56:14.524 Iray [INFO] - MDLC:COMPILER ::   1.0   MDLC   comp info : Loading module "::OmniSurface::OmniShared" from "C:\Program Files\DAZ 3D\DAZStudio4\shaders\iray\OmniSurface\OmniShared.mdl".
    2024-07-15 20:56:14.530 Iray [INFO] - MDLC:COMPILER ::   1.0   MDLC   comp info : Loading module "::OmniSurface::OmniHairBase" from "C:\Program Files\DAZ 3D\DAZStudio4\shaders\iray\OmniSurface\OmniHairBase.mdl".
    2024-07-15 20:56:14.925 Iray [INFO] - MDLC:COMPILER ::   1.0   MDLC   comp info : Loading module "::daz_3d::dual_lobe_hair" from "C:\Program Files\DAZ 3D\DAZStudio4\shaders\iray\daz_3d\dual_lobe_hair.mdl".

  • linkinbnulinkinbnu Posts: 18

    crosswind said:

    Well... good question but I don't think that's the culprit...unless you lost the shader resources... Is there any line as what I highlighted in the attached screenshot ?

    I'm out of ideas. Thanks for trying; I really appreciate your help.

  • linkinbnulinkinbnu Posts: 18

    This is definitely a merge problem, after merging, saving the scene with 7 models, closing Daz, re-opening the scene takes only 3 minutes.

  • crosswindcrosswind Posts: 7,280

    linkinbnu said:

    This is definitely a merge problem, after merging, saving the scene with 7 models, closing Daz, re-opening the scene takes only 3 minutes.

    I can only say that Open is different from Merge... when Opening a scene, everything are already saved in the user-facing DUF file, so it'll be "very straight-forward faster". When Merging a scene, before everything is loaded into Viewport and Scene pane, more things will be checked, verified and processed...

Sign In or Register to comment.