[vtkusers] X/GL-error?

Robert Belleman robbel at science.uva.nl
Thu Oct 10 03:16:22 EDT 2002

Hi Thomas,

Although the symptoms you describe are not completely the same as
what I have seen on some systems with the same configuration you
are using, it's not that different.

Here's what you should check;

Take a look at /usr/include/GL/gl.h on your systems. If it mentions
"Mesa" at the top, you are using the wrong include files.

To fix that, run the following commands:

ln -sf /usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h /usr/include/GL
ln -sf /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h /usr/include/GL
ln -sf /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glxtokens.h /usr/include/GL

Then rebuild Vtk (or at least recompile and rebuild all Vtk libraries
that depend on OpenGL).

The problem is that the nVidia RPMs don't install the correct header
files by default.

-- Rob

[] Robert Belleman         X  Section Computational Science            []
[] robbel at science.uva.nl  |X| University of Amsterdam, the Netherlands []
[] tel: (+31) 20 525 7510  X  http://www.science.uva.nl/~robbel/       []

On Wed, Oct 09, 2002 at 03:20:15PM +0200, Thomas Koninckx Local wrote:
> Hi,
> I've got a weird display problem. The first time I try to render,
> everything works fine. If I close the program and I try it a second
> time, nothing is displayed anymore. After closing the render-window and
> redrawing it, the rendering is again ok. The same story goes on and on.
> The third time I start my program, only the third window will start
> displaying something... the fourth time, the fourth window will start
> displaying, .... After restarting X, the problem restarts with the first
> window.
> I also loose some memory during each cycle. It's freed with the restart
> of X.
> Some colleagues have encountered similar problems. OS is Linux Redhat
> 7.3 or 8.0 (same problem). Graphical board is a nVidia Gforce4/2 (with
> dedicated drivers installed).
> Does anyone recognize this problem? If yes, is there a solution? Any
> suggestion will be appreciated.
> Regards
> Thomas
> --
> ----------------------------------------------------------------------
> Thomas Koninckx
> Katholieke Universiteit Leuven                 tel.+32-(0)16-32.10.90
> Department Electrical Engineering(ESAT)        fax. +32-(0)16-32.17.23
> PSI-VISICS           (VISion for Industry Communications and Services)
> Kasteelpark Arenberg 10                   tkoninck at esat.kuleuven.ac.be
> B-3001 Leuven Belgium               http://www.esat.kuleuven.ac.be/psi
> ----------------------------------------------------------------------

More information about the vtkusers mailing list