[Paraview] RE: [vtkusers] MangledMesa & VTK
Randall Hand
randall.hand at gmail.com
Fri Dec 29 10:05:35 EST 2006
Ok, I just recompiled Mesa (without Mangling), and reconfigured VTK to link
against the Mesa libGL/libGLU and enabled the "OSMesa" options... and Viola,
it works like a champ.. and it's 10x easier to setup than Mangling.
So maybe mangling isn't really necessary anymore, except for those times
where you need to switch between Hardware OpengL & Mesa on the fly.. Anyone
actually doing that tho?
On 12/28/06, Sean Ziegeler <seanzig at users.sourceforge.net> wrote:
>
> > I've been alternately fighting with this same issue, and very happy with
> > it. The residue it's left on my mind is: Use straight mesa without DRI.
> > VTK_USE_OFFSCREEN causes trouble and doesn't fix anything. The examples
> > use specific mesa opengl classes and that's not how to get offscreen
> > rendering to work I was told to use the factories. Failing that you can
> > always just run an xvfb process to provide a fake xserver.
> >
> > I just went back and reran my little learn to do offscreen volume
> > rendering program (attached). It works in an xterm but when I run it
> > from the system console it whines that it can't connect to the X server.
> > So I guess I'm also back to fighting with offscreen rendering just like
> > you Randall.
>
> It should be possible to do off-screen rendering with straight Mesa and
> OSMesa, though I'm not sure if VTK is easily configured to do so
> (haven't tried it). Perhaps this how Sandia is doing it without Mangled
> Mesa?
>
> AFAIK, the purpose of Mangled Mesa is to avoid having to reconfigure
> your system. Mangled Mesa renames (mangles) all the function calls to
> insure the OpenGL calls go to Mesa and not the system-installed
> libGL.so. Also, in VTK, when you turn on Mangled Mesa, it automatically
> switches to OSMesa to do the off-screen rendering without X.
>
> I would think straight Mesa + OSMesa would be a cleaner approach, and it
> wouldn't require running xvfb every time either.
>
> -Sean
>
>
--
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20061229/dc618f15/attachment.html
More information about the ParaView
mailing list