To: luther at dpt-info.u-strasbg.fr Cc: lablgtk at kaba.or.jp Subject: Re: lablgl & DRI problems ... In-Reply-To: <20010413095900.A28568 at lambda.u-strasbg.fr> References: <20010413095900.A28568 at lambda.u-strasbg.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010416103824S.garrigue at kurims.kyoto-u.ac.jp> Date: Mon, 16 Apr 2001 10:38:24 +0900 From: Jacques Garrigue Lines: 47 Hi Sven, > Yesterday, i enabled Hardware rendering with my dual celeron Abit BP6 box and > a matrox G400 board. I wish I could do that on Solaris x86 :-( (No, I'm not the one who chose this damn OS) > I thought this would be completely transparent, with my program, that uses > lablgtk and lablgl. > > But this is not the case, here are the problems i have, some may be due to > 'errors' in my code, but not all. Not really surprising, if your hardware was not specifically designed for OpenGL, some limitations are to be expected. > 1) When i first draw, then i have to minimize the window to then > have it draw it. => this may be due to me, and the event i use to > do the drawing. But still, why does it work with software rendering > then ? What happens with examples in the lablgtk distribution? And whith lablGL examples (using togl)? > 2) I have various GL areas in a notebook kind widget. Only the > first is able to draw anything with hardware rendering turned > on. This is a driver problem, matrox DRI can have only one active > openGL window. If it's hardware... > 3) something i get segfaults, this is not nice, and i don't know > from what it comes, not a welcome thing with ocaml programs. I > guess it is the openGL lib who dies on lablgl, isn't it ? It might be nice to try the examples inside the gtkglarea distribution. gtlgtl itself is not a mode of clean programming, so this can be where is the bug. At least, if the problems also appears in C, then lablGL is not responsible. I should try to build a DRI enabled machine somewhere, otherwise I can do nothing to solve these problems. By the way, is there anybody around who can send me a patch to run lablGL on Windows. I know lots of people do that already... Jacques