The case of the Softimage startup freeze and the Wacom driver


Click to watch videoTroubleshooting a startup crash with Process Monitor
A customer called to report that his Softimage crashed/froze at startup when it tried to display the OpenGL viewports. This is the classic symptom of a display driver problem, and the hide-the-OpenGL-viewports test seemed to confirm this. But reinstalling the display driver didn’t help (Softimage was working just the other day, so the same driver should work).

Using Process Monitor, I was quickly able to track down the problem to the Wacom driver. After he reinstalled the Wacom driver and restarted, Softimage started up again. Watch the video to see how to quickly find a possible problem in a 200MB log file with 845,000 log entries 😉

Possible memory leak with ATI display driver


On the Area forums, a customer reported that Softimage memory usage would keep increasing until the software either froze or crashed. All he had to do was keep moving points. This happened both on Windows 7 and Vista.

Eventually he resolved the problem by rolling back to an older version (June 09) of the display driver for his [uncertified] ATi Radeon HD 4870 card.

Ref: XSI crashing / freezing within Windows 7 x64

Fixing weird problems and odd behavior by resetting your preferences


Whenever you start having strange problems in Softimage, it’s a good idea to try resetting your User preferences. You can do this by renaming the default.xsipref preference file in %XSI_USERHOME%\Data\Preferences (for example, to default.xsipref.backup). The restart Softimage; that will recreate a factory-default default.xsipref file.

Tip If resetting the preferences doesn’t fix the problem, then try renaming your User folder (for example, to C:\users\blairs\Softimage_2010.backup). That will force Softimage to recreate the whole User folder. Sometimes the problem is not the preferences, but some other file or setting in the User folder.

So why does resetting the preferences fix strange problems? Usually we just assume there was a bad preference setting, or a bad combination of settings. But I’m not so sure.

The other day a customer called with a problem: he couldn’t see his blendweight fcurve in the Animation Editor. I Webex’d to his machine to check it out, but I couldn’t get it to work either: right-click the animation icon and click Animation Editor, but there’d be no fcurve. I could repro on my own machine, but my colleague Manny couldn’t repro on his. So I renamed my default.xsipref, restarted Softimage, and then I could see the blendweight fcurve. This worked for the customer too.

Later, I compared the factory-default default.xsipref with my backed-up version, and tried to reproduce the problem by hand-editing my new default.xsipref. But I couldn’t. Eventually I put back my original default.xsipref (the one I had when I could repro the problem), but even then I could not reproduce the problem.

So. Resetting the preferences fixed the odd behavior, but putting back the “corrupted” preferences file didn’t bring the odd behavior back. It seems like it is not the content of xsipref file itself, but the act of forcing Softimage back to the factory-defaults that resolves the problem.

Recent Webex cases…


Last week I used Webex to resolve a number of licensing/startup cases. I find Webex a handly tool, because I don’t have to get my information second hand 😉 I can see it with my own eyes.

License Manager won’t start
This was on Windows 7. The folder C:\Program Files\Autodesk Network License Manager folder was read-only, so LMTOOLS could not write the log file. Unfortunately, the license server won’t start if the log is not writeable. The strange thing was that the customer had been able to save the .lic file in the folder, and LMTOOLS had written to the log file before. But now the folder was read-only, so somehow the permissions changed.

Ping general failure
Everything seemed set up properly, until I tried to ping the local machine and got “General Failure”. Not good. We could ping the outside world, but not the local machine. I tried resetting winsock and the TCP/IP stack, booting in Safe Mode, Safe Mode with Networking, to no avail.

Unable To Locate Component
At startup, XSI.exe reported “This application has failed to start because adlmint.dll was not found”. Sure enough, adlmint.dll was missing from Application\bin. This was a bit surprising, because all required files should be installed no matter what licensing method you choose during Setup. So I had to reinstall Softimage for the customer.

The preset(s) could not be applied to this selection


After reinstalling his OS and Softimage, a user could no longer apply textures with Texture > Image. He kept getting “The preset(s) could not be applied to this selection”.

The solution: rename the User folder, which forces Softimage to use the factory-default preferences.

See the Softimage KB for more info:

  • TS14104789 Resetting user preferences and customizations

License troubleshooting


Here are two videos that go over the fundamentals of license troubleshooting. Whenever I WebEx to a customer’s computer, I go through the steps shown in these vidoes. In almost all cases, this is enough for me to resolve the problems.

Troubleshooting 101: The License Server
http://usa.autodesk.com/getdoc/id=TS13737415

Troubleshooting 101: Softimage cannot find the license server:
http://usa.autodesk.com/getdoc/id=TS13780212
Note – this second video was done for 7.5. For 2010, ADSKFLEX_LICENSE_FILE should point to your license server, not to Autodesk.lic.

The case of the missing VBScript


Softimage (formerly known as XSI) depends on VBScript. If there is a problem with VBScript on your system, Softimage just won’t start. Typically, you won’t see anything when you try to start XSI.exe, or you may see the splash screen just before XSI crashes. I see a couple of these cases each year.

Here’s a quick way to check whether VBScript is working on your system:

  1. Click Start > All Programs > Softimage Products > SOFTIMAGE XSI 7.01 > Command Prompt.
  2. In the command prompt, run this command notepad hello.vbs.
  3. Click Yes to create the file.
  4. In Notepad, type this: LogMessage “hello”
  5. Click File > Save.
  6. In the command prompt, run this command: xsi -script hello.vbs
  7. If VBScript is not registered properly on your system, you’ll get the error

    ‘ FATAL : The VBScript engine is not installed. This application requires VBScript to run.

To resolve the problem, use these steps:

  • Click Start, Run and type regsvr32 %systemroot%\system32\vbscript.dll
  • If the registration was successful, you should now see the following message: DllRegisterServer in vbscript.dll succeeded.

If the above does not help, of if you receive an error message when registering vbscript.dll, then try installing Windows Script 5.6.

Another way to test VBScript, is to create a .vbs file with this code:

WScript.Echo "Hello World"

and then run it from the command-line:

cscript hello.vbs

If you get the Can’t find script engine “VBScript” for script error, then run regsvr32 %systemroot%\system32\vbscript.dll.