Maya Linux Install 2017

From wikinotes

NOTE:

This time, I'm going to try to satisfy all dependencies myself in a VM so that it is reproducible.

For the record, the entire 2017 line of autodesk products was released in August 2016

apparently xf2016 works for 2017 as well

Official Install Sources

Official Install Sources
http://trial2.autodesk.com/NET17SWDLD/2017/MAYA/ESD/Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz Linux
http://trial2.autodesk.com/NET17SWDLD/2017/MAYA/ESD/Autodesk_Maya_2017_EN_JP_ZH_Mac_OSX.dmg OSX
http://trial2.autodesk.com/NET17SWDLD/2017/MAYA/DLM/Autodesk_Maya_2017_EN_JP_ZH_Win_64bit_dlm.sfx.exe Windows

Dependencies

Fonts

WARNING:

I have tried several approaches, but so far none of them have worked. This documentation is purely for the sake of saving informing future-me of failed trials.

Maya appears to need a font supplied by Xorg, and not the font renderer's fc-cache


pacaur -S ttf-ms-fonts
pacaur -S xorg-fonts-100dpi
pacaur -S xorg-fonts-75dpi

pacman -S ttf-liberation


try1

## 
## DO NOT DO THIS!   maya segfaults
##
cd /usr/autodesk/maya2017
find . -type f -exec sed -i 's/helvetica/dejavu sans/g' {} \;


try2

ephifonts contains a helvetica substitute, that is visible to font-renderer AND *Xorg server*

it is not however named appropriately for maya, so we'll need to create an alias for it.

sudo pacaur -S ephifonts
#### /usr/share/fonts/OTF/fonts.alias

-urw-pali helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 -*-helvetica-bold-r-normal--14-*-*-*-p-82-iso8859-1
-urw-pali helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 -*-helvetica-bold-r-normal-*-11-*-*-*-*-*-iso8859-1

try3

Install fontforge, to modify another font's font-family to be registered as helvetica.


WARNING:
unfinished

try4

/home/will/.config/fontconfig/fonts.conf


Troubleshooting

Maya2017 did run successfully, I separately did an installation both on a workstation and on my laptop. On arch current, I have started encountering issues, presumably to do with using newer versions of libraries.

NOTE:

Despite the GUI being unable to start, mayapy can be used

Crash on Startup

On archlinux (2017-09) maya now crashes on start. More information can be obtained by modifying the environment

sudo env MAYA_DISABLE_CIP=1 PYTHONPATH= /usr/autodesk/maya2017/bin/maya2017

>>>
root : ERROR : code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
root : ERROR : code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
root : ERROR : code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
root : ERROR : code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
root : ERROR : code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
root : ERROR : code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2017/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Initialized VP2.0 renderer {
  Version : 2016.3.18.11. Feature Level 5.
  Adapter : GeForce GTX TITAN/PCIe/SSE2
  Vendor ID: 4318. Device ID :
  Driver : 4.5.0 NVIDIA 384.59.
  API : OpenGL V.4.5.
  Max texture size : 16384 * 16384.
  Max tex coords : 32
  Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
  Shader compiler profile : (Best card profile)
  Active stereo support available : 0
  GPU Memory Limit : 6144 MB.
  CPU Memory Limit: 30532.8 MB.
/usr/autodesk/maya2017/bin/maya.bin: symbol lookup error: /usr/autodesk/maya2017/bin/../lib/libOGSDeviceOGL4-16.so: undefined symbol: EVP_CIPHER_CTX_init

Possible Solutions:

https://forums.autodesk.com/t5/maya-forum/render-crash-on-linux/m-p/5608552/highlight/true helped me get further into maya startup
https://forums.autodesk.com/t5/installation-licensing/can-t-run-maya-2017-on-debian-9/td-p/6908745 did not work for me (neither nvidia or hashlib fixes)