Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: OC8312 on December 11, 2014, 04:52:45 PM

Title: Location of Forest Pack Pro log
Post by: OC8312 on December 11, 2014, 04:52:45 PM
Hi,

I am attempting to investigate an issue affecting some nodes on a Render Farm using Forest Pack Pro.  Any idea where the log file for Forest Pack Pro would be on each render node?

:-\
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 12, 2014, 08:46:18 AM
Hi, Forest doesn't generate log files, because usually render problems are not caused directly by the plugin (missing assets, renderer issues, etc), and these cannot be logged from Forest.
What is the problem exactly ?
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 12, 2014, 11:16:34 AM
Hi Carlos,

We currently run 2 licences of Forest Pack off a network server and 3 slaves however we are experiencing some issues across a couple of the render slaves.

We have 2 workstations that have the full version running and working. We have another 3 computers as our render farm slaves.
Whilst Forest Pack works locally on both these machines it only works on 1 out of the 3 render slaves over the network. Basically the renders work however where forest pack items are supposed to be, do not render as if they are not in the scene.

We're currently running 3ds Max 2014, Mental Ray and we use Deadline repository to net render.

In an attempt to resolve this we have uninstalled and re-installed Forest Pack a number of times to get this working with no joy.  The version we are using is 4.2.5.

Please note, we have also tried the Forest Tools Utility to no avail.

My request to find the logs was to see why it works on 1 render slave but not others.

Any help you can provide would be appreciated.
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 12, 2014, 01:07:22 PM
It's strange that the problem occurs also with Forest Tools, because in this case the generated items are standard Max objects, and there is not participation of Forest.
It would be a missing assets issue. Please, would you try to render a simple object (as a teapot) without textures ?
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 17, 2014, 06:14:57 PM
Hi Carlos,

Thanks for the reply. All of our scenes render, its just the forest pack items that do not appear.

We tried scattering an un-textured number of teapots using Forest Pack, and the render finished with none of them appearing. Just to note, its not working on 2/3 nodes.

Thank you again.
SHH
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 17, 2014, 07:58:45 PM
Hi, please would you try again applying Forest Tools in the teapots scene ? Just to be sure.  You can even delete the Forest object from the scene, once converted.
Thanks,
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 18, 2014, 11:00:11 AM
Hi Carlos,

Did as you said, yes the teapots worked with Forest tools. Please let us know you thoughts. If you have a couple of suggestions we could try to speed things up that would be great, as we're have a number of impending jobs that we need to get rendering.

Many thanks,

Adam
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 18, 2014, 12:42:14 PM
Ok, that has sense. Then probably the plugin is not being loaded in the failing nodes.
These are the critical files for Mental Ray rendering:

<max dir>\plugins\ForestPackPro.dlo
<max dir>\NVIDIA\shaders_autoload\mentalray\include\FShader3.mi
<max dir>\NVIDIA\shaders_autoload\mentalray\shaders\FShader3.dll

Please check these files are installed and are the same in all nodes. You can delete and copy them manually if needed.
An typical problem occurs when the Mental Ray shader (FShader3.dll) cannot be loaded. In this case, Max reports the following error:

PHEN 0.4     12 MB error  051011: shader "fs_geom3" not found

I'm not familiar with Deadline, but perhaps this error is reported in one of their logs.
Also you can try adding <max dir>\NVIDIA\shaders_autoload\mentalray\shaders to the Windows PATH routes, or copying FShader3.dll to any of these paths.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 18, 2014, 01:45:27 PM
Hi Carols,

Thanks a lot. We'll give that a go and report back. Fingers crossed.

Adam
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 23, 2014, 11:41:44 AM
Hi,

We can confirm we match the Forest Pack Pro shader files are all in the correct locations, as per your suggested locations.. It didn't work unfortunately. Next step?  :'(

Thanks
Adam
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 23, 2014, 12:28:34 PM
Is it possible to use Max interactively in the nodes, to load and render a test scene ?
In this way we would check if the problem is caused by the Max/plugin configuration or by Deadline.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on December 23, 2014, 01:44:57 PM
Hi,

By interactively we suspect you mean opening the scene directly in max on one of the affected nodes. Unfortunately as it is a node the 3ds max licence would not allow us to do this as it asks for a serial.

Any thoughts?

Cheers
Title: Re: Location of Forest Pack Pro log
Post by: iToo on December 23, 2014, 06:40:23 PM
You also would use a batch render for the test. Please, do this:

1) Unzip the content of the attached file in C:\
2) Edit renderTest.bat and set the path of your Max folder in line 2.
3) Run renderTest.bat

If there is some error with Mental Ray, it should be logged in the cmd window.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 26, 2015, 01:11:54 PM
Hi Carlos

Any ideas? We're still having issues.

Many thanks,
Title: Re: Location of Forest Pack Pro log
Post by: iToo on January 26, 2015, 01:52:26 PM
Hi, what was the result of the batch render test ?
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 26, 2015, 05:38:37 PM
Hi Carlos,

Apologies I sent the previous reply prior to seeing your reply.  Unfortunately I am unable to get the batch file to run.  Edited batch below :

@echo off
echo Rendering Batch: View01
SET MAXPATH=C:\Program Files\Autodesk\3ds Max Design 2014
%MAXPATH%\3dsmaxcmd C:\renderTest1.max -batchRender:View01 -outputName C:\renderTest1.png
pause

Any ideas?

Many thanks,
Title: Re: Location of Forest Pack Pro log
Post by: iToo on January 26, 2015, 06:09:05 PM
Do you get some error with the batch file ? Please, upload a screenshot with the cmd window, in case you cannot copy the result.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 26, 2015, 06:41:12 PM
Hi Carlos,

Please find attached an upload of a JPEG of the output.

Appreciate your assistance with this.

Title: Re: Location of Forest Pack Pro log
Post by: iToo on January 27, 2015, 09:40:46 AM
Ok, the problem are the spaces in the path. Please, try again enclosing the path within double quotes. In this way:

SET MAXPATH="C:\Program Files\Autodesk\3ds Max Design 2014"
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 27, 2015, 11:44:49 AM
Thanks Carlos, I will give this a try and come back with the output.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 27, 2015, 12:40:47 PM
Hi Carlos,  the test completed with success on each machine (attached). 

We appreciate your continued help with this.  What do you suggest as the next step??
Title: Re: Location of Forest Pack Pro log
Post by: iToo on January 27, 2015, 03:54:41 PM
Hi, this test generates a png image in C:\. If everything is correct, you should see several teapots on it, or a black image if failed.
If all nodes pass the test successfully, that means the plugin is installed and works correctly. In this case, it would be a problem specific to Deadline, perhaps it requires some adjustment for the mental ray shaders, i don't know.
Title: Re: Location of Forest Pack Pro log
Post by: OC8312 on January 27, 2015, 06:12:50 PM
Hi Carlos

Thank you so much for your help. We'll get onto Thinkbox Deadline tomorrow and report back with any helpful findings.
As we've said the Forest Pack/Deadline set up works on a couple of nodes, so hopefully its more of a setting or incorrect instillation on the Deadline side of things.

Keep you posted and thanks again!

Adam and the Team  ;D
Title: Re: Location of Forest Pack Pro log
Post by: iToo on January 27, 2015, 06:58:03 PM
No problem. If there will be anything more we can help you with, please let me know.

In case that Thinkbox team ask you, these are the files required for the Mental Ray shader. I guess that, for some reason, Deadline is unable to load them:

<max dir>\NVIDIA\shaders_autoload\mentalray\include\FShader3.mi
<max dir>\NVIDIA\shaders_autoload\mentalray\shaders\FShader3.dll