Profile Picture

Preview Rendering takes forever

Posted By pka4916 7 Years Ago
You don't have permission to rate!
1
2
3

Author
Message
DroneMaster
DroneMaster
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 402, Visits: 11.6K
ckalan1 (2/7/2019)
It seems to be having problems with complex scenes. 

Glad it helped. As for the complicated scenes, I loaded a project with a bunch of Speed Tree grasses and trees and sunflowers and iRay choked and disappeared off the screen but it left iClone standing. I guess that's a good thing.




https://www.artstation.com/pascalcomics
https://www.renderosity.com/users/Pascal_Comics/gallery
https://www.deviantart.com/pascalcomics/gallery






ckalan1
ckalan1
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 276, Visits: 10.7K
Thanks for the tip. I rolled back to the older driver and now IRAY is working again with small projects. It seems to be having problems with complex scenes. 
FYI - The new driver worked in Daz Studio as well as the old driver.

Craig

DroneMaster
DroneMaster
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)Distinguished Member (7.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 402, Visits: 11.6K
I've got the GTX 1080 t1 using the Nvidia 411.70 driver. It worked fast. I upgraded the driver to the latest 418.11 and I immediately got the GPU "out of memory" as soon as the render started. I rolled back the driver to 411.70 and everything is fast again. Don't know if this could be your problem. 

https://www.artstation.com/pascalcomics
https://www.renderosity.com/users/Pascal_Comics/gallery
https://www.deviantart.com/pascalcomics/gallery






Peter (RL)
Peter (RL)
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 23.1K, Visits: 36.6K
pka4916 (2/7/2019)
Any help is appreciated



Try going into your "Iray Render Settings" and click on "Hardware Settings". Now check to see which graphics cards are listed and ensure the right one is checked.

Then for the purposes of testing, take out the check from CPU which will force the Iray rendering to use only the chosen graphics card. Does this improve or worsen the time it takes to preview render?

https://forum.reallusion.com/uploads/images/cb1f87eb-e89b-4136-830b-398c.png


                                                                

Peter
Forum Administrator

www.reallusion.com


ckalan1
ckalan1
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 276, Visits: 10.7K
I am having the same problem. 
I think these are the pertinent lines from the iray render log.

1.6 IRAY rend error: CUDA device 0 (GeForce GTX 1080 Ti): Kernel [6] (EnvironmentMatte ) failed after 0.008s
1.6 IRAY rend error: CUDA device 0 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while launching CUDA renderer in core_renderer_wf.cpp:771)
1.6 IRAY rend error: CUDA device 0 (GeForce GTX 1080 Ti): Failed to launch renderer
1.2 IRAY rend error: CUDA device 0 (GeForce GTX 1080 Ti): Device failed while rendering
1.3 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while allocating memory)
1.3 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): Failed to allocate 4 B
1.3 IRAY rend info : CUDA device 1 (GeForce GTX 1080 Ti): Used for display, optimizing for interactive usage (performance could be sacrificed)
1.6 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while allocating memory)
1.6 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): Failed to allocate 120 B
1.6 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while resolving mapped memory)
1.6 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while launching CUDA ior stack renderer in core_cuda_host.cpp:385)
1.3 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): Failed to update ior stack
1.3 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): Device failed while rendering
1.3 IRAY rend warn : All available GPUs failed.
1.3 IRAY rend warn : No devices activated. Enabling CPU fallback.
1.3 IRAY rend warn : Re-rendering iteration because of device failure
1.2 IRAY rend error: All workers failed: aborting render
1.3 IRAY rend error: CUDA device 1 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while de-allocating memory)
1.2 IRAY rend error: CUDA device 0 (GeForce GTX 1080 Ti): an illegal instruction was encountered (while de-allocating memory)

BTW I used IRAY in DAZ studio and everything worked fine there. Also, I have been using IRAY in iclone since it came out without any problems until yesterday. I have all the latest drivers. I have already uninstalled and reinstalled the plugin. 

Any help would be much appreciated.
Thanks,
Craig

justaviking
justaviking
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 8.2K, Visits: 26.5K
The key thing I'm seeing in the log you shared (thank you) is:
  1.0   IRAY   rend warn : There is no CUDA-capable GPU available to the iray photoreal renderer.
  1.0   IRT    rend info : Resource assignment for host 0 has changed.
  1.0   IRAY   rend info : CUDA device 0 (GeForce GTX 1070): compute capability 6.1, 8 GiB total, 5.88661 GiB available, display attached
  1.0   IRAY   rend info : iray photoreal CPU fallback is enabled.

It seems to confirm my suspicion that you're rendering on your CPU.
Now the question is, "Why?"  I don't know, yet.

There is probably an Nvidia setting somewhere that can enable your GTX 1070 for Iray, or make it the default, or something like that.  I'm not sure where exactly that is.




iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 10, Ryzen 9 3900x CPU, GTX 1080 GPU (8GB), 32GB RAM, Asus X570 Pro motherboard, 2TB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD

pka4916
pka4916
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 366, Visits: 1.4K
Any help is appreciated

pka4916
pka4916
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 366, Visits: 1.4K
Here is part of the log

  1.1   IRT    rend info : Shutting down irt render plugin.
  1.0   IMAGE  io   info : Loading image "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Cornea_20180912\RL_Cornea_20180912_resource_0.png", pixel type "Rgb", 1024x1024x1 pixels, 1 miplevel.
  1.0   SCENE  io   info : Loading module "::alg::base::core" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\alg\base\core.mdl".
  1.0   SCENE  io   info : Loading module "::nvidia::core_definitions" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\nvidia\core_definitions.mdl".
  1.0   SCENE  io   info : Loading module "::RL_Cornea_20180912" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Cornea_20180912.mdl".
   1.0   MDLC   comp warn : C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl(148,15): unused parameter 'Use_Map'
  1.0   MDLC   comp warn : C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl(157,16): unused parameter 'Default_Value'
  1.0   SCENE  io   info : Loading module "::RL::universal20181128" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl".
  1.0   SCENE  io   info : Loading module "::RL_Terrain" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Terrain.mdl".
  1.0   SCENE  io   info : Loading module "::RL::RL_light_ies_def" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\RL_light_ies_def.mdl".
   1.0   IRT    rend info : Initializing context.
  1.0   IRT    rend info : Creating irt render context (cache id: 0x0000000100000000).
  1.0   IRT    rend info : Shutting down irt render context.
  1.1   IRT    rend info : Shutting down irt render plugin.
  1.0   IRT    rend info : Destroying context.
  1.0   IMAGE  io   info : Loading image "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Cornea_20180912\RL_Cornea_20180912_resource_0.png", pixel type "Rgb", 1024x1024x1 pixels, 1 miplevel.
  1.0   SCENE  io   info : Loading module "::alg::base::core" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\alg\base\core.mdl".
  1.0   SCENE  io   info : Loading module "::nvidia::core_definitions" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\nvidia\core_definitions.mdl".
  1.0   SCENE  io   info : Loading module "::RL_Cornea_20180912" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Cornea_20180912.mdl".
  1.0   IMAGE  io   info : Loading image "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Terrain\RL_Terrain_resource_0.png", pixel type "Rgb", 8x8x1 pixels, 1 miplevel.
  1.0   IMAGE  io   info : Loading image "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Terrain\RL_Terrain_resource_24.png", pixel type "Rgb", 8x8x1 pixels, 1 miplevel.
  1.0   MDLC   comp warn : C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl(148,15): unused parameter 'Use_Map'
  1.0   MDLC   comp warn : C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl(157,16): unused parameter 'Default_Value'
  1.0   SCENE  io   info : Loading module "::RL::universal20181128" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\universal20181128.mdl".
  1.0   SCENE  io   info : Loading module "::RL_Terrain" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL_Terrain.mdl".
  1.0   SCENE  io   info : Loading module "::RL::RL_light_ies_def" from "C:\Program Files\Reallusion\Shared Plugins\ICIrayRender\Mdl\RL\RL_light_ies_def.mdl".
  1.0   IRT    rend info : Initializing context.
  1.0   IRT    rend info : Creating irt render context (cache id: 0x0000000100000000).
  1.0   IRT    rend info : Shutting down irt render context.
  1.0   IRT    rend info : Resource assignment for host 0 has changed.
  1.0   IRAY   rend warn : There is no CUDA-capable GPU available to the iray photoreal renderer.
  1.0   IRT    rend info : Resource assignment for host 0 has changed.
  1.0   IRAY   rend info : CUDA device 0 (GeForce GTX 1070): compute capability 6.1, 8 GiB total, 5.88661 GiB available, display attached
  1.0   IRAY   rend info : iray photoreal CPU fallback is enabled.
  1.0   IRT    rend info : Creating irt render context (cache id: 0x0000000100000001).
  1.2   IRAY   rend info : Updating geometry.
  1.2   IRAY   rend info : Using OptiX Prime ray tracing (5.0.1).
  1.2   IRAY   rend info : Importing scene graph.
  1.2   IRAY   rend info : Importing geometry for motion time 0
  1.2   IRAY   rend info : Geometry import (1 object with 7835k triangles, 1 instance yielding 7835k triangles) took 3.803642
  1.2   IRAY   rend info : Updating materials.
  1.2   MATCNV rend info : Material instance 'Standard_1(15)' uses MDL JIT compilation.
  1.2   MATCNV rend info : Material instance 'Standard_1(14)' uses MDL JIT compilation.
  1.2   MATCNV rend info : Material instance 'Standard_1(7)' uses MDL JIT compilation.
  1.2   MATCNV rend info : found 398 textures, 182 lambdas (80 unique)
  1.2   IRAY   rend info : Updating environment.
  1.2   IRAY   rend info : Updating backplate.
  1.2   IRAY   rend info : Updating lens.
  1.2   IRAY   rend info : Updating lights.
  1.2   IRAY   rend info : Updating object flags.
  1.2   IRAY   rend info : Updating caustic portals.
  1.2   IRAY   rend info : Updating decals.
  1.2   IRAY   rend info : Allocating 1-layer frame buffer
  1.2   IRAY   rend info : Using interactive scheduling, architectural sampler unavailable, caustic sampler disabled
  1.2   IRAY   rend info : Initializing local rendering.
  1.2   IRAY   rend info : CPU: using 3 cores for rendering
  1.2   IRAY   rend info : Rendering with 2 device(s):
  1.2   IRAY   rend info :    CUDA device 0 (GeForce GTX 1070)
  1.2   IRAY   rend info :    CPU
  1.2   IRAY   rend info : Rendering...
  1.24  IRAY   rend info : Using device 0 to build data for host
  1.24  IRAY   rend info : Importing lights for motion time 0
  1.24  IRAY   rend info : Initializing light hierarchy.
  1.24  IRAY   rend info : Light hierarchy initialization took 0.00s
  1.26  IRAY   rend info : CPU: Scene processed in 3.241s
  1.24  IRAY   rend info : CPU: Allocated 419.074 KiB for frame buffer
  1.23  IRAY   rend info : JIT-linking wavefront kernel in 0.774s
  1.23  IRAY   rend info : JIT-linking mega kernel in 0.034s
  1.20  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Scene processed in 4.205s
  1.23  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Allocated 12.2511 MiB for frame buffer
  1.20  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Allocated 1.6875 GiB of work space (2048k active samples in 0.050s)
  1.20  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Used for display, optimizing for interactive usage (performance could be sacrificed)
  1.2   IRAY   rend info : Received update to 00001 iterations after 10.520s.
  1.2   IRAY   rend info : Rendering...
  1.18  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Prevent device timeout
  1.2   IRAY   rend info : Received update to 00002 iterations after 16.533s.
  1.2   IRAY   rend info : Received update to 00003 iterations after 22.515s.
  1.2   IRAY   rend info : Received update to 00004 iterations after 28.773s.
  1.22  IRAY   rend info : CPU: Allocated 3.22837 MiB for frame buffer
  1.7   IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Allocated 9.43202 MiB for frame buffer
  1.2   IRAY   rend info : Received update to 00005 iterations after 34.554s.
  1.2   IRAY   rend info : Received update to 00006 iterations after 40.903s.
  1.2   IRAY   rend info : Received update to 00007 iterations after 47.081s.
  1.2   IRAY   rend info : Received update to 00008 iterations after 53.353s.
  1.2   IRAY   rend info : Received update to 00009 iterations after 59.536s.
  1.2   IRAY   rend info : Received update to 00010 iterations after 65.697s.
  1.2   IRAY   rend info : Received update to 00011 iterations after 71.974s.
  1.2   IRAY   rend info : Received update to 00012 iterations after 78.290s.
  1.2   IRAY   rend info : Received update to 00013 iterations after 84.466s.
  1.2   IRAY   rend info : Received update to 00014 iterations after 90.729s.
  1.2   IRAY   rend info : Received update to 00015 iterations after 96.995s.
  1.2   IRAY   rend info : Received update to 00016 iterations after 103.241s.
  1.2   IRAY   rend info : Received update to 00017 iterations after 109.332s.
  1.2   IRAY   rend info : Received update to 00018 iterations after 115.527s.
  1.2   IRAY   rend info : Received update to 00019 iterations after 121.602s.
  1.2   IRAY   rend info : Received update to 00021 iterations after 133.357s.
  1.2   IRAY   rend info : Received update to 00023 iterations after 145.181s.
  1.18  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Prevent device timeout
  1.24  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Prevented device timeout
  1.22  IRAY   rend info : CPU: Allocated 2.85897 MiB for frame buffer
  1.4   IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Allocated 9.80142 MiB for frame buffer
  1.2   IRAY   rend info : Received update to 00025 iterations after 156.976s.
  1.18  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Prevent device timeout
  1.12  IRAY   rend info : CUDA device 0 (GeForce GTX 1070): Prevented device timeout
  1.2   IRAY   rend info : Received update to 00027 iterations after 167.800s
  1.2   IRAY   rend info : Received update to 00030 iterations after 184.442s.
pka4916
pka4916
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 366, Visits: 1.4K
ok Tried it, and still the same problem..
it becomes impossible to work with Iray for me.
even 100 count, takes forever.. and freezing up.

pka4916
pka4916
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)Distinguished Member (3.5K reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 366, Visits: 1.4K
I downloaded it this morning, and installed it, after removing it.
Will check again when I get home with the new install.
but before:
I load the project  and it's processing,  5 Gb is used out of 8  .  (in the main viewer it's using 0.5 Gb)
I am using the sample project that came with either a Training or default install I think.  Otherwise it's one of my many purchases.
It's located under projects at the top.  an house torned down on a hill seems like it.. with some trees.

I am using a Laptop indeed,   (https://www.asus.com/us/Laptops/ROG-G752VS)
Upgraded to 64 Gb Ram,  and 8 TB SSD space total
and a 1070 GTX card with 8 Gb




1
2
3



Reading This Topic