I've run into a problem when using a remote system with opendx. Everything
works
ok if I run opendx locally (ie. DISPLAY=:0.0 ) but when run remotely on another
system ( linux / sgi / sun ), with the display set to my machine OpenDx causes
the Xserver (Xsun) to crash when exiting. Everything works fine until the UI is
closed. Any ideas why this happens would be appreciated.
The problem seems to lie in dxexec - when the UI closes the exec tries to end
the GL API for windows that the UI has already deleted.
If the UI is manually disconnected from the server first then there are no
problems. Also, if the UI is closed before any OpenGL rendering is done there
are no problems.
On a linux machine remote rendering (to it from another computer) works fine so
this may be a Sun OpenGL bug.
A temporary and not very pleasant solution has been to add the lines:
Bool B_result ;
B_result = glXMakeCurrent (DPY, XWINID, OGLCTX);
if(!B_result) exit(0);
/* remove GLX context from list of existing contexts */
to hwPortOGL.c (631-).
If this is not done Xsun bombs at the next GL call (glIsList(fontListBase) in
remGLXContext(..) - hwPortOGL.c )
For reference:
I'm using opendx 4.4.0 form the tar.gz archive.
uname -a
SunOS ekman 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-1000
John Stark
------------------------------------------
John Stark
Applications Programmer
Southampton Oceanography Centre
Tel. +44 (0)23 8059 6571
e-mail [EMAIL PROTECTED]
------------------------------------------