Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Installation - Hardware - OS / Maya Always Freezing on Linux for 50 users plus - Brutal Slowdown
  RSS 2.0 ATOM  

Maya Always Freezing on Linux for 50 users plus - Brutal Slowdown
Rate this thread
 
39743
 
Permlink of this thread  
avatar
  • chaneyX
  • Posted: 13 February 2010 11:33 AM
  • Total Posts: 27
  • Joined: 15 October 2006 08:07 PM

Hello ,

We are using Maya2008 SP2 x64 on CentOs with Xfce window manager .

We are having many problems including :

1. Middle Mouse in Hypershade freezing artist’s boxes 5 to 10 times a day
2. Playblasts crashing Maya everytime they are done .
3. Hardware Render Buffer being pathetically slow on good cards 5800 Nvidias
4. Tear off panels , not tearing off but getting stuck in the upper left corner .

Here are the typical errors that occur

X Error of failed request: BadDevice, invalid or uninitialized input device
Major opcode of failed request: 146 (XInputExtension)
Minor opcode of failed request: 3 (X_OpenDevice)
Serial number of failed request: 615980
Current serial number in output stream: 615980

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 6831303
Current serial number in output stream: 6831305

X Error of failed request: GLXBadDrawable
Major opcode of failed request: 142 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 750416
Current serial number in output stream: 750417

(npviewer.bin:22622): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)’ failed
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x126e618
Serial number of failed request: 466891
Current serial number in output stream: 466891

Please Help ! Thank You



Replies: 0
avatar
  • THNKR
  • Posted: 13 February 2010 01:21 PM

Which version of CentOS?



Replies: 0
avatar
  • chaneyX
  • Posted: 13 February 2010 02:21 PM

uname -a
Linux hiroc 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep centos-release
centos-release-notes-5.3-3
centos-release-5-3.el5.centos.1

rpm -qa | grep centos
specspo-13-1.el5.centos
pirut-1.3.28-13.el5.centos
filesystem-2.4.0-2.el5.centos
initscripts-8.45.25-1.el5.centos
firstboot-1.4.27.7-1.el5.centos
libxfce4util-4.4.2-1.el5.centos
mousepad-0.2.13-1.el5.centos
xfce4-session-4.4.2-1.el5.centos
xfsprogs-2.9.4-1.el5.centos
xdg-utils-1.0.2-2.el5.centos
comps-extras-11.1-1.1.el5.centos
tftp-server-0.42-3.1.el5.centos
redhat-lsb-3.1-12.3.EL.el5.centos
gnome-desktop-2.16.0-1.el5.centos.1
centos-release-notes-5.3-3
kudzu-devel-1.2.57.1.21-1.el5.centos
kudzu-1.2.57.1.21-1.el5.centos
yum-fastestmirror-1.1.16-13.el5.centos
xfwm4-4.4.2-1.el5.centos
fortune-mod-1.99.1-7.el5.centos
pango-1.14.9-5.el5.centos
procmail-3.22-17.1.el5.centos
anacron-2.3-45.el5.centos
xorg-x11-proto-devel-7.1-9.el5.centos
libxfce4mcs-4.4.2-1.el5.centos
xfce4-icon-theme-4.4.2-1.el5.centos
Thunar-0.9.0-2.el5.centos
xfce-utils-4.4.2-1.el5.centos
httpd-2.2.3-22.el5.centos.1
firefox-3.0.12-1.el5.centos
xfce4-sensors-plugin-0.10.99.2-3.el5.centos
gnome-desktop-2.16.0-1.el5.centos.1
system-config-date-1.8.12-3.el5.centos.2
nss-3.12.2.0-4.el5.centos
redhat-logos-4.9.99-11.el5.centos
nss-tools-3.12.2.0-4.el5.centos
gdm-2.16.0-47.el5.centos
pm-utils-0.99.3-10.el5.centos
yum-3.2.19-18.el5.centos
basesystem-8.0-5.1.1.el5.centos
xfce-mcs-manager-4.4.2-1.el5.centos
Terminal-0.2.8-2.el5.centos
xfdesktop-4.4.2-1.el5.centos
xfce-mcs-plugins-4.4.2-1.el5.centos
crash-4.0-7.2.3.el5.centos.1
ntp-4.2.2p1-9.el5.centos.2
xfsdump-2.2.46-1.el5.centos
nss-devel-3.12.2.0-4.el5.centos
kudzu-devel-1.2.57.1.21-1.el5.centos
redhat-lsb-3.1-12.3.EL.el5.centos
nss-3.12.2.0-4.el5.centos
redhat-artwork-5.1.0-28.el5.centos
centos-release-5-3.el5.centos.1
desktop-backgrounds-basic-2.0-41.el5.centos
firstboot-tui-1.4.27.7-1.el5.centos
exo-0.3.4-1.el5.centos
recode-3.6-22.el5.centos
pango-1.14.9-5.el5.centos
hddtemp-0.3-0.14.beta15.el5.centos
gzip-1.3.5-10.el5.centos
setuptool-1.19.2-1.el5.centos
rhgb-0.16.4-8.el5.centos.3
libxfcegui4-4.4.2-1.el5.centos
xfce4-panel-4.4.2-1.el5.centos
dmapi-2.2.8-1.el5.centos



Replies: 0
avatar
  • warnold
  • Posted: 14 February 2010 03:58 PM

You should probably read this post:

http://area.autodesk.com/for...-red-hat-enterpise-linux/

with the latest Maya 2008 SP1 patch releases there are some environment variables that should help with the stability of Maya on Linux

As well RHEL5 has the X Composite extension enabled by default

If you are using hardware overlays - xorg.conf option CIOverlay “On” then you need to disable the extension

Section “Extensions”
Option “Composite” “Disable”
EndSection



Replies: 1
/img/forum/dark/default_avatar.png

Thank You ,

The above post was not the silver bullet . We have X Composite extensions off and CIOverlays On .
Contrary to the advice of the post , turning CIOverlays Off seems to improve the situation while we still have X Composite extensions off . Should I try X Composite extensions on ? I do not know what that does .

The advice to set MAYA_SET_XERROR 1 also seems to improve things a little bit . I would love to understand that setting more .

Here are some things that definitely helped :
* Remove Wacom section from xorg.conf , fixed all users with this error Major opcode of failed request: 146 (XInputExtension)
* Cl Overlays Off - Seemed to really minimize the problem for most users , even though X Composite extension is disabled
* KDE instead of xfce - fixed our lesser problem with tear off windows getting stuck on upper left corner .

Thanks Again for your help . I am taking a lot of stabs in the dark right now ,
Chris

Author: chaneyX

Replied: 15 February 2010 08:24 AM  
avatar
  • warnold
  • Posted: 16 February 2010 04:30 PM

The above suggestion was for point #1

MAYA_SET_XERROR - Maya has an X error handler that handles most of the known X errors that are not fatal, setInputFocus when not visible, ...

For some reason, the Maya X error handler gets reset to the X default handler which exits on most errors.  this environment variable forces the Maya X error handler to be re-instated on mouse click.

Depending on which version of Maya you are running, not all of the listed environment variables are active.  the last 2 are the most recent to be added to work around problems of X deadlocks between, Maya, X, and Nvidia driver on expose events - everyone wants to Lock X - thus the suggestion to talk to Support and get the latest patched release of Maya

Maya 2008 does not use/take advantage of X Composite option, it just takes away from the video memory on the card.  As well Maya 2008 doesn’t understand the new visuals, you may have display issues, unless you use the XLIB_SKIP_ARGB_VISUALS variable.  For Maya 2009, this variable was added to in the maya shell script used to launch Maya

If you set environment variable MAYA_DEBUG_ENABLE_CRASH_REPORTING=1 in your Maya.env file, for the playblast crashes would be nice to know what the stack trace is.  On the help page there is an entry for reporting bugs.  Workflow and possible scene files always makes things easier to reproduce.



Replies: 0
avatar
  • chaneyX
  • Posted: 18 February 2010 11:39 AM

Thanks for the explanation . It helps .

We are still dealing with this problem . It is a lot better but not fixed .

Seems like it is related to our OS . Our previous OS does not exhibit the same problems .

Unfortunately , reverting or trying a new OS is not an option .

Thanks Again



Replies: 0
avatar
  • warnold
  • Posted: 18 February 2010 02:23 PM

which problem(s) is/are still happening ?

a freeze ?  if so you can use gdb to attach to the maya.bin process and get a stack trace of what maya is doing it would help

if X is frozen, then ssh in from a different machine

go to the maya bin directory

cd /usr/autodesk/maya2010-x64/bin

assuming you have the process id (Pid) of maya.bin

gdb maya.bin Pid

gdb will load the libraries, and then return control, use the gdb bt command to get the backtrace.

there have been some reports of hangs in _XReply which recompiling libX11.so.6 without xcb support has fixed for some people.



Replies: 0