Intermittent Iray Failure
NylonGirl
Posts: 2,236
Hello. I need some kind of help getting IRAY to render consistently. It seems to have intermittent failure. Usually it won’t work the first time I launch DAZ Studio. It doesn’t matter if I start with a large scene or the smallest of props. Memory doesn’t seem to be the issue. After trying several times, it will usually start rendering. And it will render without me changing any settings, so there is no indication of why it didn’t just work in the first place.
I can’t recognize any pattern to what makes it work. Sometimes I try shutting down DAZ and restarting. Sometimes it works and sometimes it doesn’t. I usually have more luck if I start with a small prop first. It will fail the first time and then work maybe the third or fourth time. After that, I can load a big scene and it will render fine with no changes to any settings from the time it failed. Sometimes It will render and, if I make any change to the scene whatsoever, it will fail the next time. And then it will render on the next attempt. All with no changes to the settings.
If I switch the scene preview mode from “texture shaded” to “NVIDIA Iray”, sometimes it will just show a progress bar that fills and then starts over, with no preview rendering. Then if I switch back to texture shaded and back to NVIDIA Iray, it will render the preview with no other settings changed.
It’s driving me crazy that I can’t consistently render. It makes any change to the scene require multiple render attempts to see if the change was good. I have tried everything I could think of to fix this. I’ve gone from the official version of DAZ Studio to the beta version. I’ve done a complete uninstall and reinstall, which wiped out my workflow but didn’t solve the problem. I’ve tried going back to nVidia driver version 417.1. I’ve tried the latest version of the creator driver and the game ready driver. The only thing I haven’t tried is factory resetting the whole computer, which I really don’t want to do because everything except DAZ Studio is working, including GTA V and Tomb Raider. So I assume the hardware and driver are working.
I am attaching two log files to this message. One shows what happened when IRAY failed to render anything. I cut out the portion whose timestamp was from the previous day, as I assumed it was irrelevant. I’ve also attached the logfile from my very next attempt, which was successful. The only change I made between attempts was deleting the logfile so the “successful” log file wouldn’t contain data from the “unsuccessful” log file. When the renderer fails, it looks like it’s going to work, with the progress bar talking about IRAY versions being used and all, and then the bar disappears as if the render is done, but with a blank image window.
ASUS laptop with a Core i7 and GTX1050 with 4 gigs of video memory, 16 gigs of system RAM, no lack of disk space. If this problem has been solved before, I couldn’t find that thread. The problems started happening around the time people started getting excited about RTX. Any help would be appreciated



Comments
DS isn't being given the 1050 as its GPU, though Iray does seem to pick it up. Check the settings in the nVidia Control Panel, accessed from right-click on the desktop. Though 4GB of video RAM is limiting
and :
I think when it does try to render it uses the CPU. Be sure to set yor GTX1050 as the primary graphics use for daz3d ( NVidia Control Panel ) and this may fix it.
edit post due to mis information: ( REmoved )
The notebook version is CUDA compatible.
All NVIDIA GPUs manufactured since 2008 are CUDA capable. BESURE you have the latest hardware driver for the graphics card, not the nvidia driver ( which should however be up to date )
This might be helpful as well:
https://devtalk.nvidia.com/default/topic/1035465/cuda-setup-and-installation/cuda-9-0-installation-with-gtx-1050-notebook/
And This: http://cuda-z.sourceforge.net/
I forgot to mention that I had previously tried explicitly setting DAZ Studio to use the nVidia hardware rather than the Intel hardware. That didnt work at that time. I tried it again, and since that time, I've still had intermittent IRAY failure.
I was going to mention, lines 479 and 480 of that "Failed Render" logfile I attached, states the following:
2019-06-09 10:17:44.125 Iray INFO - module:category(IRAY:RENDER): 1.1 IRAY rend info : NVIDIA display driver version: 430.86
2019-06-09 10:17:44.125 Iray INFO - module:category(IRAY:RENDER): 1.1 IRAY rend info : Your NVIDIA driver supports CUDA version up to 10.2; iray requires CUDA version 10.1; all is good.
I realize 4 gigabytes of video RAM is not considered high end, but note that the failure is intermittent. It will often fail on the first try and then work on subsequent tries, only to fail again later and then work again afterward. I would think if there were not enough RAM for the render to work, it wouldn't suddenly work on the next try. Whatever it is that isn't working, will suddenly start working later. Also, with these failures, the render doesn't fall back to the CPU. It just stops as if it's complete, but without rendering anything.
I don't believe there is a newer driver available than the one I'm using, unless there is one that GeForce Experience isn't picking up. I did use the nVidia control panel to specify that the nVidia hardware be used for this application, as I did before.I also specified that the nVidia hardware be used for CUDA, changing it from the previous setting, "Auto Select" or something like that.
I've been using these settings since the date of the previous post; and it worked well for the first few days. Then the software regressed to the same intermittent failure patterns as before. I was hoping I wasn't the only person having these problems. This all would be driving me crazy if not for a new problem I've noticed. I suppose I should inquire about that new problem in a separate thread, but first I have to get over my incredible fear of having more than twenty posts.
Seems I have the same problem or nearly same.
Szenes I could render the day bevore wont render after loading the szene.
My laptop just seem to freez and make no progress to render anything in the beginning for hours.
If it wors, it might be finished in less an hour.