Trying to get Redshift to work with Maya

1,078 views
Skip to first unread message

UVPHACTORY - ds

unread,
Jun 16, 2015, 3:02:19 PM6/16/15
to rrKn...@googlegroups.com
Holger (and anyone else that has an idea about this)-

We are trying to get RR to work with Maya and Redshift.  We have redshift set up correctly as we use it regularly with Softimage and we have RR set up NOT as a service so it can use the GPU.  Again, all has been fine for a long time while using Softimage.  Now that we're having to use Maya more and more, we want to make sure RR can render our scenes.

However, we get immediate crashes when we send a sample scene.
There's some error about an .xml file.  Could that be the issue?  :  rrErr: Cannot open renderer description file "redshiftRenderer.xml"

Let me know if you need any files from me.
Thanks,
Damijan



Here's the error log we get:





R  0| >"C:\Users\Phactory\AppData\Local\Temp\rrbin64\rrResetexitcode.exe"
R  1| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R  2| ++++++++++++++++++++++++++++++++++++++++++ START ++++++++++++++++++++++++++++++++++++++++++++++
R  3| ++++++++++++++++++++++++++++++++++++++++ 7.0.11 ++++++++++++++++++++++++++++++++++++++++++
R  4| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R  5|         
R  6| >"C:\Program Files\Autodesk\Maya2016\bin\Render.exe" -proj "\\192.168.1.6\Galactus\G_Projects\1510_SCI_PizzaHut\_Prj\SharPizzaHut_Project\mya" -r redshift -rd "C:/RR_localdata/renderout/A/SharnanoPizzaHut_Project/mya/images/Shark_turn_v2" -im "Shark_Turntable.iff"  -s 1 -e 30 -b 1  -cam "camera1" -pad 3     "C:\RR_localdata\cachedscenes\Galactus_G_Projects\1510_SCI_PizzaHut\c930b729\Shark_Turntable\Shark_Turntable.mb" 
R  7| >"C:\Users\Phactory\AppData\Local\Temp\rrbin64\rrCheckexitcode.exe" 208 0 0 1 
R  8| rrErr: Cannot open renderer description file "redshiftRenderer.xml"
R  9| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R 10| +++++++++++++++++++++++++++06.16. 14:28.11 Render Executable done +++++++++++++++++++++++++++++++++++
R 11| ++++++++++++++++++++ Royal Render checks the return code of the executable ++++++++++++++++++++
R 12| ++++ Executable returned 208 (0x d0) as exit code for frame 1.
R 13| ++++  'Error 208: The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified..'
R 14| ++++ Executable crashed 
R 15| ++++++++++++++++++++++++++++++++++++++++++++ 7.0.15+++++++++++++++++++++++++++++++++++++++++++++++++++
R 16|  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R 17|  THOR  rrClient L     7.0.21    rrVer7.0.21
R 18|  14:28:11.64
R 19|  Job ID: {EM8}
R 20|  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R 21| 
R 22| 
R 23| 
R 24| 
R 25| Current time:06.16 14:28.13
R 26| 
R 27| 
R 28| Total processing time: 00:00.03
R 29| Max memory usage: 0.01GB 
R 30| ************************* LOCAL RENDER INFORMATION *************************
R 31| Total render files found:     0
R 32| Files successful copied:      0
R 33| Files broken/not copied:      0
R 34| Total render files found (main pass only):     0
R 35| List of files: (C=copied    R=successfully read    X=Exr cropped    F=image verify failed    V=rrViewer cache created)
R 36| ************************* CLIENT REPORTS DURING THIS RENDER *************************
R 37| 
R 38| Permanent error in this  log file: rrerr: cannot open renderer description file "redshiftrenderer.xml"
R 39| Error in this log file (173): ++++  'error 208: the global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified..'
R 40| Error in log this file: <div class="error vistoggle"><a href="javascript: togglevisibilitybyclass('error')">hide error</a></div><div class="error vistoggle" style="display:none;"><a href="javascript: togglevisibilitybyclass('error')">show error</a></div>
R 41| Error in log this file: <div class="error line"><div>12:01:10 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 42| Error in log this file: <div class="error line"><div>12:07:38 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 43| Error in log this file: <div class="error line"><div>12:07:45 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 44| Error in log this file: <div class="error line"><div>12:08:06 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 45| Error in log this file: <div class="error line"><div>12:16:00 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 46| Error in log this file: <div class="error line"><div>12:16:03 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 47| Error in log this file: <div class="error line"><div>12:16:30 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 48| Error in log this file: <div class="error line"><div>12:36:25 error:        </div><div>cannot begin rendering. another render is in progress.</div></div>
R 49| Error in log this file: <div class="error line"><div>12:36:29 error:        </div><div>cannot begin rendering. another render is in progress.</div></div>
R 50| Error in log this file: <div class="error line"><div>13:39:47 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 51| Error in log this file: <div class="error line"><div>13:52:52 error:        </div><div>redshift cannot operate with less than 256mb of free vram. frame rendering aborted. if you're using multiple gpus, please ensure that sli is disabled in the nvidia control panel (use the option 'disable multi-gpu mode')</div></div>
R 52| Error in log this file: <div class="error line"><div>13:54:01 error:        </div><div>cannot begin rendering. another render is in progress.</div></div>
R 53| Error in log this file: <div class="error line"><div>13:55:56 error:        </div><div>cannot begin rendering. another render is in progress.</div></div>
R 54| Error in log this file: <div class="error line"><div>14:10:59 error:        </div><div>cannot begin rendering. another render is in progress.</div></div>
R 55| 
R 56| Permanent error found in this log
R 57| 
R 58| 

Doug Wilkinson

unread,
Jun 16, 2015, 3:18:47 PM6/16/15
to rrKn...@googlegroups.com
Hi there

here are some ideas that might get you thinking.. hopefully this is some help.

Do you have redshift installed on each box manually or do you use another type of installation (single network location?).  with a default redshift maya installation there's an environment variable that's declared in the maya.env file thats specific to each user.  So if it was installed by user1 it won't be present if user2 loads up maya and hits render with redshift.   the easy fix is to go grab the maya.env from the working installation and make sure its in the correct directory on each box, for the user thats logged in to do the rendering.
for me its located here : "C:\Users\doug\Documents\maya\2016\maya.env"
you need all the environment variables that are declared for redshift to render in maya
my hunch of why this might be your issue is that the render description xml is declared here, so if its not found then perhaps this file is empty/missing? 




--
If you reply, the message is send to the user group which is sufficient.
("Reply All" just sends the message twice to the last author which is not required)
---
You received this message because you are subscribed to the Google Groups "Royal Render Knights Tavern" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rrKnights+...@googlegroups.com.
Visit this group at http://groups.google.com/group/rrKnights.
For more options, visit https://groups.google.com/d/optout.

UVPHACTORY - ds

unread,
Jun 16, 2015, 3:48:46 PM6/16/15
to rrKn...@googlegroups.com
Hi Doug, thanks for the advise.
We have Redshift individually installed on each box and they all look to a license server for their license.  In our RR/Softimage set up, we have the redshift add on as a workgroup on the server and we direct RR to tell machines to look there, so they are all looking in the same place.

I'm not sure what the strategy is for Maya people and using Redshift with RR.  R
We see a maya.bat file in the RR RenderApps Setenv folder which seems to tell RR where to look for Redshift things, but we don't know what to change in that file to make RR know where to point to correctly.

Again, Redshift renders fine directly out of Maya, but if we used the RR submit to send the same scene to render on that same computer through RR, it gets that error.

-Damijan

Doug Wilkinson

unread,
Jun 16, 2015, 4:01:59 PM6/16/15
to rrKn...@googlegroups.com
Ahh ok i see. we don't use the maya.bat that comes with RR, we use a uility/script for that thats specific to our pipeline.  But i can see in that maya.bat file its looking for you to set it up similar to how we do it here.  When i download redshift i grab the zip installation, instead of the installer.  i unzip evverything to our network location. for you this would have to be in the location : %rrSharedExeDir%  and then you need to make the folder match the line  

IF "%RR_REDSHIFT_BASE%" == ""  ( set "RR_REDSHIFT_BASE=%rrSharedExeDir%Redshift_%rrJobRendererVersion%" )

checking one of my maya render logs i can see the location of the %rrSharedExeDir% variable, you should be able to find that too. ours is :  

E 48| >set "rrSharedExeDir=\\SERVERNAME\rrrender\render_apps\renderer_exe\maya\win_x64\"


so the line in maya.bat is looking for you to make a folder like this : \\SERVERNAME\rrrender\render_apps\renderer_exe\maya\win_x64\Redshift_1.2.69


i'm not certain how the RR version detection works but that variable is also listed in a render job log file.






--

Magnetic Dreams

unread,
Jun 16, 2015, 5:14:15 PM6/16/15
to rrKn...@googlegroups.com

You need to copy the redshiftRenderer.xml (located in the Redshift Core > Plugins\Maya\Common\rendererDesc\redshiftRenderer.xml) to all your render machines local folder (C:\Program Files\Autodesk\Maya2016\bin\rendererDesc\)

We have a group policy in place to take care of this automatically.

Doug Wilkinson

unread,
Jun 16, 2015, 5:22:43 PM6/16/15
to rrKn...@googlegroups.com
hmm. are you sure that you *need* to?, we haven't done this for any of our plugin renderers.  we just just use the environment variable....
for us like this : 

"MAYA_RENDER_DESC_PATH=\\SERVERNAME\GlobalPrefs\CURRENT\vendor\MAYA2016\redshift_builds\1267\Plugins\Maya\Common\rendererDesc;\\SERVERNAME\GlobalPrefs\CURRENT\vendor\MAYA2016\vray_builds\25836\maya_root\bin\rendererDesc"


this should be the same as the way Holger does it with RR. so if its not working with RR maya.bat then Hoger needs to take a look cause thats a bug.


--

RR, Schoenberger

unread,
Jun 16, 2015, 5:33:32 PM6/16/15
to rrKn...@googlegroups.com
Hi
 
 
By default, RR sets the Redshift path to a shared location.
You can either use that or keep your local installations.
 
1) Shared RR installation
Take a look at your render log file, there should be a "Redshift folder set to" (or similar) before Maya is started.
There is s short description in rrHelp section render apps/3D/maya/3rp party renderer:
 
 
2) Local installation.
Remove the whole redshift part from the RR/render_apps/_setenv/win/maya.bat
Be sure that the redshift environment variables in windows are set per system and not per user.
Restart the machine.
 
 
 
PS:
>You need to copy the redshiftRenderer.xml (located in the Redshift Core > Plugins\Maya\Common\rendererDesc\redshiftRenderer.xml) to all your render machines local folder (C:\Program Files\Autodesk\Maya2016\bin\rendererDesc\)
Then you have copied one file of the whole redshift installation, not all.
This would fix the current error, the next would be that the plugin file was not found.
 
 
regards,
Holger Schönberger
 

Please use the rrKnights Tavern
or our support system for new questions.

 


From: rrKn...@googlegroups.com [mailto:rrKn...@googlegroups.com] On Behalf Of UVPHACTORY - ds
Sent: Tuesday, June 16, 2015 9:49 PM
To: rrKn...@googlegroups.com
Subject: [rrKnights] Re: Trying to get Redshift to work with Maya

--

Doug Wilkinson

unread,
Jun 16, 2015, 5:44:44 PM6/16/15
to rrKn...@googlegroups.com
Holger, in the case of #1, would you still need to copy the renderdesc file to the local machine? or would you be able to use the one from the network location?

Magnetic Dreams

unread,
Jun 16, 2015, 5:50:37 PM6/16/15
to rrKn...@googlegroups.com

You raise a good point Doug. Copying this file is the way we've done it, which works, but setting the MAYA_RENDER_DESC_PATH variable in your Maya.env should have the same effect.

RR, Schoenberger

unread,
Jun 17, 2015, 11:27:48 AM6/17/15
to rrKn...@googlegroups.com
Network location.
It sets the MAYA_RENDER_DESC_PATH variable.
 
 
regards,
Holger Schönberger
 

Please use the rrKnights Tavern
or our support system for new questions.

 


From: rrKn...@googlegroups.com [mailto:rrKn...@googlegroups.com] On Behalf Of Doug Wilkinson
Sent: Tuesday, June 16, 2015 11:44 PM
To: rrKn...@googlegroups.com
Subject: Re: [rrKnights] Re: Trying to get Redshift to work with Maya

Reply all
Reply to author
Forward
0 new messages