mclausch

Hi,

I'm trying to get SOuP working on Linux with Maya 2016.

I have a fresh installation of CentOS 6.5 (the only Linux distribution officially qualified by Autodesk) and a fresh installation of Maya 2016. I downloaded SOuP_2015_06_08 and installed it. Unfortunately when I load the plug-in I get this error:

// Error: file: <snip>/maya2016/scripts/others/pluginWin.mel line 781: Unable to dynamically load : <snip>/SOuP_2015_05_15/plug-ins/linux_maya2016_gcc451/SOuP.so
dlopen: cannot load any more object with static TLS //
// Error: file: <snip>/maya2016/scripts/others/pluginWin.mel line 781: dlopen: cannot load any more object with static TLS (SOuP) //

I also saw this error when moving my own, unrelated, plug-in from Maya 2015 to Maya 2016. I needed to exclude the use of OpenMP due to the change in gcc version used by Maya (4.1.2 -> 4.8.2).

Any ideas? Anyone else get SOuP working on Linux with Maya 2016?

Thanks,
Matt

mclausch
Bump...anyone?
Reply 0 0
pshipkov
I have seen this before and notified developers. the answer was to try newer version of gcc but this will take a moment.
The problem is caused by the order of loading plugins.
If you losd first mrformaya and/or bifrost before loading soup you will get this error.
Extremelly annoying.
Reply 0 0
mclausch
Hi Peter, thanks for the reply!

I tried loading SOuP before any other plug-in in our environment and it worked. So that's a good workaround for now.

Let me know if you need help testing any new builds, I'd be happy to try.
Reply 0 0
samsam
Just tried SOuP_2015_08_16 in maya 2016 linux centos and I'm getting those error messages. Unloading bifrost still produced the error.

Peter any ideas?
Reply 0 0
mclausch
samsam: You need to restart Maya with no plug-ins autoloading. Load SOuP first, then load whatever else you need.

Peter: Do you have any updates on this? I notice the latest release is still compiled with the old compiler on Linux. The workaround works, but is unsuitable for production use (animators can't be messing about with plug-in load order all the time). Did you get any more information from Autodesk?

Thanks,
Matt
Reply 0 0
pshipkov
I am still not ready to move to a new compiler.
Got Fedora20 installed but don't have enough time these days to setup the build environment.
Will try to get it in place as soon as possible.
Thank you for your patience.
Reply 0 0
mclausch
Hey Peter,

Looks like the latest version of Maya 2016 (SP3/Ext1) fixes the problem with plug-in load order so your current release of SOuP loads fine without updating the compiler version. So we're unblocked for now.

It would definitely be a good idea to update to match Maya if you find the time. :)

Have a great day,
Matt
Reply 0 0
pshipkov
I switched from Maya2016 beta libs to the publicly available ones and that seem to fixed it.
Reply 0 0
Dunmola1985
Installed latest SOuP on Linux Centos 6.5 with Maya 2016 Ext4 still produces:
// Error: line 1: Unable to dynamically load : /maya/modules/maya2016-x64/SOuP/plug-ins/SOuP.so
dlopen: cannot load any more object with static TLS //
// Error: line 1: dlopen: cannot load any more object with static TLS (SOuP) //

If the mayatomr module is set to not autoload then SOuP will load.

In reading up on TLS errors, Looks like the SOuP modules needs to be recompiled not to use static
slots.

Thanks,
-A


Reply 0 0
pshipkov
This started with Maya2016 on Linux. Windows and OSX are fine.
The same SOuP code/plugins work just fine in previous versions of Maya.
Something changed in the Maya 2016 API / MR / Bifrost and is causing trouble. Very annoying.
Talked to developers - they suggested to try intel's compiler because they do not officially support gomp. Tried that (and many other things) - same result.

If you know a cure - please let me know.
Reply 0 0
pshipkov
Also, if i load other big plugins like xgen, third party renders, etc - i don't see the problem.
So far it is only Bifrost and MentalRayForMaya.
But Maya devs don't quite care about our SOuP issues so there is little i can do really. ;)
Reply 0 0
Reply