Date: Sat, 14 Aug 2004 23:28:50 +0900 (JST) Message-Id: <20040814.232850.78724946.garrigue at kurims.kyoto-u.ac.jp> To: seguso.forever at tin.it Cc: lablgtk at kaba.or.jp Subject: Re: What's wrong with this code? [GlGtk.area] From: Jacques Garrigue In-Reply-To: <200408141519.27667.seguso.forever at tin.it> References: <200408141519.27667.seguso.forever at tin.it> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Maurizio Colucci > > I am trying to write a hello-world program with lablgtk2 and GlGtk.area, but > something is going wrong. The following program should display a GtkGlArea > with a triangle inside: [...] > But this only displays an empty window. The gl area is not visible. Strange enough, this works perfectly on my FreeBSD-5.2.1/XFree86-4.3. > The output is: > > debian:/dat/pub/src/by-mau/adventure/src/ocaml# ./test.exe > GlGtk-WARNING **: could not make current > GlGtk-WARNING **: could not make current > GlGtk-WARNING **: could not make current > Delete event occurred > destroy Looks like you have a problem with OpenGL. > Does the program work on your machine? > (I am using debian sid with the nvidia driver) The nvidia driver may be the problem. Try disabling DRI as a first check. Jacques