question

Joachim Knedel avatar image
Joachim Knedel asked ·

Texturesys error MtoA

Hi, just got a new workstation with Windows 10 on it (all the others PC's here still run Windows7). Fresh install of Maya 2019 and MtoA 3.1.2 (can't install the very latest as we are in the middle of a production).

While rendering on that new workstation I came accross [texturesys] errors which we never had before. Batch render jobs on that PC randomly stopping on random frames with random [texturesys] error messages.

Example would be [texturesys] Read error at row 384, col 512, tile 31; got 0 bytes, expected 88

File was modified after being opened by OIIO (filename = " ......sourceimages/Vandecal02_maintaining3.tx").

The thing is - it could be any of the texture files. Either in standIns, or texture nodes in any Arnold Standard Surface shader. And, the PC is rendering a few frames fine, and then stops randomly with [texturesys] error messages. It seams it is always a ".tx" file, but it could be this texture node or another.

All other Render PC's here running Windows 7 are rendering fine - the same file, same frame range, no errors.

I switched off "Auto-convert Textures to TX" in Render Settings, I reconnected the original jpg-files instead of the .tx-nodes, but doing this for all StandIns too would be a real pain.

Any idea?

rendertx
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

Other pcs are rendering with the same file? Sounds like they are updating the tx file while it is being read

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Joachim Knedel avatar image
Joachim Knedel answered ·

Hi Stephen,

good thinking but looking at the created and modified dates in Windows explorer it looks like this is not the case as these date back as far as January this year and the most recent tx-file is from the beginning of April. And only the new PC running Windows 10 has got the problem with [texturesys].

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

If this is the actual message:

File was modified after being opened by OIIO (filename = " ......sourceimages/Vandecal02_maintaining3.tx").

then I think some other machine is updating the tx file.

Updating a tx file doesn't change the modified date..

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Joachim Knedel avatar image
Joachim Knedel answered ·

The below is a typical error message (I abbreviated the file path up the texture file)

00:05:39 1486MB ERROR | [texturesys] Read error at row 832, col 320, tile 109; got 0 bytes, expected 10138
File was modified after being opened by OIIO (filename = "..../Subtle-Grunge-Texture-10.tx")
00:05:39 1428MB WARNING | render terminating early: received abort signal

If the other machines are updating the tx-files, why would only the Windows10 PC have a problem with it? And is there a way of stopping the other machines updating the tx-files if at all possible?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

You have to disable the Auto-tx conversion in the scene, so that whenever someone works with the scene, it doesn't trigger a tx conversion.

If it's not another user or process, then I would suspect some sort of network issue.

I'm not an expert on file servers...maybe it's something about caching? Or something else that changed in Windows 10...

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Thiago Ize avatar image
Thiago Ize answered ·

As Stephen said, it sounds like the .tx files are being regenerated. We only print that error if the file's timestamp changes during a render. Since you saw the jpg timestamp is old, that likely rules out someone modifying the underlying jpg. Since you don't see a change, I think could mean that while the jpg is not modified, the .tx is regenerated due to being passed different settings, and between the time that someone else's Arnold saved the new .tx file and reset its timestamp to match the jpg, your machine read the new file with its not yet reset timestamp.

So things to look for: Is someone rendering with a different version of Arnold (different versions can cause a .tx file to be regenerated)? Is someone changing the .tx file settings causing the file to be regenerated when they render?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Thiago Ize avatar image
Thiago Ize answered ·

By the way, if you have a tool to look at the .tx file's headers (.tx file is just a tiff or exr), you can see what settings were used to generate it. For instance we can see that the following .tx file was built with OIIO 1.7.16 with the following options:

Software: "OpenImageIO 1.7.16 : /usr/local/opt/openimageio/bin/maketx -v --oiio --filter blackman-harris --wrap periodic alumNoise_v056_NRM.tx -o alumNoise_v056_NRM.tx"

That might help you identify if a different version of Arnold is being used or if some setting is different from what the other machines use.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Joachim Knedel avatar image
Joachim Knedel answered ·

I have just double checked the Arnold versions and they are all the same (MtoA 3.1.2, Arnold Core 5.2.2.0).

The texture files were not changed. Auto-generate TX Textures in Attribute editor is off, Auto-convert Textures to TX in Render Settings is off. Don't have a tool to look at the file's header I'm afraid.

We had our IT support already looking into possible network issues as Stephen suggested but all looks fine as far as they can see. Our server runs Windows Small Business Server 2011 - any known problems with Arnold and that OS?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

Not that I know of. I would copy the textures locally, or create special test copy on the server, and then do some test renders with those.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Thiago Ize avatar image
Thiago Ize answered ·

How about setting the permissions of the jpg/tx files to be read-only (make sure those permissions are followed by all users/computers on the network). Not only should this hopefully fix your errors, but if something tries to modify them, you'll hopefully get a warning alerting you to what the culprit is.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.