There is a problem with Open Inventor's use of overlay planes,
when an app links with a local build of Mesa but displays remotely.
Mesa does not support overlay planes, but the lib doing the real
rendering might. In this situation, while the window is being created,
Inventor queries for overlay plane support, and is told by the
GL lib on Solaris that overlay planes are supported. It proceeds
to ask for a visual with overlay planes from Mesa, which crashes.
We have a workaround for this which we would like to put in
the distribution. At the top of the method:
SoXtGLWidget::buildOverlayGLXWidget(XVisualInfo *vis)
we would like to add the line:
if (getenv("OIV_NO_OVERLAYS")) return;
which will force inventor to run without these planes, which
seems to work fine. This is the environment variable that TGS
uses in their distribution, maybe to work around the same kinds
of problems.
Dave Bremer
|