Out of Touch strand based hairs stop rendering after a certain amount of iterations

Hi there,

Wonder if this issue is unique to me? With a couple of Out of Touch strand based hairs I have, scenes with them in will simply stop rendering after a seemingly random number of iterations. i.e it'll get to 270 iterations in something like 2 minutes and then it will just stop rendering. It hasn't crashed or anything, it just isn't rendering, if I've set a time limit for the render, it will eventually stop, but it won't have rendered any further.

It's difficult to replicate consistently, some scenes it'll work just fine, some it won't.

These are the hairs in question.

https://www.daz3d.com/dforce-strand-based-everyday-updo-3-hair-for-genesis-9

https://www.daz3d.com/dforce-strand-based-messy-low-ponytail-hair-for-genesis-9

Comments

  • frank0314frank0314 Posts: 14,056

    Did you check your DS log to see if anything stands out there?

  • Richard HaseltineRichard Haseltine Posts: 100,941

    Are you sure it isn't just dropping to CPU, if you have CPU fallback enabled, and so rendering much more slowly?

  • Lev_cLev_c Posts: 82

    Richard Haseltine said:

    Are you sure it isn't just dropping to CPU, if you have CPU fallback enabled, and so rendering much more slowly?

    no, CPU is unchecked as is CPU fallback.

    I'm also running a fairly beefy GPU (RTX 4080).

    I've also tried rendering the same scenes with the OOT hairs replaced by other strand based hairs and have no trouble rendering them

  • crosswindcrosswind Posts: 6,984
    Attach your DS log.
  • Lev_cLev_c Posts: 82

    crosswind said:

    Attach your DS log.

    I've rendered a few thing since the last time, so it doesn't appear to be in my log anymore.

     

    Will post when I next replicate it.

  • Lev_cLev_c Posts: 82

    Hi there,

    Here we are.

     

    2024-09-02 22:11:42.245 Iray [INFO] - MATCNV:RENDER ::   1.0   MATCNV rend info : Material instance 'DS_Full Body Hair G9 - Armpits 04__Arms_1f660_589242' uses MDL JIT compilation.

    2024-09-02 22:11:42.252 Iray [INFO] - MATCNV:RENDER ::   1.0   MATCNV rend info : Material instance 'DS_Messy Low Ponytail Strands__Rigid_Outer_1ef4e_587454' uses MDL JIT compilation.

    2024-09-02 22:11:42.257 Iray [INFO] - MATCNV:RENDER ::   1.0   MATCNV rend info : found 463 textures, 8 lambdas (8 unique)

    2024-09-02 22:11:42.263 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Computing 3 flux compensation factors took 0.002 s

    2024-09-02 22:11:42.263 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Emitter geometry import (5 light sources with 14082 triangles, 1 instance) took 0.005 s

    2024-09-02 22:11:42.264 Iray (Scene Update) : Updating environment

    2024-09-02 22:11:42.264 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating environment.

    2024-09-02 22:11:47.767 Iray (Scene Update) : Updating code

    2024-09-02 22:11:47.771 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating compiled material code.

    2024-09-02 22:11:47.772 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating compiled environment code.

    2024-09-02 22:11:47.773 Iray (Scene Update) : Updating textures

    2024-09-02 22:11:47.773 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating material textures.

    2024-09-02 22:11:47.820 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating environment textures.

    2024-09-02 22:11:47.829 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating BSDFs.

    2024-09-02 22:11:47.830 Iray (Scene Update) : Updating volumes

    2024-09-02 22:11:47.830 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating volumes.

    2024-09-02 22:11:47.830 Iray (Scene Update) : Updating lens data

    2024-09-02 22:11:47.830 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating lens.

    2024-09-02 22:11:47.830 Iray (Scene Update) : Updating lights

    2024-09-02 22:11:47.830 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating lights.

    2024-09-02 22:11:47.831 Iray (Scene Update) : Updating instance topology

    2024-09-02 22:11:47.831 Iray (Scene Update) : Updating flags

    2024-09-02 22:11:47.831 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating object flags.

    2024-09-02 22:11:47.842 Iray (Scene Update) : Updating backplate

    2024-09-02 22:11:47.842 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating backplate.

    2024-09-02 22:11:47.843 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating compiled backplate code.

    2024-09-02 22:11:47.844 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating backplate textures.

    2024-09-02 22:11:47.844 Iray (Scene Update) : Updating decals

    2024-09-02 22:11:47.844 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Updating decals.

    2024-09-02 22:11:47.983 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Using iray core convergence estimate.

    2024-09-02 22:11:47.991 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Allocating 1-layer frame buffer

    2024-09-02 22:11:48.688 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Using batch scheduling, caustic sampler disabled

    2024-09-02 22:11:48.701 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Initializing local rendering.

    2024-09-02 22:11:48.774 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Initializing OptiX for CUDA device 0

    2024-09-02 22:11:50.649 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering with 1 device(s):

    2024-09-02 22:11:50.649 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080)

    2024-09-02 22:11:50.649 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering...

    2024-09-02 22:11:50.766 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend progr: CUDA device 0 (NVIDIA GeForce RTX 4080): Processing scene...

    2024-09-02 22:11:50.767 Iray (Scene Access) : Retrieving geometry

    2024-09-02 22:11:50.771 Iray (Scene Access) : Retrieving device geometry

    2024-09-02 22:11:51.356 Iray (Scene Access) : Retrieving volumes

    2024-09-02 22:11:51.359 Iray (Scene Access) : Retrieving textures

    2024-09-02 22:12:04.826 Iray (Scene Access) : Retrieving device textures

    2024-09-02 22:12:06.831 Iray (Scene Access) : Retrieving flags

    2024-09-02 22:12:06.841 Iray (Scene Access) : Retrieving device flags

    2024-09-02 22:12:06.842 Iray (Scene Access) : Retrieving lights

    2024-09-02 22:12:06.846 Iray [INFO] - IRAY:RENDER ::   1.6   IRAY   rend info : Importing lights for motion time 0

    2024-09-02 22:12:06.851 Iray [INFO] - IRAY:RENDER ::   1.6   IRAY   rend info : Initializing light hierarchy.

    2024-09-02 22:12:06.975 Iray [INFO] - IRAY:RENDER ::   1.6   IRAY   rend info : Light hierarchy initialization took 0.124 s

    2024-09-02 22:12:06.976 Iray (Scene Access) : Retrieving device lights

    2024-09-02 22:12:06.978 Iray (Scene Access) : Retrieving section objects

    2024-09-02 22:12:06.979 Iray (Scene Access) : Retrieving device section objects

    2024-09-02 22:12:06.979 Iray (Scene Access) : Retrieving materials

    2024-09-02 22:12:06.985 Iray (Scene Access) : Compiling custom code

    2024-09-02 22:12:07.368 Iray (Scene Access) : Retrieving environment

    2024-09-02 22:12:07.738 Iray (Scene Access) : Retrieving device environment

    2024-09-02 22:12:08.340 Iray (Scene Access) : Retrieving backplate

    2024-09-02 22:12:08.340 Iray (Scene Access) : Retrieving device backplate

    2024-09-02 22:12:08.351 Iray (Scene Access) : Retrieving decals

    2024-09-02 22:12:08.581 Iray (Scene Access) : Retrieving device decals

    2024-09-02 22:12:08.587 Iray (Scene Access) : Retrieving motion transform data

    2024-09-02 22:12:08.587 Iray (Scene Access) : Retrieving device motion transform data

    2024-09-02 22:12:08.587 Iray (Scene Access) : Retrieving lens data

    2024-09-02 22:12:08.587 Iray (Scene Access) : Retrieving device lens data

    2024-09-02 22:12:10.748 Iray [INFO] - IRAY:RENDER ::   1.6   IRAY   rend info : JIT-linking wavefront kernel in 0.836 s

    2024-09-02 22:12:10.762 Iray [INFO] - IRAY:RENDER ::   1.6   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080): Initializing volume acceleration structures took 0.000 s

    2024-09-02 22:12:10.762 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080): Scene processed in 19.996s

    2024-09-02 22:12:10.792 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080): Allocated 540.000 MiB for frame buffer

    2024-09-02 22:12:10.887 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080): Allocated 1.969 GiB of work space (2048k active samples in 0.000s)

    2024-09-02 22:12:10.891 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 4080): Optimizing for cooperative usage (performance could be sacrificed)

    2024-09-02 22:12:12.127 Iray [INFO] - IRAY:RENDER ::   1.7   IRAY   rend info : Allocating 1-layer frame buffer

    2024-09-02 22:12:24.067 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00001 iteration after 33.109 s.

    2024-09-02 22:12:26.619 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00015 iterations after 35.855 s.

    2024-09-02 22:12:27.674 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00017 iterations after 36.911 s.

    2024-09-02 22:12:30.415 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00020 iterations after 39.633 s.

    2024-09-02 22:12:33.360 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00023 iterations after 42.495 s.

    2024-09-02 22:12:36.778 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00027 iterations after 46.014 s.

    2024-09-02 22:12:40.700 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00031 iterations after 49.909 s.

    2024-09-02 22:12:44.884 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00036 iterations after 54.120 s.

    2024-09-02 22:12:50.329 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00042 iterations after 59.560 s.

    2024-09-02 22:12:55.837 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00048 iterations after 65.073 s.

    2024-09-02 22:13:02.000 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00055 iterations after 71.236 s.

    2024-09-02 22:13:09.348 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Received update to 00063 iterations after 78.585 s.

    2024-09-02 22:19:30.062 [INFO] :: Loaded image: Shaping.png

    2024-09-02 22:19:30.065 [INFO] :: Loaded image: Shaping.png

    2024-09-02 22:19:30.067 [INFO] :: Loaded image: Shaping.png

    2024-09-02 22:19:30.068 [INFO] :: Loaded image: Shaping.png

    2024-09-02 22:19:30.070 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.075 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.077 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.079 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.082 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.084 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.086 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.088 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.090 [INFO] :: Loaded image: Smoother.png

    2024-09-02 22:19:30.092 [INFO] :: Loaded image: Smoother.png

     

    So it did 63 iterations and then just stopped. I have no idea what these smoother.png files are and why it was loading them

    I subsequently replaced the OOT hair with another strand based hair (Kara Ponytail) and the render completed fine.

  • franky85franky85 Posts: 133
    edited September 7

    I can reproduce this.

    1 - Load a character (e.g. Victoria 9)
    2 - Load an OOT strands-based omni-shader hair, i.e. dForce Strand-Based Messy Low Ponytail Hair for Genesis 9 on the character
    3 - Load KindredArts's Iray Light Volume kit - IGLKV Plain Room Volume
    4 - Hit render - no need for lights or cameras or move the perspective or tweak anything

    iray will crash sometime in the early stages, usually between 24 and 40 iterations  in my case in 4K, and 7-8 iterations in 8K. Lowering the render resolution to 1080p will make it crash after about 200ish iterations. The GPU just becomes idle after that point.

    I got iray server to crash too so it seems to be a broader issue than just daz itself.

    By changing the hair to Chevybabe25's Space Buns which is also a strands-based, omni shader hair, the issue went away. So something is up with outoftouch's newest hairs and KindredArts's light volume kit.

    Post edited by franky85 on
  • crosswindcrosswind Posts: 6,984

    Are you sure that you've had Default Resources for Daz Studio 4.22+ updated to the latest version ?  What is your DS version ?

  • Lev_cLev_c Posts: 82

    crosswind said:

    Are you sure that you've had Default Resources for Daz Studio 4.22+ updated to the latest version ?  What is your DS version ?

    Yes - Daz version 4.22, resources 4.22+

     

    I can confirm this is also happening with Out of Touch's latest product

  • franky85franky85 Posts: 133
    edited September 8

    I have attached a screen recording video (H265, zipped because forum wouldn't let me attach an mp4 file) that shows how to reproduce the problem from a fresh daz startup, I do have the latest default resources, and I could also reproduce Lev_c's issue with the latest Daz Studio beta from September (4.22.1.202)

    I also filed a ticket because I know it's the proper way for this type of issue.

    zip
    zip
    daz.zip
    5M
    Post edited by franky85 on
  • crosswindcrosswind Posts: 6,984

    franky85 said:

    I have attached a screen recording video (H265, zipped because forum wouldn't let me attach an mp4 file) that shows how to reproduce the problem from a fresh daz startup, I do have the latest default resources, and I could reproduce Lev_c's issue with the latest Daz Studio beta from September (4.22.1.202)

    I also filed a ticket because I know it's the proper way for this type of issue.

    Yes, I could reproduce the issue after watching the video. To me, it seems that there's a conflict in between VDB Prop or OpenVDB shader and OOT's SBH hair node ~~ If you hide VDB Prop or use a non-OOT SBH, there'll be no render issue ~~ I don't know the root cause for the time being, but thanks for filling the ticket !

  • franky85franky85 Posts: 133

    crosswind said:

    franky85 said:

    I have attached a screen recording video (H265, zipped because forum wouldn't let me attach an mp4 file) that shows how to reproduce the problem from a fresh daz startup, I do have the latest default resources, and I could reproduce Lev_c's issue with the latest Daz Studio beta from September (4.22.1.202)

    I also filed a ticket because I know it's the proper way for this type of issue.

    Yes, I could reproduce the issue after watching the video. To me, it seems that there's a conflict in between VDB Prop or OpenVDB shader and OOT's SBH hair node ~~ If you hide VDB Prop or use a non-OOT SBH, there'll be no render issue ~~ I don't know the root cause for the time being, but thanks for filling the ticket !

     

    This got me thinking - do I have another VDB prop? And I do, SY Real Facial Smoke Genesis 8 VDB

    That one didn't make the render stop - I also tried to make sure the smoke prop would encompass the hair and it still wouldn't crash. Also changing the volume file from the smoke to the room volume from the Iray Light Volume Kit does not result in a crash either so it's not the VDB shader itself nor the VDB file itself that's the culprit. Copying the entire shader properties from the room volume item onto the smoke one does result in the same behaviour where the render stops super early (5 iterations in just now).

     

  • Lev_cLev_c Posts: 82

    @outoftouch and @KindredArts - please get your products to talk to each other!

    TLDR @outoftouch all of the strand based hairs for G9 that I've bought except for your latest (the Short Messy Ponytail) crash Daz when you render whenever @KindredArts Volume Cube from thier Iray Light Volume Kit is loaded

  • Lev_cLev_c Posts: 82

    Update on this - I think I've narrowed down the issue to something within OOT surface settings.

    If I copy the materials from another Omni shader hair, such as one of AK's strand based hairs, and apply it to the OOT hair, then the scene will render perfectly with KA's VDB cube.

    I can also confirm that this problem does not exist with the following (more recent) OOT hairs:

    https://www.daz3d.com/dforce-strand-based-classic-bob-2-hair-for-genesis-9-and-8-female ;

    https://www.daz3d.com/dforce-strand-based-short-messy-ponytail-hair-for-genesis-9-and-8-female  

  • crosswindcrosswind Posts: 6,984
    edited October 22

    Thanks for the update ! I further had a couple of tests and got a very interesting finding... still with dForce Strand-Based Messy Low Ponytail Hair and IGLKV Plain Room Volume prop loaded into the scene.

    - with nothing changed, the render was freezed after certain interations

    - but if I unparented Messy Low Ponytail Strands, the SBH node, from Messy Low Ponytail Hair. (ss1) There was no issue at all with rendering (ss2).

    - then I parented it back, frozen render also came back ~~  (ss3)

    I've never experienced such an interesting issue ... it doesn't make any sense to me !

    Digging...

    SNAG-2024-10-22-046.png
    2560 x 1392 - 535K
    SNAG-2024-10-22-047.png
    2560 x 1392 - 804K
    SNAG-2024-10-22-048.png
    2560 x 1392 - 481K
    Post edited by crosswind on
  • Lev_cLev_c Posts: 82

    crosswind said:

    Thanks for the update ! I further had a couple of tests and got a very interesting finding... still with dForce Strand-Based Messy Low Ponytail Hair and IGLKV Plain Room Volume prop loaded into the scene.

    - with nothing changed, the render was freezed after certain interations

    - but if I unparented Messy Low Ponytail Strands, the SBH node, from Messy Low Ponytail Hair. (ss1) There was no issue at all with rendering (ss2).

    - then I parented it back, frozen render also came back ~~  (ss3)

    I've never experienced such an interesting issue ... it doesn't make any sense to me !

    Digging...

    I see the VDB cube isn't enveloping the hair though - perhaps that might have an effect as well?

  • crosswindcrosswind Posts: 6,984

    The hunch told me it might be instance or collision issue though I'm totally lost ~~ haha. With SBH parented, if moving VDB prop away, rendering also works fine.

    So, since there's no fix from the vendor(s), for the time being, just render with the SBH node unparented...

Sign In or Register to comment.