Getting Constant Crashes On Viewport Renders

RL_MediaRL_Media Posts: 339
edited October 2023 in Daz Studio Discussion

[Viewport Rendering] It starts, then goes for maybe ten seconds, then crashes on me. It is a fairly large scene, but I ran it through scene optimizer to trim down the maps. It seems able to do regular render to window, but it's a bit of a pain to tweak scene lighting and stuff that way.

 

2023-10-29 22:47:40.784 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.31  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): Kernel [21] (RoundedCorners    ) failed after 0.200s
2023-10-29 22:47:40.784 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.31  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while launching CUDA renderer in <internal>:908)
2023-10-29 22:47:40.784 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.31  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): Failed to launch renderer
2023-10-29 22:47:40.785 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): Device failed while rendering
2023-10-29 22:47:40.785 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [WARNING] - IRAY:RENDER ::   1.2   IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 4090) is no longer available for rendering.
2023-10-29 22:47:40.788 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [WARNING] - IRAY:RENDER ::   1.2   IRAY   rend warn : All available GPUs failed.
2023-10-29 22:47:40.788 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: Fallback to CPU not allowed.
2023-10-29 22:47:40.788 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [WARNING] - IRAY:RENDER ::   1.2   IRAY   rend warn : Re-rendering iteration because of device failure
2023-10-29 22:47:40.788 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: All workers failed: aborting render
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.789 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.2   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4090): an illegal memory access was encountered (while de-allocating memory)
2023-10-29 22:47:40.790 [ERROR] Iray :: Internal rendering error.
2023-10-29 22:48:43.340 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error synching on OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:48:43.340 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error destroying OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:48:43.341 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.26  IRAY   rend error: optixPipelineDestroy(pop_ptr(m_pipeline)) failed: CUDA error
2023-10-29 22:48:51.942 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error synching on OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:48:51.942 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error destroying OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:48:51.942 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.26  IRAY   rend error: optixPipelineDestroy(pop_ptr(m_pipeline)) failed: CUDA error
2023-10-29 22:49:00.545 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error synching on OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:49:00.545 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error destroying OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:49:00.546 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.26  IRAY   rend error: optixPipelineDestroy(pop_ptr(m_pipeline)) failed: CUDA error
2023-10-29 22:49:25.751 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error synching on OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:49:25.751 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - OPTX:RENDER ::   1.26  OPTX   rend error: Error destroying OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
2023-10-29 22:49:25.751 [WARNING] :: C:\DAZDevel\Hudson\HUDSON_HOME\workspace\NB_DS_Dev_cmake\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.26  IRAY   rend error: optixPipelineDestroy(pop_ptr(m_pipeline)) failed: CUDA error

That's what appeared in log file last time before it crash. On latest beta of studio.

Post edited by Richard Haseltine on

Comments

  • crosswindcrosswind Posts: 6,831

    Spec. of your rig ? Do you have a GPU-Z to monitor VRAM / RAM usage?

  • RL_MediaRL_Media Posts: 339

    I got a 12 core ryzen with 64GB RAM, 64 GB page file and a 4090

  • crosswindcrosswind Posts: 6,831

    Is your 4090 a brand new card ? Recently another guy just experienced the similar issue / log errors as you had with 4090... https://www.daz3d.com/forums/discussion/655856/rtx4090-an-illegal-memory-access-was-encountered#latest

    Like a mojo... but after he changed to another brand card, everything was fine. I'm not sure if it might be the similar culprit...

  • jjoynerjjoyner Posts: 615

    I have a much more modest setup (laptop with Windows 10, 16 Gb RAM, Nvidia 2060 with 6 Gb VRAM) and memory is always an issue with large, complex, or heavy scenes.  When I discovered GPU-Z (free at TechPowerUp GPU-Z v2.55.0 Download | TechPowerUp) in another forum earlier this year, I immediately downloaded it and I use it frequently to monitor VRAM and RAM usage.  I also have Scene Optimizer which has proven to be a really valuable asset and Camera View Optimizer which I bought yesterday.

  • crosswindcrosswind Posts: 6,831

    jjoyner said:

    I have a much more modest setup (laptop with Windows 10, 16 Gb RAM, Nvidia 2060 with 6 Gb VRAM) and memory is always an issue with large, complex, or heavy scenes.  When I discovered GPU-Z (free at TechPowerUp GPU-Z v2.55.0 Download | TechPowerUp) in another forum earlier this year, I immediately downloaded it and I use it frequently to monitor VRAM and RAM usage.  I also have Scene Optimizer which has proven to be a really valuable asset and Camera View Optimizer which I bought yesterday.

    Really neat indeed. yes

  • i have the rtx 4090 too and i am having the same problem with dzneuraymgr.cpp(376).

  • edited November 2023

    Same here: almost none of my old scenes render anymore.

    Using DS 4.22 for one hour and I am running into this "HUDSON" almost constantly. RTX 1080 on W10 with some considerable RAM to let GPU do the rendering, not the CPU.

    It even appears inconsistent. Loading a simple "empty" scene like a room with a self emitting light may render as a start, but then I add a Human G8F subset or something, that loading as well give error with "HUDSON", like these

    2023-11-01 18:13:21.199 [WARNING] :: D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\sdksource\fileinput\dzassetdaz.cpp(748): Formula target property not found:

    ...
    2023-11-01 18:13:21.199 [WARNING] :: D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\sdksource\fileinput\dzassetdaz.cpp(673): Node for formula property not found:

    ...

    Andf from there it no longer renders anything until I restart DS or the whole machine.

    All this did not happen in 4.21. I opened a ticket as my workflow is now broken =/ and it seems I cannot uninstall 4.22 and download 4.21 for a downgrade.

    There are more quirks I have seen, but this is the most annoying

     

    Post edited by j_gelbrich_911c36bf16 on
  • Those are errors relating to ERC links, not rendering.

  • My guess is they did not read minimum driver requirements, and did not update their NVIDIA drivers (or if they did update them then Windows "helpfully" reverted the update).

  • I have RTX 3080 and I was getting the error this morning.  Someone mentioned an issue between Daz 4.22 with OOT's hair products, which I use all of the time.  The 2017-21 hair seems to work just fine.  But when I use the OOT "Neko" hair, it nukes iRay, and I have to re-launch Daz to get the engine running again.  So, for me, it was just that one hair model (so far) that caused the problem.

  • monsieurdavid4321 said:

    I have RTX 3080 and I was getting the error this morning.  Someone mentioned an issue between Daz 4.22 with OOT's hair products, which I use all of the time.  The 2017-21 hair seems to work just fine.  But when I use the OOT "Neko" hair, it nukes iRay, and I have to re-launch Daz to get the engine running again.  So, for me, it was just that one hair model (so far) that caused the problem.

    Allllrighty, found another OOT product that isn't working now, Martha's Everyday Bob G8.  And this is the error that I keep getting:

    2023-11-06 15:20:38.928 [WARNING] :: D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.0   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): an illegal memory access was encountered (while de-allocating memory)

  • monsieurdavid4321 said:

    monsieurdavid4321 said:

    I have RTX 3080 and I was getting the error this morning.  Someone mentioned an issue between Daz 4.22 with OOT's hair products, which I use all of the time.  The 2017-21 hair seems to work just fine.  But when I use the OOT "Neko" hair, it nukes iRay, and I have to re-launch Daz to get the engine running again.  So, for me, it was just that one hair model (so far) that caused the problem.

    Allllrighty, found another OOT product that isn't working now, Martha's Everyday Bob G8.  And this is the error that I keep getting:

    2023-11-06 15:20:38.928 [WARNING] :: D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.0   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): an illegal memory access was encountered (while de-allocating memory)

    I've hopefully fixed the problem.  I was running a fairly aggressive under-clock on my gfx card in MSI Afterburner.  I bumped up the power factor a few notches and so far things appear to be back to normal. 

  • monsieurdavid4321 said:

    monsieurdavid4321 said:

    monsieurdavid4321 said:

    I have RTX 3080 and I was getting the error this morning.  Someone mentioned an issue between Daz 4.22 with OOT's hair products, which I use all of the time.  The 2017-21 hair seems to work just fine.  But when I use the OOT "Neko" hair, it nukes iRay, and I have to re-launch Daz to get the engine running again.  So, for me, it was just that one hair model (so far) that caused the problem.

    Allllrighty, found another OOT product that isn't working now, Martha's Everyday Bob G8.  And this is the error that I keep getting:

    2023-11-06 15:20:38.928 [WARNING] :: D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.0   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): an illegal memory access was encountered (while de-allocating memory)

    I've hopefully fixed the problem.  I was running a fairly aggressive under-clock on my gfx card in MSI Afterburner.  I bumped up the power factor a few notches and so far things appear to be back to normal. 

     I have this same error: "D:\DAZDevel\Hudson\HUDSON_HOME\jobs\NB_Studio_Trunk\workspace\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.0   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): an illegal memory access was encountered"

    @monsieurdavid4321 Not sure how to perform these steps: "I bumped up the power factor a few notches"

    If you can assist, it'd be appreciated. My DAZ has been crashing ever since automatic Windows update and then I updated to the newest version of DAZ and literally nothing is working. Daz crashes after I load every .duf file.

  • As I thought it was a mistake updating Daz Studio.
    The problem appears only with hair people talking and only after DS update.
    It's not GPU, ot's not RAM. It's DS.

  • JETracktor said:

    As I thought it was a mistake updating Daz Studio.
    The problem appears only with hair people talking and only after DS update.
    It's not GPU, ot's not RAM. It's DS.

    Out of Touch hair? if so it is Iray being fussier about something that was actually wronf in the first place, just not critically. You need to use the Surfaces pane to remove any maps from Transmitted colour in the hairs, or make sur you are using updated versions of the hair/shader.

Sign In or Register to comment.