All posts relating to Maxwell Render 1.x
By dylanp
#290852
We are trying to use the Maxwell "command-line" client (mxcl) via the Rush farm management software on OSX. The problem we have with mxcl is that it is not a true command line client - it needs access to the osx window server in order to open a graphical console window to output logging information instead of writing to stdout.

As Rush is configured to run jobs under a dedicated render user it is necessary for this user to be logged in and holding the default window session for Maxwell standalone renders to work. If another user is logged in, the render user is unable to gain access rights to the window server in order to open up the graphical console log - when this happens, we get the following error message in our rush logs:

_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

We are able to work around this on our dedicated osx render nodes by simply leaving the window session logged in under the dedicated render user account. We would like to also be able to render on some of our high-end osx workstations in the evenings however, and as these are usually left logged in under artist user accounts, the jobs end up failing due to the above error.

We do not seem to encounter the same problem when we use the Maxwell for Maya plugin in order to render, but we would prefer to be able to use the standalone Maxwell render client in order to free up memory which would otherwise be used by Maya - some of the scenes we are working on at the moment are very complex and require lots of RAM.

The other issue we have with this is that because the logs are written to a graphical console window (instead of being output to stdout) our render farm management software is unable to access the logging information, preventing us from being able to script automatic detection of various render errors, and responding accordingly.

I was wondering if anyone had any ideas on how we might be able to work around this?

Apparently this is a problem that others have encountered and reported to Next Limit in the past, without success - one member of the Rush mailing list advised me that he had contacted Next Limit about this issue over a year ago and that so far nothing has changed.
By QuakeMarine1
#290870
you can try to run a batchfile insteat of the mxcl.exe (donno if you can do so in rush) and run the render command "as user"
By dylanp
#290981
Hi QuakeMarine1

Sadly batch files doesn't run on OSX, however I see your point, we could investigate a bash file. Without trying though I would imagine that the remote user executing the bash script would also need to be logged in in order to gain access to the display and launch the log GUI.
By QuakeMarine1
#291085
I wish what you try to do whould be possible on Windows systems - remote user loggon if user logged off
maybe Mac can do it

take a look to smedge http://www.uberware.net/index.php
easy to use and cheap + Mac support

ask Robin the Smedge master if you whould get the same issue with smedge
By dylanp
#291129
Hi QuakeMarine1

We used to used Smedge a long time ago, but found it to be problematic for us. Since moving to Rush we have extensively customised and written many plug-ins to work with it so we are not in a position to move away from it.

However I am interested to know if Smedge is able to control Maxwell Render nodes on OSX?
By QuakeMarine1
#291141
I dont have Mac here but a I am sure it can

since smedge is in version2.4.2 tons bugs have been solved and many more updates are on the way
since I take care about Smedge the evolution makes big steps
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]