DAZ crashes because of incorrect Iray shader settings

Ralf1958Ralf1958 Posts: 688
edited December 1969 in The Commons

Here is something I want to share.

I had many, many crashes while trying to render using the graphic Card. Spent hours to find out what the Problem was. I also brought my Computer to the shop and had another Card built in for testing. Same Problem with every Card.

The solution of the Problem is pretty simple.

I often copy and paste materials and usually it works fine... but... some iray shaders are not always getting transferred properly using this method. Sometimes it works, sometimes not. I can't find out why.

Anyways, if it happens that a particular shader, by example the brushed metal one, did't get applyed correctly, DAZ crashes, sometimes instantly, sometimes a Long time later, sometimes at the end of the render.

If you see a prop in your viewport (while rendering) that Looks Kind of White even with the shader applyed, this will cause the Crash.

Reapply the material (not with copy and paste) and the Problem will be solved. So easy but so hard to find out :-)

Have fun!

Comments

  • SpottedKittySpottedKitty Posts: 7,232
    edited May 2015

    That's not an Iray problem or a graphics card problem, it's something that happens any time the material you're copying from and the material you're pasting to don't have the same shader applied. The usual procedure is to apply the base shader to the paste material, then paste.

    What's probably happening is that the paste operation only puts settings into the parameters that exist in both shader types — anything that only exists in the copy material doesn't get created in the paste material. The missing parameters will, as you've found out, cause D|S to cough up random errors.

    Post edited by SpottedKitty on
  • Ralf1958Ralf1958 Posts: 688
    edited December 1969

    That's not an Iray problem or a graphics card problem, it's something that happens any time the material you're copying from and the material you're pasting to don't have the same shader applied. The usual procedure is to apply the base shader to the paste material, then paste.

    What's probably happening is that the paste operation only puts settings into the parameters that exist in both shader types — anything that only exists in the copy material doesn't get created in the paste material. The missing parameters will, as you've found out, cause D|S to cough up random errors.

    Hello SpottedKitty, the weard Thing is, that this happens sometimes, even having the base shader applied. That's why I don't get why this is Happening. I always first apply the base shader an then copy/paste.

    Never had crashes like that before. Never crashed while rendering on CPU and actually it still doesn't Crash while rendering on CPU. It started first using the graphic Card.

    But, like I said before, now I know what to look at.

    Cheers! :-)

  • RenpatsuRenpatsu Posts: 828
    edited December 1969

    If you applied the "Metal Brushed", this is a MDL based shader and not an Iray Uber Shader, so applying the Iray Uber Base won't do any good here.

  • Ralf1958Ralf1958 Posts: 688
    edited December 1969

    Renpatsu said:
    If you applied the "Metal Brushed", this is a MDL based shader and not an Iray Uber Shader, so applying the Iray Uber Base won't do any good here.

    I didn't get this one. Metal brushed Comes with Iray... Shouldn't it overwrite the other Settings anyways?

  • RenpatsuRenpatsu Posts: 828
    edited December 1969

    Same like in 3Delight, there can be different kind of shaders for Iray (see picture). Settings may or may not copy over, but it is a stretch to expect this to be working as you think it would. Nevertheless DAZ Studio shouldn't crash. Ideally it is able to copy some settings over, but just if you have a look at how few options you have with "Metal Brush" versus "Iray Uber Base" then I don't think it will ever work properly to copy&paste; there.

    Screen_Shot_2015-05-30_at_13.36_.52_.png
    124 x 19 - 5K
  • Ralf1958Ralf1958 Posts: 688
    edited December 1969

    Well, this is really strange. Because of constant crashes on my Nvidia 670 I got an Nvidia GTX 750 for testing. After about 2 weeks of tests and Renderings, I found out some shaders were responsable for those Crashes. After Fixing the Settings of the problematic shaders the System was running stable. I went back to my old Nvidia GTX 670 and... Same File, same shaders and once again one Crash after another. Analyzed again all the shaders and I found some more shaders causing the Problem. What I don't get is, why is it running fine on one Card and not with the other? Most of the Problems resulted after swapping shaders in between Iray Uber Shaders and Iray MDL Samples. Same Thing happened copying and pasting such materials. Also sometimes it wasn't possible to go back to the previous shader, neither it would have taken a different one. Is it a bug? The only way I found to fix it, was to open a new Scene and reapply all the shaders from start on. Bummer! One Thing I did not try was to just apply a Default DAZ shader, maybe that would have fixed the issue. I'll try that the next time that happens. It's just driving me crazy not understanding why the System reacts like that. The bad Thing is that not just the render crashes but the entire DAZ shuts down! I had the Computer away already 3 times now to have it checked from a specialist and he sais there is absolutely nothing wrong with the System. Does anyone else have experienced such weird crashes?

  • swordkensiaswordkensia Posts: 348
    edited December 1969

    Just started using, The new Iray Daz 4.8..

    Great work Daz3D.

    However has anybody else noticed uneven loading of the GPU when running the Architectual Sampler..

    I am monitoring my GPU's (a TitanZ and a Titan Black), using GPUZ, and GPU load keeps fluctuating between 0% then upto 99%, or any number inbetween, then back down again, over and over..

    If I run with no Samplers chosen, which I presume is the Equivelent of a 'Direct lighting Sampler', I gett near 100% loading of the GPU's constantly..

    Its not a memory issue as the scene is only using 2gb of Video memory

    Any insightd would be appreciated.

    Cheers,

    S.K.

  • frank0314frank0314 Posts: 14,330
    edited December 1969

    Just started using, The new Iray Daz 4.8..

    Great work Daz3D.

    However has anybody else noticed uneven loading of the GPU when running the Architectual Sampler..

    I am monitoring my GPU's (a TitanZ and a Titan Black), using GPUZ, and GPU load keeps fluctuating between 0% then upto 99%, or any number inbetween, then back down again, over and over..

    If I run with no Samplers chosen, which I presume is the Equivelent of a 'Direct lighting Sampler', I gett near 100% loading of the GPU's constantly..

    Its not a memory issue as the scene is only using 2gb of Video memory

    Any insightd would be appreciated.

    Cheers,

    S.K.

    Your question was answered in another thread that you posted to. http://www.daz3d.com/forums/discussion/56756/P285/#831397

Sign In or Register to comment.