Click to See Complete Forum and Search --> : FlightGear : OpenGL GLX error


dysharmonic
03-15-2003, 10:34 AM
Hi

I stumbled upon this game quite a few weeks ago, but never gave it a try. Installed it and ran it and got this error:

GLUT: Fatal Error in fgfs: OpenGL GLX extension not supported by display: :0

Here's my /etc/X11/XF86Config-4

Section "Module"

# This loads the DBE extension module.
Load "dbe"

# This loads the Video for Linux module.
Load "v4l"


Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "NVIDIA GeForce2 Integrated (generic)"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
# VideoRam 32768
# Clock lines


lsmod shows this:

Module Size Used by Tainted: P
sg 30180 0 (autoclean) (unused)
st 27316 0 (autoclean) (unused)
sr_mod 15160 0 (autoclean) (unused)
sd_mod 11644 0 (autoclean) (unused)
scsi_mod 92488 4 (autoclean) [sg st sr_mod sd_mod]
NVdriver 988224 7 (autoclean)
i810_audio 20288 0 (unused)
soundcore 4068 2 [i810_audio]
ac97_codec 9568 0 [i810_audio]
nfsd 69536 8 (autoclean)
lockd 49344 1 (autoclean) [nfsd]
sunrpc 62964 1 (autoclean) [nfsd lockd]
af_packet 12488 0 (autoclean)
ip_vs 65400 0 (autoclean)
usb-ohci 19072 0 (unused)
usbcore 59072 1 [usb-ohci]
nvnet 26080 2 (autoclean)
nls_iso8859-1 2816 5 (autoclean)
nls_cp850 3584 5 (autoclean)
vfat 9788 5 (autoclean)
fat 31384 0 (autoclean) [vfat]
supermount 62180 2 (autoclean)
rtc 5912 0 (autoclean)
ext3 62092 3
jbd 39356 3 [ext3]


/var/log/ XFree86.0.log



(II) NVIDIA(0): AGP 4X successfully initialized
(II) NVIDIA(0): Setting mode "1024x768"
(EE) NVIDIA(0): Failed to load glX
(II) NVIDIA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Driver provided FillSolidRects replacement
Driver provided FillSolidSpans replacement
Driver provided FillMono8x8PatternRects replacement
Driver provided WritePixmap replacement
Driver provided ReadPixmap replacement
Setting up tile and stipple cache:
16 128x128 slots
4 256x256 slots
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms" "on"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-GLX
(II) Loading extension NV-CONTROL
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension

bwkaz
03-15-2003, 12:01 PM
You need a Load "glx" line in your XF86Config-4 file too. In the modules section.

dysharmonic
03-16-2003, 01:25 PM
Thanx a lot!

It works!

So now how do I fly this thing? Also, I dont have any sound?

Thanx.

bwkaz
03-16-2003, 01:53 PM
I have no idea how to fly, I've never played flightgear... ;)

As for sound, ... umm... does it log any messages to the terminal you start it from? If you're starting it from a shortcut, open a terminal and run it from there instead.

dysharmonic
03-21-2003, 11:50 AM
These are the only lines I could find which have the words sound/snd/audio in them.

WARNING: slScheduler: Needs a sound card that supports 8 bits per sample.
Audio initialization failed!
WARNING: slSample: loadWavFile: Cannot open '/usr/lib/FlightGear/Sounds/click.wav' for reading.

Sound is working fine in other apps/games.

But not all games have sound tho.

Hmm..there are posts here on FG, sadly w/o much resolving tho...

bwkaz
03-21-2003, 01:41 PM
Sounds like your card is in 16-bit "mode", and for some reason, FG won't work with that...

Do you know which library FG uses for playing sounds? SDL maybe? OpenAL?

Which card do you have, and which drivers are you using (alsa, oss, either of those+esd, either of those+arts)?

dysharmonic
03-22-2003, 12:18 PM
Hi

This is an nvidia nforce sound card but I didnt install the drivers from nvidia, just these 3 modules, during sndconfig.

i810_audio 20288 0 (unused)
soundcore 4068 2 [i810_audio]
ac97_codec 9568 0 [i810_audio]


I'm not sure which lib or which driver (esd, arts, alsa) is used but xmms works fine w/ esd selescted.

Another thing is fgfs is excruciatingly slow after just a few seconds, i.e. after pressing the a key (acceleration i think).

I'm on a Duron 1.05G, 32Mb of GForce 2 MX, and 352Mb of DDR266 w/ lots of free space on /.

(The help file for fgfs is at /usr/lib/FlightGear/Docs/index.html)

I'm d/loading the latest version of that game and maybe they have a Windows version too :)

Thanx.

dysharmonic
03-22-2003, 12:38 PM
Well, doesnt seem like they have an rpm package for Mdk...just some source code for compilation....