Iray gpu fail to render
Hi everyone :)
I searched a lot before opening this thread, and I probably saw all posts includes some for mac... but I didnt found an hint to solve my problem.
My 780Ti keep crashing while I do renders. Event if the scene use only 1.2go.
I can render them on my laptop with a Gtx960M without any problems.
My spec : Amd 8320 - 16go ram - Gtx780ti - gtx 570 and 750tx power supply.
I tried all drivers since 765.51 to the newest and there is no difference.
I tried to switch off optix and there is no difference.
I tried to activate also my 570 but there is no difference except that go a bit faster but still crash on high resolution.
If I render the scene at low resolution like 960*540 instead 1920*1080 sometimes it render correctly sometimes it still crash.
For some scenes, even if the size fit in GPU / VRAM i had to reduce textures size by 4 for being able to finish the render.
And I dont really understand this line :
2017-04-20 21:03:53.493 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.18 IRAY rend error: CUDA device 0 (GeForce GTX 780 Ti): Kernel [18] failed after 0.007s
2017-04-20 21:01:50.161 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating geometry.2017-04-20 21:01:50.272 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Using built-in ray tracing (1.0.0).2017-04-20 21:01:50.272 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Importing geometry.2017-04-20 21:01:50.562 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Geometry import (1 object with 840k triangles, 1 instance yielding 840k triangles) took 0.2898772017-04-20 21:01:50.569 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating materials.2017-04-20 21:01:50.591 Iray INFO - module:category(MATCNV:RENDER): 1.0 MATCNV rend info : found 77 textures, 0 lambdas (0 unique)2017-04-20 21:01:50.602 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Emitter geometry import (12 light sources with 81150 triangles, 1 instance) took 0.01s2017-04-20 21:01:50.602 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating environment.2017-04-20 21:01:50.620 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating lens.2017-04-20 21:01:50.620 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating lights.2017-04-20 21:01:50.622 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating object flags.2017-04-20 21:01:50.622 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating caustic portals.2017-04-20 21:01:50.622 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Updating decals.2017-04-20 21:01:50.631 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Allocating 1 layer frame buffer2017-04-20 21:01:50.648 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Using batch scheduling, architectural sampler disabled, caustic sampler disabled2017-04-20 21:01:50.648 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Initializing local rendering.2017-04-20 21:01:50.657 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : CPU: using 7 cores for rendering2017-04-20 21:01:50.697 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Rendering with 2 device(s):2017-04-20 21:01:50.697 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : CUDA device 0 (GeForce GTX 780 Ti)2017-04-20 21:01:50.697 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : CPU2017-04-20 21:01:50.697 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Rendering...2017-04-20 21:01:50.697 Iray VERBOSE - module:category(IRAY:RENDER): 1.4 IRAY rend progr: CPU: Processing scene...2017-04-20 21:01:50.705 Iray VERBOSE - module:category(IRAY:RENDER): 1.3 IRAY rend progr: CUDA device 0 (GeForce GTX 780 Ti): Processing scene...2017-04-20 21:01:51.995 WARNING: dzneuraymgr.cpp(307): Iray WARNING - module:category(IRAY:RENDER): 1.5 IRAY rend warn : RTKernel: please check the input geometry (degenerated/inefficient RT hierarchy)2017-04-20 21:01:52.020 Iray VERBOSE - module:category(IRAY:RENDER): 1.2 IRAY rend stat : Geometry memory consumption: 24.2376 MiB (device 0), 0 B (host)2017-04-20 21:02:03.565 Iray INFO - module:category(IRAY:RENDER): 1.5 IRAY rend info : Initializing light hierarchy.2017-04-20 21:02:03.697 Iray VERBOSE - module:category(IRAY:RENDER): 1.2 IRAY rend stat : Texture memory consumption: 383.923 MiB (device 0)2017-04-20 21:02:04.916 Iray INFO - module:category(IRAY:RENDER): 1.5 IRAY rend info : Light hierarchy initialization took 1.35s2017-04-20 21:02:04.928 Iray VERBOSE - module:category(IRAY:RENDER): 1.2 IRAY rend stat : Lights memory consumption: 11.7202 MiB (device 0)2017-04-20 21:02:05.363 Iray VERBOSE - module:category(IRAY:RENDER): 1.5 IRAY rend stat : Native CPU code generated in 2.64e-006s2017-04-20 21:02:05.365 Iray VERBOSE - module:category(IRAY:RENDER): 1.2 IRAY rend stat : Material measurement memory consumption: 0 B (GPU)2017-04-20 21:02:05.366 Iray VERBOSE - module:category(IRAY:RENDER): 1.2 IRAY rend stat : Materials memory consumption: 391.539 KiB (GPU)2017-04-20 21:02:05.578 Iray INFO - module:category(IRAY:RENDER): 1.4 IRAY rend info : CPU: Scene processed in 14.881s2017-04-20 21:02:05.614 Iray INFO - module:category(IRAY:RENDER): 1.3 IRAY rend info : CUDA device 0 (GeForce GTX 780 Ti): Scene processed in 14.916s2017-04-20 21:02:05.615 Iray INFO - module:category(IRAY:RENDER): 1.4 IRAY rend info : CPU: Allocated 47.4616 MiB for frame buffer2017-04-20 21:02:05.640 Iray INFO - module:category(IRAY:RENDER): 1.3 IRAY rend info : CUDA device 0 (GeForce GTX 780 Ti): Allocated 47.4616 MiB for frame buffer2017-04-20 21:02:05.701 Iray INFO - module:category(IRAY:RENDER): 1.3 IRAY rend info : CUDA device 0 (GeForce GTX 780 Ti): Allocated 848 MiB of work space (1024k active samples in 0.061s)2017-04-20 21:02:07.987 Iray INFO - module:category(IRAY:RENDER): 1.3 IRAY rend info : Allocating 1 layer frame buffer2017-04-20 21:02:08.124 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00001 iterations after 17.428s.2017-04-20 21:02:09.376 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00002 iterations after 18.680s.2017-04-20 21:02:10.816 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00003 iterations after 20.119s.2017-04-20 21:02:12.189 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00004 iterations after 21.492s.2017-04-20 21:02:13.588 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00005 iterations after 22.891s.2017-04-20 21:02:14.856 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00006 iterations after 24.159s.2017-04-20 21:02:16.181 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00007 iterations after 25.485s.2017-04-20 21:02:17.525 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00008 iterations after 26.828s.2017-04-20 21:02:18.922 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00009 iterations after 28.226s.2017-04-20 21:02:19.791 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00010 iterations after 29.094s.2017-04-20 21:02:20.165 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00011 iterations after 29.468s.2017-04-20 21:02:21.481 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00012 iterations after 30.784s.2017-04-20 21:02:23.952 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00014 iterations after 33.255s.2017-04-20 21:02:26.466 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00016 iterations after 35.769s.2017-04-20 21:02:29.063 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00018 iterations after 38.366s.2017-04-20 21:02:32.923 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00021 iterations after 42.226s.2017-04-20 21:02:33.912 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00022 iterations after 43.215s.2017-04-20 21:02:36.736 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00025 iterations after 46.039s.2017-04-20 21:02:40.522 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00028 iterations after 49.826s.2017-04-20 21:02:44.494 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00031 iterations after 53.797s.2017-04-20 21:02:48.308 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00032 iterations after 57.611s.2017-04-20 21:02:49.310 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00036 iterations after 58.613s.2017-04-20 21:02:54.506 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00040 iterations after 63.810s.2017-04-20 21:02:56.886 WARNING: cloud\dzcloudtasknotifier.cpp(178): peer performed orderly shutdown errno=02017-04-20 21:03:01.097 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00045 iterations after 70.400s.2017-04-20 21:03:02.850 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00046 iterations after 72.153s.2017-04-20 21:03:07.557 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00051 iterations after 76.861s.2017-04-20 21:03:14.083 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00056 iterations after 83.387s.2017-04-20 21:03:17.116 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00057 iterations after 86.419s.2017-04-20 21:03:22.047 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00063 iterations after 91.351s.2017-04-20 21:03:30.987 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00070 iterations after 100.290s.2017-04-20 21:03:31.422 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00071 iterations after 100.725s.2017-04-20 21:03:39.490 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00078 iterations after 108.793s.2017-04-20 21:03:45.700 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00079 iterations after 115.003s.2017-04-20 21:03:49.290 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00087 iterations after 118.593s.2017-04-20 21:03:53.493 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.18 IRAY rend error: CUDA device 0 (GeForce GTX 780 Ti): Kernel [18] failed after 0.007s2017-04-20 21:03:53.493 WARNING: dzneuraymgr.cpp(307): Iray ERROR - module:category(IRAY:RENDER): 1.18 IRAY rend error: CUDA device 0 (GeForce GTX 780 Ti): an illegal memory access was encountered (while launching CUDA renderer in core_renderer_wf.cpp:791)
Im a bit lost at the moment... I tryed every options in render settings, keeping iray and photoreal mode), also tryed to add more lighting but still no solution... I m sad :(
If someone have an idea ? God bless him and his family :)

Comments
just a hunch with that last line.. an illeagal memory access was encountered...
run any virus scan lately?
I have a ASUS GTX 780 ti and it's been working with no issues.
My only settings changed from default under Progressive Max Samples 1500 (for a start - sometimes more), Rendering Quality off - I leave Max Time samples 0... (I thought my notes said 7200 , but that was the old setting -- I wrote down 0 later)
Optimization set to architectural. It works evenly on the whole image and cuts down on noise. Instancing Optimization is set to Memory instead of speed. It dumps out to CPU less often.
Firefly filter set to enable, Noise is off
Tone mapping enable is on
Draw dome is on or off depending on what you're doing.
Infinite Sphere with ground and Finite Sphere w/Ground don't seem to make a difference, but it could be the scenes I've been doing. But I think it seems to speed it up to have them selected.
Optix On
Driver is 372.90 - I download the whole file and install it myself.
I use Windows Defender (I m on windows 10) I ll try with Windows Defender Off.
I will try the same setup and edit this post ;)
Edit : Its probably not windows defender because I m actually at 50% of a render !! Before that I wasnt able to reach 100 iterations without gpu bug... now I m at 800 :)
because it still fail :D
Edit 2 : @Kevin Sanderson, now I m with the latest drivers 381.65 and i was able to finish a render with your settings. But the scene take only 550 mb... I need another test with bigger scenes.
Thank you very much for your helps guys :)
Same scene with default setup (but this time I think Gpu stop because the gtx 570 cant handle enough vram)
If i try the same scene without 570, so with only 780 Ti, it crash at the same time.µ
Edit : I was able to render with my780ti when I limit power of GPU. So maybe the best hint...