[vtkusers] Linux: Nvidia + Mesa for offscreen
Berk Geveci
berk.geveci at kitware.com
Fri May 24 11:38:15 EDT 2002
VTK_MANGLE_MESA is the only way to go. It allows you to
link both Mesa (with the GL function names mangled to
prevent collisions) and another GL library. You can not
use the Mesa which comes with Debian anyway. You will have
to download the source code of Mesa and compile it with
a special option to enable name mangling. I can provide
you with more information if you are interested in pursuing
this. I have to warn you. This path is full of pitfalls. In
the past, when I have tried to do this with NVidia drivers,
I had unpredictable results. My executables were unstable.
This was, I believe, mainly due to the fact that there are still
some name conflicts between NVidia drivers and Mesa when
using mangled Mesa.
-Berk
On Fri, 2002-05-24 at 10:46, Chris Want wrote:
>
> Hello,
>
> I would like to use my Nvidia OpenGL drivers
> for onscreen rendering and use Mesa for
> offscreen rendering under linux. I am
> not sure how to communicate this to
> the ccmake program when configuring
> vtk. Any advice? Do I need the
> VTK_MANGLE_MESA option? (this is
> troublesome as my debian system tries
> to remove my nvidia drivers every time
> I try to install a package that has
> gl_mangle.h). I have tried to build
> with the VTK_OPENGL_HAS_OSMESA option,
> and it builds successfully, but when I
> try to run I get symbol errors (I assume
> it is looking in the Nvidia libGL
> for Mesa stuff). Has anyone managed to
> do this successfully?
>
>
> Thanks,
>
> Chris Want
> Research Computing Support
> Computing & Network Services
> University of Alberta
> Tel: 1-780-492-9418
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list