Daz Studio ignores Render "Advanced" Choices

RouvardRouvard Posts: 6

Hello,
I have the latest DAZ!Studio version installed (4.9.3.166) and it works fine, so far.

I have two GTX 980Ti running and I render with the GPUs in IRAY my pictures... I set in the Render Advanced TAB under "Photoreal" that ONLY the GPUs shall render and not the CPU. This works fine for the first picture. On every continuing picture the CPU is rendering as well, even when it is not tagged. This reduces the render time a lot and seems to be an issue?! Actually I can solce this problem only by closing DAZ!Studio and starting it new. Then the first picture will be rendered again right and all following with the CPU (that isn't tagged). *sigh*

And I have another question: Isn't it possible to tell "Aux viewpoint" to render with GPU and not the CPU?

 

Thanks
Andreas

 

 

Post edited by Rouvard on

Comments

  • Reduces the render time or increases?

    It sunds to me, if it's increasing the render time, as if the scene won't fit into the 6GB of RAM on the cards so it drops to CPU and then won't use the GPUs until you restart. The log file (Help>Troubleshooting>View Log) should have the messages from Iray including any out of memory reports.

  • The render times becomes longer when the CPU will be chosen (even when it is an i7 with 6cores at 3,300 mhz)

    The scene size takes around 350 Mb and the "first" render will be done with the two gpus without problems. Then I change the camera angle or the pose and render again. Itvis the same scene. And now the render times becomes longer because the CPU renders as well but is not tagged. This happens not everytime but very often.

    With the prior version of DAZ Studio I had this problem never.

  • SimonJMSimonJM Posts: 5,980

    Interesting ... I may have fallen foul of this and just assumed scene size exceeded VRAM, though I did wonder just how that may have happened!  I'll keep an eye opne on this.

  • Rouvard said:

    The render times becomes longer when the CPU will be chosen (even when it is an i7 with 6cores at 3,300 mhz)

    The scene size takes around 350 Mb and the "first" render will be done with the two gpus without problems. Then I change the camera angle or the pose and render again. Itvis the same scene. And now the render times becomes longer because the CPU renders as well but is not tagged. This happens not everytime but very often.

    With the prior version of DAZ Studio I had this problem never.

    Did you leave the previous render window open? If so it will still be using RAM. Have you checked the log for the second render? It may give soem indication of what the issue is even if it isn't memory.

  • I will give it another try and post the log here.

  • RouvardRouvard Posts: 6
    edited January 2017

    It looks like as if the "OptiX Prime accelaration" is creating this problem!

    2017-01-15 09:57:24.650 Rendering image
    2017-01-15 09:57:31.069 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating geometry.
    2017-01-15 09:57:31.115 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using OptiX Prime ray tracing (3.9.1).
    2017-01-15 09:57:31.115 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Importing geometry.
    2017-01-15 09:57:35.858 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Geometry import (1 object with 8283k triangles, 1 instance yielding 8283k triangles) took 4.739950
    2017-01-15 09:57:35.858 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating materials.
    2017-01-15 09:57:36.030 Iray INFO - module:category(MATCNV:RENDER):   1.0   MATCNV rend info : found 699 textures, 0 lambdas (0 unique)
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating environment.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lens.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lights.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating object flags.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating caustic portals.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating decals.
    2017-01-15 09:57:36.062 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Allocating 1 layer frame buffer
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using batch scheduling, architectural sampler disabled, caustic sampler disabled
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Initializing local rendering.
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 2 device(s):
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 1 (GeForce GTX 980 Ti)
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 0 (GeForce GTX 980 Ti)
    2017-01-15 09:57:36.093 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering...
    2017-01-15 09:57:36.093 Iray VERBOSE - module:category(IRAY:RENDER):   1.3   IRAY   rend progr: CUDA device 1 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 09:57:36.093 Iray VERBOSE - module:category(IRAY:RENDER):   1.2   IRAY   rend progr: CUDA device 0 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 09:57:36.171 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Geometry memory consumption: 232.552 MiB (device 1), 0 B (host)
    2017-01-15 09:57:36.202 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Geometry memory consumption: 232.552 MiB (device 0), 0 B (host)
    2017-01-15 09:57:36.483 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.4   IRAY   rend error: OptiX Prime error (Device rtpModelUpdate TL): Unknown error (Function "_rtpModelUpdate" caught exception: Encountered a CUDA error: cudaMalloc(&ptr, size) returned (2): out of memory, [15466617])
    2017-01-15 09:57:36.483 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.2   IRAY   rend error: CUDA device 0 (GeForce GTX 980 Ti): Scene setup failed
    2017-01-15 09:57:36.483 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.2   IRAY   rend error: CUDA device 0 (GeForce GTX 980 Ti): Device failed while rendering
    2017-01-15 09:57:38.027 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.6   IRAY   rend error: OptiX Prime error (Device rtpModelUpdate TL): Unknown error (Function "_rtpModelUpdate" caught exception: Encountered a CUDA error: cudaMalloc(&ptr, size) returned (2): out of memory, [15466617])
    2017-01-15 09:57:38.027 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.3   IRAY   rend error: CUDA device 1 (GeForce GTX 980 Ti): Scene setup failed
    2017-01-15 09:57:38.027 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.3   IRAY   rend error: CUDA device 1 (GeForce GTX 980 Ti): Device failed while rendering
    2017-01-15 09:57:38.027 WARNING: dzneuraymgr.cpp(307): Iray WARNING - module:category(IRAY:RENDER):   1.3   IRAY   rend warn : All available GPUs failed.
    2017-01-15 09:57:38.027 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : Falling back to CPU rendering.
    2017-01-15 09:57:38.027 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.3   IRAY   rend error: All workers failed: aborting render
    2017-01-15 09:57:38.027 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : CPU: using 12 cores for rendering
    2017-01-15 09:57:38.027 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 1 device(s):

    Any idea what to do? Or shall I untag "OptiX Prime accelaration" forever?

    The latest drivers by nvidia for the graphic cards are installed.

     

    Post edited by Rouvard on
  • RouvardRouvard Posts: 6
    edited January 2017

    I gave my PC much more data for rendering today and "Optix" had no problem with it. So, a memory problem it can't be, or?

    2017-01-15 18:16:03.009 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating geometry.
    2017-01-15 18:16:03.055 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using OptiX Prime ray tracing (3.9.1).
    2017-01-15 18:16:03.055 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Importing geometry.
    2017-01-15 18:16:07.424 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Geometry import (1 object with 14530k triangles, 1 instance yielding 14530k triangles) took 4.364595
    2017-01-15 18:16:07.424 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating materials.
    2017-01-15 18:16:07.674 Iray INFO - module:category(MATCNV:RENDER):   1.0   MATCNV rend info : found 2257 textures, 0 lambdas (0 unique)
    2017-01-15 18:16:07.768 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Emitter geometry import (60 light sources with 95232 triangles, 1 instance) took 0.01s
    2017-01-15 18:16:07.768 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating environment.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lens.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lights.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating object flags.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating caustic portals.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating decals.
    2017-01-15 18:16:07.892 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Allocating 1 layer frame buffer
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using batch scheduling, architectural sampler disabled, caustic sampler disabled
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Initializing local rendering.
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 2 device(s):
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 1 (GeForce GTX 980 Ti)
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 0 (GeForce GTX 980 Ti)
    2017-01-15 18:16:07.908 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering...
    2017-01-15 18:16:07.908 Iray VERBOSE - module:category(IRAY:RENDER):   1.2   IRAY   rend progr: CUDA device 0 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 18:16:07.908 Iray VERBOSE - module:category(IRAY:RENDER):   1.3   IRAY   rend progr: CUDA device 1 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 18:16:08.064 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Geometry memory consumption: 491.067 MiB (device 1), 0 B (host)
    2017-01-15 18:16:08.095 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Geometry memory consumption: 491.067 MiB (device 0), 0 B (host)
    2017-01-15 18:16:20.808 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Texture memory consumption: 11.5834 GiB (device 0)
    2017-01-15 18:16:20.808 Iray INFO - module:category(IRAY:RENDER):   1.6   IRAY   rend info : Initializing light hierarchy.
    2017-01-15 18:16:20.808 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Texture memory consumption: 11.5834 GiB (device 1)
    2017-01-15 18:16:21.604 Iray INFO - module:category(IRAY:RENDER):   1.6   IRAY   rend info : Light hierarchy initialization took 0.80s
    2017-01-15 18:16:21.604 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Lights memory consumption: 12.3861 MiB (device 0)
    2017-01-15 18:16:21.619 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Lights memory consumption: 12.3861 MiB (device 1)
    2017-01-15 18:16:21.853 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Material measurement memory consumption: 0 B (GPU)
    2017-01-15 18:16:21.853 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Materials memory consumption: 2.76869 MiB (GPU)
    2017-01-15 18:16:23.243 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CUDA device 1 (GeForce GTX 980 Ti): Scene processed in 15.335s
    2017-01-15 18:16:23.352 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CUDA device 1 (GeForce GTX 980 Ti): Allocated 24.7206 MiB for frame buffer
    2017-01-15 18:16:23.399 Iray INFO - module:category(IRAY:RENDER):   1.2   IRAY   rend info : CUDA device 0 (GeForce GTX 980 Ti): Scene processed in 15.493s
    2017-01-15 18:16:23.430 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CUDA device 1 (GeForce GTX 980 Ti): Allocated 251.336 MiB of work space (303k active samples in 0.010s)
    2017-01-15 18:16:23.430 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CUDA device 1 (GeForce GTX 980 Ti): Used for display, optimizing for interactive usage (performance could be sacrificed)
    2017-01-15 18:16:23.508 Iray INFO - module:category(IRAY:RENDER):   1.2   IRAY   rend info : CUDA device 0 (GeForce GTX 980 Ti): Allocated 24.7206 MiB for frame buffer
    2017-01-15 18:16:23.570 Iray INFO - module:category(IRAY:RENDER):   1.2   IRAY   rend info : CUDA device 0 (GeForce GTX 980 Ti): Allocated 251.336 MiB of work space (303k active samples in 0.003s)
    2017-01-15 18:16:23.960 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : Allocating 1 layer frame buffer

    When I rendered it now a second time, the issue shows up:

    2017-01-15 18:24:43.567 Rendering image
    2017-01-15 18:24:52.868 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating geometry.
    2017-01-15 18:24:52.930 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using OptiX Prime ray tracing (3.9.1).
    2017-01-15 18:24:52.930 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Importing geometry.
    2017-01-15 18:24:57.440 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Geometry import (1 object with 14530k triangles, 1 instance yielding 14530k triangles) took 4.509174
    2017-01-15 18:24:57.440 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating materials.
    2017-01-15 18:24:57.736 Iray INFO - module:category(MATCNV:RENDER):   1.0   MATCNV rend info : found 2257 textures, 0 lambdas (0 unique)
    2017-01-15 18:24:57.830 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Emitter geometry import (60 light sources with 95232 triangles, 1 instance) took 0.01s
    2017-01-15 18:24:57.830 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating environment.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lens.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating lights.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating object flags.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating caustic portals.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Updating decals.
    2017-01-15 18:24:57.970 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Allocating 1 layer frame buffer
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Using batch scheduling, architectural sampler disabled, caustic sampler disabled
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Initializing local rendering.
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 2 device(s):
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 1 (GeForce GTX 980 Ti)
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 0 (GeForce GTX 980 Ti)
    2017-01-15 18:24:57.986 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering...
    2017-01-15 18:24:57.986 Iray VERBOSE - module:category(IRAY:RENDER):   1.2   IRAY   rend progr: CUDA device 0 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 18:24:57.986 Iray VERBOSE - module:category(IRAY:RENDER):   1.3   IRAY   rend progr: CUDA device 1 (GeForce GTX 980 Ti): Processing scene...
    2017-01-15 18:24:58.126 Iray VERBOSE - module:category(IRAY:RENDER):   1.6   IRAY   rend stat : Geometry memory consumption: 491.067 MiB (device 1), 0 B (host)
    2017-01-15 18:24:58.142 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.6   IRAY   rend error: OptiX Prime error (Device rtpModelUpdate TL): Unknown error (Function "_rtpModelUpdate" caught exception: Encountered a CUDA error: cudaMalloc(&ptr, size) returned (2): out of memory, [15466617])
    2017-01-15 18:24:58.142 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.3   IRAY   rend error: CUDA device 1 (GeForce GTX 980 Ti): Scene setup failed
    2017-01-15 18:24:58.142 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.3   IRAY   rend error: CUDA device 1 (GeForce GTX 980 Ti): Device failed while rendering
    2017-01-15 18:24:58.173 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Geometry memory consumption: 491.067 MiB (device 0), 0 B (host)
    2017-01-15 18:24:58.173 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.4   IRAY   rend error: OptiX Prime error (Device rtpModelUpdate TL): Unknown error (Function "_rtpModelUpdate" caught exception: Encountered a CUDA error: cudaMalloc(&ptr, size) returned (2): out of memory, [15466617])
    2017-01-15 18:24:58.173 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.2   IRAY   rend error: CUDA device 0 (GeForce GTX 980 Ti): Scene setup failed
    2017-01-15 18:24:58.173 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.2   IRAY   rend error: CUDA device 0 (GeForce GTX 980 Ti): Device failed while rendering
    2017-01-15 18:24:58.173 WARNING: dzneuraymgr.cpp(307): Iray WARNING - module:category(IRAY:RENDER):   1.2   IRAY   rend warn : All available GPUs failed.
    2017-01-15 18:24:58.173 Iray INFO - module:category(IRAY:RENDER):   1.2   IRAY   rend info : Falling back to CPU rendering.
    2017-01-15 18:24:58.173 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER):   1.2   IRAY   rend error: All workers failed: aborting render
    2017-01-15 18:24:58.173 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : CPU: using 12 cores for rendering
    2017-01-15 18:24:58.173 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 1 device(s):
    2017-01-15 18:24:58.173 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CPU
    2017-01-15 18:24:58.173 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering...
    2017-01-15 18:24:58.173 Iray VERBOSE - module:category(IRAY:RENDER):   1.3   IRAY   rend progr: CPU: Processing scene...
    2017-01-15 18:26:27.744 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : Initializing light hierarchy.
    2017-01-15 18:26:28.508 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : Light hierarchy initialization took 0.76s
    2017-01-15 18:26:30.287 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CPU: Scene processed in 92.111s
    2017-01-15 18:26:30.318 Iray INFO - module:category(IRAY:RENDER):   1.3   IRAY   rend info : CPU: Allocated 24.7206 MiB for frame buffer
    2017-01-15 18:26:30.333 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Native CPU code generated in 6.21e-007s

     

    Post edited by Rouvard on
Sign In or Register to comment.