When rendering a scene with DR enabled using the “Render” command on Linux it fails to use any nodes. I have both manually specified the nodes in the text files (2x *.tmp in /home/<user>/maya) and as a -preRender MEL but nothing works. Rendering the same scene on a OSX box with proper *.tmp files and with the -preRender both works a supposed, it even uses the same linux DR slaves I tried to use when starting the render on linux.
The thing is that we need to be flexible with which computer is the master as we have a mixed OSX and Linux environment.
Nope, and as I think I have figured out, all that does is write to the local .tmp files, which will not affect the Linux node actually starting the render. In a way I tried to add the slave on the Linux node via a preRender MEL calling the same functions you call from the render globals window. I like hacking a bit.
I tried using VRay standalone on Linux, no success. This is the output:
[2011/Sep/13|12:41:53] dr host: 192.168.27.2
[2011/Sep/13|12:41:53] warning: Could not connect to host 192.168.27.2: Unknown error
[2011/Sep/13|12:41:53] Using 0 hosts for distributed rendering.
For input I used this: /usr/autodesk/maya2012-x64/vray/bin/vray -scenefile=test.vrscene -distributed=1 -renderhost=192.168.27.2
I get the same result when running VRay standalone on my OSX workstation but the strange thing is that I can connect to the same DR host from within Maya, so I assume that it’s no firewall blocking. My workstation IP is 192.168.26.3, but I doubt that matters…
Some tests:
1. Can you ping: execute “ping 192.168.27.2”?
If you get no ping you have network config problems.
2. Install nmap and execute “nmap -p 20207 192.168.27.2”.
The result should mention if the port is opened or closed.
If it is closed/filtered check if you’ve started the vray standalone in server mode (-server)
or check your firewall/selinux/apparmor settings.
BTW: Have you tried to use -portNumber=20207 (or the port used on the server)?
Specifying the port number when starting via standalone did it! But I still get no DR when starting via Maya Render…
Two suggestions for fixing this “soft-bug”:
1. Make the default port numbers match up on all architectures and use cases. It seems at least to be set to 20207 on OSX both in Maya and as standalone bot not on Linux.
2. Print out the port number that VRay tries to use when connecting to the DR slaves (currently only the slave prints out the port number it listens at). Will be good for future network debugging.
I Still needs to get Maya Render on Linux to use DR though…
I tried this which do add the correct data in the server_list.tmp and server_status.tmp in my home folder, but doesn’t use the DR slave:
My -preRender command just ensures that the distributed flag is on. This is also the most likely way I will use it when it works, having scenes with DR off and then submitting them on our renderfarm and switching on DR and setting which slaves to use. We do a lot of still images, that’s why I need it soo badly.