From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1936 invoked from network); 13 Oct 1999 23:18:01 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Oct 1999 23:18:01 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA00381 for ; Wed, 13 Oct 1999 19:17:57 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Wed, 13 Oct 1999 18:22:53 -0500 Received: by paralleldata.com from paralleldata.com (63.73.247.145::mail daemon; unverified,SLMail V2.5); Wed, 13 Oct 1999 18:22:48 -0500 Sender: "Wsb" Message-ID: <380510EC.5A293AC1@paralleldata.com> Date: Wed, 13 Oct 1999 18:08:28 -0500 From: "Wes Bauske" Organization: Parallel Data Systems Inc. X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Any tips for using GLUT References: <11EB515FBDB3D111BF270000F84A9ED60436C8A7@shrexc1.shr.dec.com> <3804F5BE.7720ED88@paralleldata.com> <3804FBB4.53528568@uiowa.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Blake L. Carlson" wrote: > > I've been playing with the Mesa demos and they seem to be working okay. > I tried going to 32 bit display depth and that didn't change anything. > 24-bit crashed my graphics adapter. > I looked at the GLUT spec and it also supports indexed color, which would be your normal 8 bit display. Possibly your using 16/32 which uses the TrueColor visual in X and you told it you want indexed color, which is 8 bit. At one point I messed with this because I looked at porting my own 8 bit indexed colormap X code to true color and didn't find a simple way to get it working. Each screen has a list of visuals it supports and you can retrieve that list using an X call. I did see that in 16/24/32 bit modes, there was no 8 bit visual available to use that I could find. That was the trick I had planned on trying with my code. If anyone knows how to do this, please let me know. > Here's the error - > GLUT: Fatal Error in (unamed): visual with necessary capabilities not > found. > > What if my program is trying to use double-buffered display for images? > I think I may be requesting a quality of service from Mesa/graphics > system (??) which isn't supported. I'll try removing the double > buffering. If that's not it, it's gotta be the colormap. > Since Mesa is in SW, it probably isn't using HW mode double buffering (a guess). Wes