[vtkusers] Off screen rendering problem
Berk Geveci
berk.geveci at kitware.com
Fri Sep 19 09:25:37 EDT 2003
One potential problem I can think of is mismatching libraries or
include files. Make sure that the GL and OSMesa libraries are
compatible (you can use ldd to check if they are shared). Also
make sure that there is only one set of GL include files.
-Berk
On Fri, 2003-09-19 at 05:57, Jochen Schulz wrote:
> Hello!
>
> i want to use offscreen-rendering with VTK and it was already
> functioning when i upgraded from SuSE 7.2 to 8.2 . That upgrade
> unfortunately destroyed that functionality. I have VTK-4.2.2 and Mesa
> 5.0-66. VTK is compiled with
> VTK_OPENGL_HAS_OSMESA:BOOL=ON
> and no mangled mesa.
>
> When i run my program i get the following error when trying to do
> offscreen-rendering:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40a0b483 in OSMesaCreateContextExt () from
> /usr/local/lib/vtk/libvtkRendering.so
> (gdb) info thread
> * 1 Thread 16384 (LWP 27887) 0x40a0b483 in OSMesaCreateContextExt () from
> /usr/local/lib/vtk/libvtkRendering.so
> (gdb) backtrace
> #0 0x40a0b483 in OSMesaCreateContextExt () from
> /usr/local/lib/vtk/libvtkRendering.so
> #1 0x40a0b280 in OSMesaCreateContext () from
> /usr/local/lib/vtk/libvtkRendering.so
> #2 0x40a068d0 in vtkXOpenGLRenderWindow::WindowInitialize() () from
> /usr/local/lib/vtk/libvtkRendering.so
> #3 0x40a09727 in vtkXOpenGLRenderWindow::SetOffScreenRendering(int) () from
> /usr/local/lib/vtk/libvtkRendering.so
> #4 0x08063a39 in mvtkWindow::offscreenrender() (this=0x8213778) at
> matvtk.cc:170
> #5 0x08063289 in main (argc=1, argv=0xbffff264) at matvtktest.cc:88
> #6 0x413608ae in __libc_start_main () from /lib/libc.so.6
>
> And i have no idea whats wrong. It would be very nice if someone could
> somehow help me with this.
>
> regards
> Jochen
>
> ****************************
> Jochen Schulz
> Institute for Numerical and
> Applied Mathematics
> University of Goettingen
> Lotzestr. 16-18
> D-37083 Goettingen, Germany
> ****************************
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list