From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA21449 for caml-red; Thu, 8 Feb 2001 00:24:32 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA02179 for ; Wed, 7 Feb 2001 21:18:12 +0100 (MET) Received: from user2.hushmail.com (user2.hushmail.com [64.40.111.42]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f17KI7929008 for ; Wed, 7 Feb 2001 21:18:11 +0100 (MET) Received: (from root@localhost) by user2.hushmail.com (8.9.3/8.9.3) id MAA23232; Wed, 7 Feb 2001 12:15:57 -0800 From: peter_ronnquist@hushmail.com Message-Id: <200102072015.MAA23232@user2.hushmail.com> Content-type: multipart/mixed; boundary="Hushpart_boundary_PfvIhQFhqMMpcfDbRNFZsSBJtFtaRSMQ" Subject: Slow lablgl. (fwd) Mime-version: 1.0 To: garrigue@kurims.kyoto-u.ac.jp Date: Wed, 7 Feb 2001 20:18:20 +0000 (GMT+00:00) Cc: caml-list@inria.fr Sender: weis@pauillac.inria.fr --Hushpart_boundary_PfvIhQFhqMMpcfDbRNFZsSBJtFtaRSMQ Content-type: text/plain Hi, Jacques, I think that you may know what the problem is with the slow lablgl (I hope you know). My problem is that glxinfo says that I have direct rendering enabled and gears.c (not ocaml version) run really fast but the planet.ml and tennis.ml run slow. I suspect as Sven Luther suggest that it does not use the correct library for accelerated open gl. I tried ldd on lablgl but it does not use dynamic libraries so maybe I must compile lablgl myself and link with some static accelrated library? Right know I don't know how to proceed. I have installed ocaml, labgl from debian woody (no lablgtk+). Thank you Peter Rönnquist ---------- Forwarded message ---------- Date: Wed, 7 Feb 2001 18:13:05 +0100 Subject: Re: problems with compilation with lablgl. From: Sven To: peter_ronnquist@hushmail.com On Wed, Feb 07, 2001 at 11:59:53AM +0000, peter_ronnquist@hushmail.com wrote: > Hi, > > sorry for the late reply. I am using matrox G400 and athlon 700 mhz. I got > dri working, the gears.c (not the ocaml version) and that gives 900 fps lucky you, ... I have a bi celeron box, and DRI freeze it solid some times, so no luck ... > in a small window. The ocaml version of gears scrambles the screen and > I have to kill it from a console. Don't know, it worked for me. notice, if you use lablgtk+ lablgl, you will need to add doublebuffering to some examples, as they will not run without it. > The planet.ml and tennis.ml runs slow though and I am trying to figuring > out why. Does these examples run accelerated for you? Like said, they have a tendency to freeze my box, so i disabled DRI. here on my home box, i have not yet finished writing DRI support for my permedia3 based card. But my guess is that you are not using the accelerated libraries. What does glxinfo says to you ? Maybe there is a problem with the fact that ocaml is doing static linking, and not dynamic linking. > I will investigate if not the planet.ml draws on in the "front" buffer and > not in the "back" buffer. I saw in some mailing list that it was much slower > if you did not use the "back" buffer. Yes, using a back buffer should improve speed, but also improve fluidity of the display. Hope this help, i think writing to jacques directly about this is more advised ... Friendly, sven Luther --Hushpart_boundary_PfvIhQFhqMMpcfDbRNFZsSBJtFtaRSMQ-- IMPORTANT NOTICE: If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages. Get your FREE, totally secure email address at http://www.hushmail.com.