Problems with 3Delight standalone
TL;DR Summary
First problem: Connection between renderdl and i-display buggy, falls out mid-render. New problem, reproduced, but not consistent in timing or surrounding events. Seems to be a failure of the TCP-IP connection between the two but the firewall doesn't think it's doing it (according to logs).
Tried running the render without i-display in play, which led to -
Second problem:
collecteddirectory>renderdl file.rib -nd
with rib statement
Display "render.tiff" "file" "rgba"
yields an almost-empty TIFF, which is unreadable by graphics programs and when subsequently opened in i-Display shows as blank, despite the renderdl command window showing the expected narrative and elapsing the expected amount of time. Various other possibilities excluded. This does not seem to be a new problem; I'm only detecting it now because it's the first time I've tried to render and save outside i-Display (previously I saved from i-Display's Save Image As menu option).
Both problems have been reproduced on two machines, both running Win8.1 x64, i7 quad core, 16gB RAM (substantially similar config, but not clones). There have been no new Windows updates or programs installed, or even a restart, between the last successful render and the new fails.
Detail
I'm running 3Delight Standalone on a Windows 8 x64 box. I have been outputting .RIB files from DAZ for a while now and rendered them successfully with 3Delight by right-clicking the RIB file and selecting Render With 3Delight. My son also does this on a similar-spec laptop, so I have some scope to reproduce issues.
Yesterday, both he and I started having crashes mid-render in i-Display. By watching the firewall logs, I came to the conclusion that the problem was with the connection between renderdl and i-Display. (renderdl communicates with i-Display over TCP-IP). I couldn't figure out why, and still don't have much idea. There have been no new Windows updates or programs installed, or even a restart, between the last successful render and the new fails.
As a workaround I tried running my render from the command line without using i-Display by typing:
collecteddirectory>renderdl file.rib -nd
After a few hours (about the expected timeframe) the script had concluded with no major errors (just the usual "resetting to box" type stuff), return to command prompt. There was a render.tiff file in the collectedirectory (expected behaviour).
However, the file properties (in both Windows Explorer and the command window) still show render.tiff as virtually empty and last modified at the time of renderdl launch. By the way, all my old renders successfully rendered in i-display have exactly the same thing - a small placeholder render.tiff file that doesn't appear to have anything in it. I've never detected it before because I've always used Save Image As in the i-Display to save as PNG, So it looks like the empty TIFF problem is a pre-existing one that I've had for as long as I've had 3Delight.
Graphics programs can't open the tiny TIFF. Typing i-display "render.tiff" launches i-display with a blank grid (which is consistent with the file information). I've checked in my bin folder (including for hidden files) and searched the whole computer for any other render.tiff. It doesn't seem to be anywhere else.
The relevant line in the RIB file reads
Display "render.tiff" "file" "rgba"
so it really should have outputted to collecteddirectory\render.tiff.
I still have the original renderdl command window open, so if the file information is somehow sitting somewhere and I need to run a command to pipe it to the render.tiff file, I can do that. I can't figure out from the renderdl doco whether I'm supposed to do something to connect the dots.
And/or, if anyone has any thoughts on how to keep the TCP-IP connection between renderdl and i-display alive, I'm all ears. It wasn't a forcible disconnect by my firewall and there's no clear consistent pattern of behaviour just beforehand. My system did seem to be fighting off a hack yesterday, so I suppose it's possible i-display was somehow being thrown out along with the intruder traffic, but my firewall certainly didn't think it was disallowing it.
Thoughts?
Comments
If it's of use, here's a dump of my renderdl variables:
(The licensing error was because I had just run a test in another command window, but that was to i-display, so I didn't learn anything of use for this problem. I don't think the licensing was the reason this didn't work though - it didn't terminate the process, and it wasn't the case on the other computer which had the same behaviour).
If you really think the problem comes from the firewell you could disable it on local networks