Long load time for G8F -- Stumped on log file
![dijitul](https://secure.gravatar.com/avatar/63a51aa7d24c2152f131b7f26011fdf3?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2F63a51aa7d24c2152f131b7f26011fdf3_100.png)
There is about a 4-minute wait for G8F to load. The log file shows the following output. The delay appears right between the WARNINGS and just before the "Begin Loading Character Addons..."
Anybody have an idea what/where this problem is occuring?
Thank you in advance.
Log file:
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(7848): Failed to add user alias property to node.
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(1451): Failed to create alias!
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(7848): Failed to add user alias property to node.
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(1451): Failed to create alias!
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(7848): Failed to add user alias property to node.
2020-04-11 23:00:06.465 WARNING: ..\..\..\..\..\src\sdksource\fileinput\dzassetdaz.cpp(1451): Failed to create alias!
2020-04-11 23:04:26.752 Begin Loading Character Addons...
2020-04-11 23:04:27.368 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:27.382 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:27.382 Loaded file: FHMErevan Airy.dsf
2020-04-11 23:04:27.387 Loaded file: thightside in both.dsf
2020-04-11 23:04:27.392 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:27.392 Loaded file: pJCMThighSide_26_R.dsf
2020-04-11 23:04:27.403 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:27.403 Loaded file: pJCMThighSide_26_L.dsf
2020-04-11 23:04:28.040 File loaded in 0 min 1.2 sec.
2020-04-11 23:04:28.040 Loaded file: Genesis 8 Female Eyelashes.duf
2020-04-11 23:04:28.052 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.052 Loaded file: Vagina_SupPenet-Tight_key.dsf
2020-04-11 23:04:28.052 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.052 Loaded file: Vagina_Penet-Tight_key.dsf
2020-04-11 23:04:28.052 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.063 Loaded file: default-shape.dsf
2020-04-11 23:04:28.063 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.063 Loaded file: !Tight Vagina.dsf
2020-04-11 23:04:28.063 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.063 Loaded file: PHMEyelashesLengthUpper.dsf
2020-04-11 23:04:28.063 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.063 Loaded file: PHMEyelashesLengthLower.dsf
2020-04-11 23:04:28.063 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.070 Loaded file: PHMEyelashesCurl.dsf
2020-04-11 23:04:28.212 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.212 Loaded file: PHMEyelashesLengthUpper.dsf
2020-04-11 23:04:28.215 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.215 Loaded file: PHMEyelashesLengthLower.dsf
2020-04-11 23:04:28.215 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.215 Loaded file: PHMEyelashesCurl.dsf
2020-04-11 23:04:28.215 Loaded Morph Deltas in 0 min 0.0 sec.
2020-04-11 23:04:28.215 Loaded file: PHMEyelashesExpand.dsf
2020-04-11 23:04:28.688 File loaded in 0 min 0.0 sec.
2020-04-11 23:04:28.693 Loaded file: Base MAT Eyelashes.duf
2020-04-11 23:04:28.693 Finished Loading Character Addons
2020-04-11 23:04:29.018 File loaded in 5 min 1.1 sec.
2020-04-11 23:04:29.018 Loaded file: Genesis 8 Basic Female.duf
2020-04-11 23:04:37.541 Loaded image G8FBaseLegsMapD_1003.jpg
2020-04-11 23:04:37.586 Loaded image G8FBaseEyes01_1007.jpg
2020-04-11 23:04:37.744 Loaded image G8FBaseArmsMapD_1004.jpg
2020-04-11 23:04:37.792 Loaded image G8FBaseMouthMapD_1005.jpg
2020-04-11 23:04:37.953 Loaded image G8FBaseFaceMapD_1001.jpg
2020-04-11 23:04:38.114 Loaded image G8FBaseTorsoMapD_1002.jpg
2020-04-11 23:04:38.164 Loaded image G8FBaseEyelashes_1006.jpg
Comments
The more morphs, and other assets, the longer it takes. Four minutes isn't that bad.
If that's the case, is there a way to enable more verbose logging so I can see which assets are taking the longest to load? If I knew that, then I'd be able to eliminate those I don't really use/need/care about. If there's not a way to enable more verbose logging, that should be addressed at some point in a future version!
Four minutes is shocking to be honest. Something is creaking under the strain for sure.
Basically DS has found a badly done alias file (or three), and it's caused the program to crap itself, had a hissy fit and sat in the corner for 4 minutes while it pulled itself together again.
Problem is that it doesn't tell you which alias files are bad, so finding them is likely to be a royal pain, especially if it's just started happening and you've just batch installed a bunch of content. Only good news is they are alias files, basically a dummy slider on a bone, majority of them are totally worthless and a waste of drive space, so deleting the broken ones wont cause you any issues, especially as they are broken and not working to begin with.
You also have morphs being loaded that shouldn't be, the eyelash morphs are the only ones that should be preloaded, the character Erevan Airy is a known issue, but I thought that it had been fixed.
Richard, even if you have every G8F morph and character in the store, and assuming there are no errors messages, then 30 to 40 seconds is what I would expect a load time to be. I have a couple of thousand asset files in G8F's Morphs folder, those that come with her, Vicky 8 and Monique 8 (minus the correctives I don't have the products for), whole bunch of freebies, manually converted morphs from other figures, and a bunch of my own custom morphs.
Log file is clean, so G8F's load time is 5.9 seconds, and that's on a 2.9 Ghz i5, DS is on an SSD but the content is on an external HDD that's USB 2.0.
I would also like to join your campaign for more useful diagnostics for this kind of thing. Even a simple CLI tool would be extremely useful.
Thank you for some more insight to this. Do you know if alias files are a specific file type/extension, or are they stored within the various DSF/DUF file(s)?
Regarding the eyelash morph, I'll take a closer look into that, but it didn't appear to add noticable time to the load so I just ignored it.
It doesn't matter which asset it is, it's a cumulative matter of which can only be remedied by a faster drive i/e an SSD or more preferably an M.2 SSD. Like Richard stated, "The more morphs, and other assets, the longer it takes".
This is same for any software that has to fetch data for any scene, canvas, render, environment and so forth. Even video games are subject to this scenario or better yet said "bottleneck".
Having a fast M.2 SSD doesn't improve asset load times over a normal SATA SSD, the slow loading problem is with Daz Studio, the more assets you have in your libraries to longer things take to load unfortunately.
Steve.
They are DSF asset files, so they are somewhere in "data > DAZ 3D > Genesis 8 > Female > Morphs", in there you will find dozens of folders, one for each vendor you have gotten G8F morph content from. DAZ own usually start "alias_<bodypart>_", with other peoples then your guess is as good as mine.
Now alias files are normally tied to the head of the figure, so if you have recently installed any morph packs with lots of partial head morphs, then that would probably be the best place to start, as would any custom expression packs.
TBH the best way for you to find the problem files is trial and error, head into G8F's Morphs folder, select half the folders in there and move them out of the Morphs folder, doesn't matter where they go (don't delete them) just so long as they are outside the Morphs folder or any of it's sub folders.
Now start DS, load G8F and check to see if the errors are still there or not, if they are gone then you know they are in the folders you just moved out, like wise if they are still there then you know the files are in the folders you didn't move. Now it's a case of trail and error, move folders in/out of the Morphs folder until you find the right folder. Once you know who the vendor is you can identify the product, then you can head to whichever store you bought it from and complain loudly about it, who knows they might even fix it.
In the mean time you still have a problem so it's time to identify the problem files, with luck they will have alias in the name, failing that you need to open them in a text editor to find their "type", odds are they will be compressed so you will need to use the batch converter tab in DS to un-compress them first.
Once you know which are the alias files don't delete them, instead move them out of that products folder to someplace safe for the time being, now drop that products folder back into G8F's Morphs folder (if it isn't there already). Start DS and load G8F, then check the log, you ae looking to make sure those errors are gone, but to also check that no new errors have appeared. Wouldn't be the first time a Control slider has had an ERC link to an alias instead of the actual morph/pose asset file, if the log is clear then you can safely delete the alias files, otherwise you might have a bit of file editing to do.
As for the morphs, you have it backwards, the eyelash morphs are the only morphs that should show up in the log, the files FHMErevan Airy.dsf, thightside in both.dsf, pJCMThighSide_26_R.dsf, pJCMThighSide_26_L.dsf, Vagina_SupPenet-Tight_key.dsf, Vagina_Penet-Tight_key.dsf, default-shape.dsf and !Tight Vagina.dsf should not be listed. What this means is that those morphs have a default value greater than zero, that means that your G8F isn't loading in with her default shape, instead she is loading in with a morphed shape which will affect how all of your G8F characters will look. Those files need to be edited and have their "value" set to zero.
That's great because I didn't say that. I said, "......remedied by a faster drive i/e an SSD or more preferably an M.2 SSD."
I stated the aforementioned based upon the assumption that the content was being stored on a mechanical HDD. If you do not have a mechanical HDD and indeed have all your content on an SSD whether via a SATA cable or an M.2 slot then you need decide how much of that content you have is worth the ocean of data that Daz has to weave through to find your selection.
Or, mitigate the load by creating more than one base directory.
For example, create a base directory for each generation of Daz figures rather than having Genesis 1-8 on one directory.
Is this is an inconvience? Yes. Is the software at fault? No, the software's fetching of data is constrained to the fact that a mesh does not have everything (clothing, morphs, textures etc) embedded into it. Everything 3D suffers from this, ever play an MMO? Try playing Black Desert Online on a mechanical HDD and you will see the world literally materialize as you ride through it on a horse rather than already be loaded in.
Why? Because that game has base meshes that "tie-in" different morphs, textures and animations to it. The only way to circumvent this is via a faster drive.
If you want to drive from California to New York in under an hour than you need the fastest method of travel available and limiting yourself to a car won't help. Buy a plane ticket. In this case, space out your content.