Beruflich Dokumente
Kultur Dokumente
Yourmainworkstationhasalotofpower,sofreeituptodobetterthings.
byDaveGirardMay12,20143:00amCEST
62
Main Menu
My Stories: 0
Forums
Subscribe
Jobs
Ars Consortium
Enlarge/Ofcourse,youcantypethispathifdragginganddroppingistooninetiesforyou.
Hitentertosettheworkingdirectorytothatpath.
Nexttype./setuptoexecutethesetupbinaryfromthelocalworkingdirectory(thatsthe./).The
installnowworks.Youvenowgotonecommoninstallissueunderyourbeltsokeepthisfixinmind
forthefuture.Aftertheinstallisdone,youwillbeabletolaunchMayafromtheGNOME
Applications/Graphics
menu.
Movingon,letsinstallVRay3.0(Imusingthebeta)byrunningtheinstallerasrootitcanbedone
withoutsettingtheworkingdirectoryfirst.MakesurethatRegisterVRayRenderSlaveAsaService
ischeckedon.VRayrenderersneedtobeconfiguredtolookforthelicenseserver,butImgoingto
skipthatportionhere.Aftertheinstallisdone,letsgobacktoourmastermachineandrunMayato
tryoutanetworkenabledrender.IntheRenderSettingspanelforVRay,gotoSettings/Distributed
LATEST NEWS
Associated Press sues FBI over fake
RenderingandmakesurethatUsedistributedrenderingisonandthenclicktheSettingsbuttonto
addyourmusclemachinetothepool.SinceyousetupyourrendererwithastaticlocalIP,the
addressyouputinhereshouldneverchange,andleavetheportatthedefaultbutnotethatforyour
firewallsettings:
news story
IfyouareusingAutodeskMaxasyourhost,thisprocesswillbealmostthesame,sincebothVRayfor
MaxandMayahavesimilarrendersettingspanels,andwecanusethesameVRay3rendererservice
forbothprograms.
ThetransfermissingassetsandusecachedassetsareVRay3.0featuresthatmakemixed
platformrenderingeasy,sinceitalleviatesanyneedtohandlenetworkpathsanditavoidsSAMBA
altogether.ThatalsomeansyoucanrenderfromaWindowsmachinewithMaxtoMacandLinuxV
Ray3.0rendereranditjustworks.Verynice.
Nowtotestoutourdistributedrender.Ifinditeasiertoseewhatsgoingonwithourdistributedtiles
bycreatingaslowtorenderscenelikesomethingwithSSSskinorglossyshaderwithatonof
subdivisions.HitRenderinMayaorMaxandseewhatyouget.Ifallgoesaccordingtoplan,you
shouldntgetanynetworkrendering.Yes,Isaidshouldnt:
Enlarge
Ipurposefullysetusuptofailagain,sowecansolveanothercommonproblemofnetworkrendering.
IfyoudidntrebootyourmachineafterinstallingtheVRayrenderingservice,itprobablydidntload
theVRayrenderingservice,sotherewasnothingforthemastertoconnectto.Fromourmaster
machine,letslogintotherendereroversshandcheckifVRayisrunninganythingnoneedtodo
anyofthisasroot.Typethefollowingandhitenter:
psax|grepvray
psisourprocessmonitorapplication,andwerepipingitsoutputtogrep,atextfilterthatlooksfor
lineswithvrayinitandthenprintstheoutput.Ifnothingisrunning,thenitwilljustprinttheprocess
ofgrepcheckingfor"vray":
30048pts/0S+0:00grepvray
SoletsrunourVRaymusclewithoutrebooting.ForMaya2014,theslaveserviceislocatedat
/usr/ChaosGroup/VRay/Maya2014x64/bin/vrayslave,sotypethatandhitenter.Youshouldsee
somethinglikethis:
Enlarge
HitRenderagaininMayaorMaxandyoushouldseesomemagicstarttohappeninthe
renderer'ssshsession:
Enlarge
Andourrenderstartstoshowtheevidenceoftwomachinesworkingatonce:
Enlarge/Thisiswhereashortnetworknamepaysoff.
Withmy10coreXeonaddedtothemix,wegetatotalof48bucketsonebucketperCPUthread:
Enlarge/Yep.Feelsprettygood.
Sowhatareourrendertimeslikewiththosethreemachineshackingawayatourframe?Well,here's
anexampleofthegainsyoucanget,evenjustfromthatthreemachinefarmwithMacPro8core
3.0GHzE5v2,10core3.0GHzXeonE5v2andi73930Kgamingrigoverclockedto4.4GHz:
Thislowerrenderscorecompletelysavedmyasstheotherdaywitha"needittoday"archviz
jobthathadmeworkingfor13hoursstraight.
Sinceguessingourworkloadbalancefromthosetextoverlaysisabitofastretch,VRayhasa
renderpass/elementcalledDRBucketthatisdesignedtodiagnoserenderbuckets(thosetiles)
withdistributedrendering.Withthataddedtoyourrenderelements,youcangetaveryclearpicture
ofhowmuchofyourrendereachmachineishandling:
Enlarge/ItalsohastheaddedbonusthatitlookslikeaZeldamap.TheislandinthemiddleistheMacProhost
workingwhiletheothersreceivethetexturedataandstarttheirwork.
Ifthecoloredbucketcountisnotproportionaltothemaster/slavescomputingpower,thenyouhave
aproblemtofix,likeanetworkbottlenecksomewhere.IfyouwereusingaWiFiconnectionforthe
muscle,youdprobablyseeadisproportionateamountofthemastermachine'stiles,forexample.
Mixing platforms with rendering?
Atthispoint,youreprobablywonderingifIvecourteddisasterbymixingaMacOSXhost,aLinux
renderer,andaWindowsrenderertorendermyimage.Restassured,everytilelooksthesame
whenIrender,regardlessofplatform:
Thereisnoperceptibledifferencebetweenbucketsrenderedondifferentplatforms.
ButsinceVRay3.0splatformagnosticbackendisverymuchanidealscenario,welllookat
solutionsformixednetworkrenderingwherewedonthavetheluxuryofthesoftwarehandlingthe
assettransferportion.Beforewemoveon,Iwanttoaddressonemoreproblemthatslingering.We
currentlyhaveourLinuxrendererrunninginanopensshsession,but,becausethatprocesswilldie
assoonastheterminalwindowisclosed,wehaveaproblem.Soweregoingtotacklethisthe
intelligentnetworkadminwaybyusingourscreenprogramthatwe'veinstalled.Screenisdesigned
tofixthisexactproblembycreatingavirtualshellthatyourunanotherprocesswithin.So,killyour
vrayslaveprocesswithcontrolcandtypescreenandhitenter.Thenlaunchitagain
(/usr/ChaosGroup/VRay/Maya2014x64/bin/vrayslave).Now,andthisisthegoodpart,hitcontrola
toaddressscreenandhitthedkey.Youshouldseethismessage:
Screenhasdetachedthevirtualsessionsothatitnolongerdieswhenthesshsessionorwindowis
closed.Closethewindowandrunyourdistributednetworkanditwillwork.Toreconnecttothe
rendererprocessinscreen,justtypescreenranditwillcomebackupasbeforebutwithnew
messages,asitneverstoppedworkinginthebackground.Thiswouldseemlikealotofworktosolve
aproblemthatcouldhavebeensolvedjustbyrebootingthemusclemachinesotherenderservice
wouldstart,butrenderslaveservicescancrash,soyouneedtousethisscreenmethodtorelaunch
themremotely.Screenalsocomesinhandytostartaremotecommandlinerenderstartarender
jobandsshsessiononyourphonewhilesunningitupatthepark,forexample.WhiletheUnix
commandlinestuffcanbeintimidatingatfirst,youquicklylearntolovethepowerandflexibility.
PAGE: 1 2 3 4 5 6 NEXT
READER COMMENTS 62
OLDER STORY
NEWER STORY
SITE LINKS
MORE READING
AboutUs
RSSFeeds
Advertisewithus
Newsletters
Wired
ContactUs
Reprints
VanityFair
VisitArsTechnicaUK
Style
Details
SUBSCRIPTIONS
SubscribetoArs
Visitoursistersites
Subscribetoamagazine
2015CondNast.Allrightsreserved
UseofthisSiteconstitutesacceptanceofourUserAgreement(effective1/2/14)andPrivacyPolicy(effective1/2/14),andArsTechnicaAddendum(effective5/17/2012)
YourCaliforniaPrivacyRights
Thematerialonthissitemaynotbereproduced,distributed,transmitted,cachedorotherwiseused,exceptwiththepriorwrittenpermissionofCondNast.
AdChoices