face_off wrote:rajib wrote:Hi Paul,
An update on the crashes. Things have gotten quite bad. Facing crashes very often when doing almost any edit. But after 3 full days on it, I have noticed something - if I pause the render and then make edits and then resume the render, then there is no crash. But if I edit while the render it going on it more or less crashes every time. All stack dump that I see points to a thread being started and then it crashes within the Octane dll. To me it looks like a timing issue. Something (a pointer perhaps ?) the thread is trying to access which is not valid. I am not sure if there is a CRITICAL_SECTION or some other thread synchronization method in the thread to access the common resource / variables. Maybe if you put a try / catch with a SEH Exception handler (handles any kind of exception including null pointer access) within the thread, then even if the thread crashes, it will not crash the application.
I tried to turn off Live in the Octane Viewport, But the viewport updated whenever I edited something even if it was turned off and it led to a crash. I tried to change the Plugin Latency under the Preferences but that didn't help too. Only manually pausing the render, doing the edits and then resuming the render works for me. I guess my system specs are way too different for you to have a change to test the code in debug mode on something similar. But in any case I believe the issue is the thread that gets invoked whenever a change is detected in Daz.
Regards,
Rajib
PS : My system configuration and Daz / Octane version I am using are in my signature.
Hi. I have had no other reports of this issue across any of the plugins I support, so that points to a hardware or driver issue specific to your system. Have you overclocked your cards?
Paul
Hi Paul,
Crash mystery solved
!!! It's the denoiser. If I enable it on more than 1 GPU, I get crashes every time I try to do anything. If I set it to only 1 GPU, everything is rock solid. Can you verify this ?
I was out of ideas while trying to solve my crash issues as I had 2 machines both similarly specked but with different hardware components and both had this issue. And like I said all my other graphics program that use OpenGL had no issues. Both machines had same Octane configuration.
Finally today while still trying to figure things out I looked at the GPU device settings again and saw I had multiple GPUs enabled for the tonemap and denioser.
So I tested with 1 tonemap and multiple denioser - Crash.
I tested again with 1 tonemap and 1 denioser - No crash.
I tested again with multiple tonemap and 1 denoiser - No crash.
So looks like the issue is with the denoiser being enabled on multiple GPUs. I do hope you can verify this.
Finally my frustration with Octane crashes is over and I can get back to happily rendering again
! It had been months of crashes and frustration for me. I should have thought of this before.
Regards,
Rajib