info-inventor-dev
[Top] [All Lists]

Re: Bug using OIV and Mesa on Linux, rendering back to Solaris

To: dbremer@xxxxxxxx (David Bremer)
Subject: Re: Bug using OIV and Mesa on Linux, rendering back to Solaris
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Fri, 14 Sep 2001 19:22:02 -0700 (PDT)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <3BA2ABAE.82E643C7@xxxxxxxx> from "David Bremer" at Sep 14, 2001 06:15:26 PM
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Fri Sep 14 18:15:26 2001, dbremer@xxxxxxxx wrote:
> 
> 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.

I think this is more of a problem with Mesa, and the GLX implementation that
came with it. If the remote display supports overlay planes, then the call to
glXChooseVisual() in SoXtGLWidget::buildOverlayGLXWidget() should not return
NULL.

If Mesa/GLX cannot handle overlay planes, glXChooseVisual() should return NULL
and the overlay widget will not be built. In any case, there shouldn't be any
crashes. If there is, that's a bug outside of libSoXt.

I've used the current libInventorXt.so built for Linux (and linked with Mesa)
to display on a PC (without overlay planes) and on a system running IRIX (with
overlay planes) without any problems.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

<Prev in Thread] Current Thread [Next in Thread>