From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5663a7f0e93d4bc7,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!hwmnpeer01.lga!hwmedia!news-server.columbus.rr.com!tornado.ohiordc.rr.com.POSTED!53ab2750!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.ada Subject: GtkAda & OpenGl on linux User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Message-ID: Date: Sat, 28 May 2005 16:25:10 GMT NNTP-Posting-Host: 65.31.62.213 X-Complaints-To: abuse@rr.com X-Trace: tornado.ohiordc.rr.com 1117297510 65.31.62.213 (Sat, 28 May 2005 12:25:10 EDT) NNTP-Posting-Date: Sat, 28 May 2005 12:25:10 EDT Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news1.google.com comp.lang.ada:11194 Date: 2005-05-28T16:25:10+00:00 List-Id: Hi! Using a freshly prepared gcc-3.4.3 on Yellow Dog Linux , I have a problem using GtkAda & Open GL on an nVidia GeForce2 MX/MX 400. I am able to build GtkAda 2.4.x with GL support . The test program, testgtk, works correctly, but the OpenGL example dies horribly: The program 'testgtk' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 704 error_code 8 request_code 152 minor_code 5) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on gdk_x_error().) Compiling with -g and running under gdb with the --sync arg gave the same result. The (in)famous glxgears works fine at about 100 frames/sec; glxinfo reports "direct rendering: No". A simple GLUT example written in C doesn't crash, but the window comes up empty. When this happens on other platforms (e.g. RedHat, x86), rebuilding the nvidia driver fixes the problem. Sadly, nVidia doesn't support PowerPC. Assuming it might help, what might be the corresponding thing to do on YDL? Any insights appreciated; sorry this a a bit off topic. -- John jmatthews at wright dot edu www dot wright dot edu/~john.matthews/