Iray no longer uses GPUs
Here's the strange part, a GPU works fine (I check a single GPU to show the preview) when checked to show a viewport preview. It fails every time when I try to render it with the render button.
2017-02-14 18:42:18.538 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 0: cannot get memory statistics (unspecified launch failure)
2017-02-14 18:42:18.538 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 1: cannot get memory statistics (unspecified launch failure)
2017-02-14 18:42:19.254 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 0: cannot get memory statistics (unspecified launch failure)
2017-02-14 18:42:19.254 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 1: cannot get memory statistics (unspecified launch failure)
2017-02-14 18:42:26.574 Rendering image
2017-02-14 18:42:59.250 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating geometry.
2017-02-14 18:42:59.266 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Using OptiX Prime ray tracing (3.9.1).
2017-02-14 18:42:59.266 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Importing geometry.
2017-02-14 18:43:00.303 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Geometry import (1 object with 2856k triangles, 1 instance yielding 2856k triangles) took 1.034460
2017-02-14 18:43:00.308 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating materials.
2017-02-14 18:43:00.389 Iray INFO - module:category(MATCNV:RENDER): 1.0 MATCNV rend info : found 494 textures, 0 lambdas (0 unique)
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Emitter geometry import (5 light sources with 10 triangles, 1 instance) took 0.00s
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating environment.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating lens.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating lights.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating object flags.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating caustic portals.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating decals.
2017-02-14 18:43:00.407 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Allocating 1 layer frame buffer
2017-02-14 18:43:00.423 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Using batch scheduling, architectural sampler disabled, caustic sampler disabled
2017-02-14 18:43:00.423 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Initializing local rendering.
2017-02-14 18:43:00.423 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : CPU: using 6 cores for rendering
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 0 (GeForce GTX 650 Ti BOOST): unspecified launch failure (while allocating host mapped memory buffer)
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 0 (GeForce GTX 650 Ti BOOST): device cannot be used as it does not support mapped memory (canMapHostMemory)
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 0 (GeForce GTX 650 Ti BOOST): Device initialization failed, will not be used
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 1 (GeForce GTX 650 Ti BOOST): unspecified launch failure (while allocating host mapped memory buffer)
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 1 (GeForce GTX 650 Ti BOOST): device cannot be used as it does not support mapped memory (canMapHostMemory)
2017-02-14 18:43:00.423 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.0 IRAY rend error: CUDA device 1 (GeForce GTX 650 Ti BOOST): Device initialization failed, will not be used
2017-02-14 18:43:00.438 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Rendering with 1 device(s):
2017-02-14 18:43:00.438 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : CPU
2017-02-14 18:43:00.438 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Rendering...
2017-02-14 18:43:00.438 Iray VERBOSE - module:category(IRAY:RENDER): 1.6 IRAY rend progr: CPU: Processing scene...
2017-02-14 18:43:21.993 Iray INFO - module:category(IRAY:RENDER): 1.7 IRAY rend info : Initializing light hierarchy.
2017-02-14 18:43:21.993 Iray INFO - module:category(IRAY:RENDER): 1.7 IRAY rend info : Light hierarchy initialization took 0.00s
2017-02-14 18:43:22.193 Iray VERBOSE - module:category(IRAY:RENDER): 1.7 IRAY rend stat : Native CPU code generated in 1.47e-006s
2017-02-14 18:43:22.193 Iray INFO - module:category(IRAY:RENDER): 1.6 IRAY rend info : CPU: Scene processed in 21.767s
2017-02-14 18:43:22.215 Iray INFO - module:category(IRAY:RENDER): 1.6 IRAY rend info : CPU: Allocated 15.6586 MiB for frame buffer
2017-02-14 18:43:25.867 Iray INFO - module:category(IRAY:RENDER): 1.6 IRAY rend info : Allocating 1 layer frame buffer
2017-02-14 18:43:25.939 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00001 iterations after 25.511s.
2017-02-14 18:43:29.528 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00002 iterations after 29.088s.
2017-02-14 18:43:33.254 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00003 iterations after 32.813s.
2017-02-14 18:43:37.304 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00004 iterations after 36.864s.
Comments
Apparently I fixed it by going into the Nvidia control panel and enabling SLI. I had it off because previously it would cause a massive system hit when using the preview pane with it on, but not now. Maybe the latest driver helped this? I'm going to leave this post here just in case someone else has the same issue.
What version of Studio are you running? What Nvidia driver?