-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run a GUI version of Maya ? #4
Comments
The way I run container with GUI is It's based on this blog post: https://blog.jessfraz.com/post/docker-containers-on-the-desktop/ |
Hey @tupipa, honestly I'm not sure as I've never tried this with Maya. Have you tried something simpler, like Also see this discussion: https://groups.google.com/forum/#!topic/docker-user/7w97EtTzZLU |
Hey guys! If it's helpful, I've been able to get maya-GUI to run within a docker container by installing the same family of video-drivers within the container as on the host-system (but I have not tested mayagui extensively, and I have only tested it using the mesa drivers) This link was very helpful for me: http://gernotklingler.com/blog/howto-get-hardware-accelerated-opengl-support-docker/ host-systemos: Archlinux
video-driver-packages:
- mesa
- lib32-mesa containeros: Centos7.2 (latest officially supported by maya2017)
video-driver-packages:
- mesa-libGLU
- mesa-dri-drivers You'll also want to install an X-server within the container. I might maya dependencies:
- libXp
- libtiff
- compat-libtiff3
- libpng12
- gamin
- libXcomposite
- libXinerama
- libXrandr
- libxslt
- pulseaudio-libs
- redhat-lsb
- xorg-x11-fonts-ISO8859-1-100dpi
- xorg-x11-fonts-ISO8859-1-75dpi
- xorg-x11-fonts-75dpi
- xorg-x11-fonts-100dpi
X11 dependencies:
- xorg-x11-server-Xorg
- xorg-x11-xauth
test your Xorg:
- xeyes
- glxgears Docker Build Commanddocker run \
--hostname dockermaya \
\
`# X11 sharing` \
-v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0:rw \
-e DISPLAY=unix$DISPLAY \
--device=/dev/dri:/dev/dri \
\
`# maya-environment (thanks mottoso!!)` \
-e MAYA_DISABLE_CIP=1 \
-ti |
Spent some more time playing around with nvidia binary drivers trying to get it to run but could not. Read the linked post more closely and Jess Frazelle mentioned that if using nvidia drivers, the version of the drivers must be the same on both the host and in the container.. which means likely running an older kernel, older drivers, older everything. Might as well be running a centos host... I'm sorry, I was excited, but outside of intel integrated gpus, I was not very helpful in the end. |
Thanks @willjp, this was the conclusion I came to as well. Being on and supporting mostly Windows clients, it's a little prohibitive for me. :( |
Sorry to re-raise this issue. Has anyone heard if this has improved in the recent years? I couldn't find new info on the topic. |
Not as of yet, however there appears to be light at end of the tunnel! At the very least, this would enable running of remote-desktop software from within the container for working with e.g. Maya and any GPU-based application. Since it's local, there would be virtually no delay and no bandwidth limit compared to an actual remote desktop between your home and e.g. office. Best case however you'd be able to run any windows x server like VcXsrv and stream both widgets and graphics to a local window for a near-native experience. Once that's possible, I would ditch nearly all locally installed software in favour of having them in Docker containers. Imagine the ease of having all software in a container each, versioned and immediately available either publicly from Docker Hub or privately from your own container registry. Gamechanger. |
A few clicks into that link, is a section on running GUI apps from a container under WSL 2. :) |
@tupipa Was wondering if you have managed to get it running? I'm observing in my setup when launching maya, the Authentication windows doesn't come up and times out preventing me to continue. |
If you're attempting standalone licensing that prompts for an Autodesk login to get a license from the internet, there's a whole convoluted dance of commands involving .rpms from Autodesk, a .pit file and a version-specific "product key" to enable this mode on Linux (and it's only possible since Maya 2020+ FYI.) See the explainer in this old forum post how I got it working with maya2020: |
Hi, I try to run Maya with GUI inside container.
I build the container and install maya with the .tgz ball downloaded from the official autodesk website.
Here is the Dockerfile and the way I run the containers: https://gist.github.com/tupipa/6c1443b043c090e75a766b6b114cf9ff
The setup GUI running inside Docker container showed installation was sucessful. But when I run maya, just nothing happens.
Could you help to find out what is missing in my settings?
Thanks
The text was updated successfully, but these errors were encountered: