Troubleshooting Softimage on Linux


On Windows, I use Process Monitor, Process Explorer, and Dependency Walker.

On Linux, the primary troubleshooting tool is strace. strace is a tool that traces all the system calls that a running process makes. When a program is experiencing problems associated with I/O, strace can often help in quickly isolating the problem, since (almost) all I/O happens through system calls.

Here’s the basic syntax:

strace -o /tmp/out -f XSI 

-o writes the output to a log file
-f tells strace to follow forks, and trace all child processes
-p can be used to attach to an already running process

As well as system calls, strace also tracks signals that were thrown in the process. If a process is crashing due to a segmentation fault, it is worth investigating what was happening before the fault occurred; you can find where the fault occurred by searching for — SIGSEGV in the strace output.

strace output has been added as an XSI history log client under Linux. If you search the output of strace for the string write(-1, you should see all the scripting commands as they are executed. This is useful for associating system calls with the commands that caused them to execute.

There’s also ltrace ltrace is a tool that traces all the calls to shared library functions. It can be extremely useful with XSI because almost all of the XSI code lies in shared libraries. Note that calls from a given library to itself are generally not traced because the call is address-relative. Some useful options to ltrace are:

-C: remove leading underscores from C-linkage symbols and demangle C++-linkage symbols
-o and -f: same as for strace

20 Linux System Monitoring Tools Every SysAdmin Should Know

Mouse’s XGen to Autodesk


Walt Disney Animation Studios has licensed its XGen visual effects and animation software, used for Rapunzel’s hair in “Tangled” as well as fur, feathers and foliage, to software giant Autodesk.

Under the exclusive five-year license, Autodesk will turn XGen into commercial software available to animation and vfx professionals and to students. Announcement came at the Siggraph computer graphics conference.

via Mouse’s XGen to Autodesk – Entertainment News, Siggraph, Media – Variety.

Server is unreachable. Marked as invalid for the next 300 seconds


By default, any network drive that times out is “marked as invalid” for 5 minutes (300 seconds), and you’ll see a message like this in the script log:

# INFO : 4000 - Server '\\server' is unreachable. Marked as invalid for the next 300 seconds

The timeout interval is controlled by the environment variable SI_FILEPATH_ACCESSRETRYDELAY.

Setting SI_FILEPATH_ACCESSRETRYDELAY to 0 will force Softimage to always try to access the files on the network drive. That might be useful if your network has extremely poor reliability.

From an XSI mailing list thread about this message, here’s a bit more info about how Softimage resolves paths:

XSI first checks the last path that an image has been found. This
might be offline drive X:. If a drive times out, we don’t try to
check that location for a while because otherwise it’d be really slow.
At this point, XSI resort to searching for the file from the user
path, using its search logic.
So that warning isn’t a problem – unless your “user path” was really
set to X:, in which case, go fix the path in the external file list.
The path where XSI finds the image is called the “resolved path”.

–Luc-Eric

runonce.bat to the rescue yet again


Another couple of cases for runonce.bat!

  • First, there was the case of the messed up Render Manager.
    The Render Manager was slow to display and doesn’t show the properties in the right-hand panel.
    The customer originally had this problem in 2011, and then is started happening in 2012 too.
  • Second, the case of the Softimage 2012 that hung at startup, even after several reinstalls.
    The installer does run runonce.bat, so it’s a bit surprising that a reinstall didn’t fix the problem.

Softimage 2012 SAP Features


Update: See Planet Softimage for more details and vidoes.

Features:

  • Modeling tools—Enjoy new options for thickness, hole capping, edge cutting, and extrusion, together with a new Add Smooth Edge Loop tool.
  • Selection tools—Create different component selections faster and more easily.
  • Bullet Physics—Take advantage of enhanced collision detection in ICE (Interactive Creative Environment) and rigid body simulations with newly integrated Bullet Physics.
  • Animation & scene management—Enjoy improved overall productivity with a number of enhancements that increase efficiency throughout the pipeline.
  • ICE enhancements—Now customize production and pipelines more easily with the ability to attach and run script code inside ICE Compound Property Pages.

 

via Autodesk – Subscription Advantage Pack for Autodesk Softimage 2012.