Apple Sillicon = "does not match the current architecture"

 
 
 
Posted by:adrian.cruceru
Data created:9 December 2023

Hey guys, I'm trying to load the latest stable version of Ornatrix in Maya (Ornatrix_Maya_2024_4_4.1.7.33458) but I keep getting this error:

Unable to dynamically load : /Users/Shared/Autodesk/modules/maya/2024/OrnatrixMaya2024/plug-ins/Ornatrix.bundle
// does not match the current architecture

I'm on a MacBook Pro M3 Pro Apple Sillicon, is this not supported yet? Can it run in Rosetta?

Thanks

Right, ARM is not supported yet.

Yes, it can run in Rosetta.

 

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Do I need to install it in a special way for Maya 2024?

Maya 2020, 2022, and 2023 can load the plugin, so my hunch here is that there's something missing when compiling the plugin.

I remember testing the plugin in Maya 2024 on an M2, it worked. I just had to set the Maya app to run in Rosetta mode (notice that Maya 2024 is the first one that has both x86_64 and ARM binaries and starts by default in ARM mode, older Mayas start by default in x86 mode).

I'll give it another try now.

 

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Confirmed, it works.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

This is on the latest Sonoma 14.1.2

Can you please show me how to make this work? I ran the pkg and installed the plugin then run the above in Maya, no luck :(
Maybe you're running a different compiler for MacOS?

Have you started Maya in Rosetta mode? The "does not match current architecture" error implies that you have just started Maya as it is, i.e. in ARM mode.

Otherwise, just the command

loadPlugin "Ornatrix"

should be enough (or using the Plug-in Manager dialog).

BTW, you may also use Discord, we reply faster there.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Thanks, that works. I'm hoping you could, in the future, add support for ARM so I don't have to force Maya into Rosetta.

It is on our roadmap (including Ornatrix for Cinema 4D which has an ARM build much before Maya), but requires extreme efforts so I cannot estimate when will it happen. I'd say the minimum is 3 months from now.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Did you test the OSX build on any Redshift version? The Windows version works just fine but on OSX I can't make it render any strands.
Thanks

According to https://www.maxon.net/en/requirements/redshift-requirements Redshift requires specific AMD cards on x86 Macs, we don't have any and can't test it.

It does work (render Ornatrix hair) on an M2, in Rosetta mode.

 

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Which Redshift version did you test against which Maya and Ornatrix build? I can render with Arnold in Maya 2020, 2022, 2023 and 2024 but Redshift does not render a single strand. The same exact scene renders fine on Windows. Besides running the pkj do I have to set some other env vars on OSX? AFAIK the pkj does everything for you and if I can load the plugin and modify the strands, it will render fine on Arnold it might be something on the Redshift side but I'm a bit puzzled. I'd like to try with the same version as you have.

Thanks

Sorry, I tested in Cinema 4D, not in Maya.

I see now that Redshift for Maya on Mac doesn't include the Ornatrix extension that is used to convert hair to RS. So it cannot render hair on Mac.

You may ask Maxon if they can build the Ornatrix extension for Mac.

 

OTOH, I admit I don't know how RS renders hair in Cinema 4D, there is no separate extension module for that... maybe RS developers have incorporated Ornatrix support within the renderer.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev