On Thu, 30 May 2002, Yannick Perret wrote:
> Hi.
>
> I have a linux debian (the last woody) with a geForce2 AGP (64Mo).
> I have the XF86-4 and I have installed the last nvidia drivers in order
> to obtain the better 3D acceleration.
>
> For my work, I have to make off-screen rendreding and I used
> to use osMesaCreateContext which generates a 'fake' context for GL,
> allowing rendering in user memory.
>
> I can't manage to make the lib OSMesa working with the nvidia drivers
> (missing some symbols in libGL.so)...
Sounds like OSMesa requires the Mesa libGL to work. You might
try rebuilding it to link against libMesaGL instead of libGL.
> I tried to bypass this problem using glx. I tried to make GL using
> a X11 pixmap for rendering (which is supposed to be possible as shown
> in the 'glxpixmap' demo), but X complains about a bad XPixmap id when
> switching to the pixmap context...
You have to make current on the GLXPixmap which was created
from the Pixmap rather than the Pixmap itself. Pixmap rendering
is indirect and unaccelerated even NVIDIA's implementation.
Ext-SGI engineers tell me it was in SGI's implementation too.
So I'd bet that Mesa was faster than Pixmap rendering.
>
> I suppose their is a way to make off-screen rendering using hardware
> acceleration...
NVIDIA's Linux drivers support the GLX_SGIX_pbuffer extension.
Pbuffers are offscreen videoram buffers and are accelerated.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert