On November 21, 2005 03:43 pm, Curtis L. Olson wrote:
> Let me ask for some information, with no idea if this will help us move
> forward or not, but it's an attempt.
>
> 1. Have you isolated which hardware, platform, drivers are affected?  I
> hear that some people running ATI hardware have no problems.  Can we
> nail down exactly the scope of the problem?  That may or may not be
> helpful, but it can't hurt.
Hardware: mainly with ATI cards with open source Radeon driver.  Josh and 
Mathias have this problem as well:
http://www.mail-archive.com/flightgear-devel%40flightgear.org/msg35812.html
There is one person on the user-list who uses i845 chipset, and I believe 
he/she also reports having the same problem.

In Linux, FlightGear (0.9.8 cvs) can start fine under XFree, although with an 
error message "RenderTexture Error: Couldn't find a suitable pixel format."  
3D Clouds also isn't visible.  Under Xorg, FlightGear would crash with a 
GLXUnsupportPrivateRequest error at line 495 in RenderTexture.cpp.

> 2. Can you try building FG with debugging symbols (-g) which I think is
> the default.  Run fgfs inside a debugger (such as gdb) and when you get
> a crash, copy the backtrace (i.e. the output of the 'where' command.)
> This is something that needs to be done on the machine with the
> problem.  So you or someone who at least can compile from source is
> going to have to do it.  That may or may not tell us something either,
> but again it's a starting point.

GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/FlightGear/bin/fgfs
[Thread debugging using libthread_db enabled]
[New Thread -1220531616 (LWP 2526)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1220531616 (LWP 2526)]
0xafdb10a8 in ?? () from /usr/X11R6/lib/modules/dri//r200_dri.so
(gdb) where
#0  0xafdb10a8 in ?? () from /usr/X11R6/lib/modules/dri//r200_dri.so
#1  0x3f800000 in ?? ()
#2  0x3f800000 in ?? ()
#3  0x3f800000 in ?? ()
#4  0x3f800000 in ?? ()
#5  0x00001d80 in ?? () at rul.cxx:35
#6  0x00001f80 in ?? () at rul.cxx:35
#7  0xbffff038 in ?? ()
#8  0xafdb0fd0 in ?? () from /usr/X11R6/lib/modules/dri//r200_dri.so
#9  0xb7744c9c in __malloc_initialize_hook () from /lib/tls/libc.so.6
#10 0xbfffef9c in ?? ()
#11 0x01744898 in ?? () at rul.cxx:35
#12 0x00949494 in ?? () at rul.cxx:35
#13 0x08056780 in main () at basic_string.h:228
(gdb) cont
Continuing.
Disabling HW TCL support
opening file: /usr/local/FlightGear/share/FlightGear/Navaids/carrier_nav.dat
/usr/local/FlightGear/share/FlightGear/Navaids/TACAN_freq.dat
[New Thread -1491719248 (LWP 2529)]
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  145 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  30
  Current serial number in output stream:  31

Program exited with code 01.
(gdb) where
No stack.
(gdb) quit

The GLXUnsupportedPrivateRequest occurs when line 495 of RenderTexture.cpp is 
invoked.  It also does the samething if line 516 is invoked.  To bypass the 
problem, one can introduce a "return false;" statement at line 1831.  
However, this would cause strange coloring effects to appear:
http://www.students.yorku.ca/~ampere/fgfs-screen-006.jpg

>
> Thanks,
>
> Curt.

Thanks,
Ampere

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to