LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: karlb on September 20, 2003, 14:43:56

Title: Could not init gl function pointers
Post by: karlb on September 20, 2003, 14:43:56
Hi!

I"m trying to run the tests, but I get the following error:

karl:~/lwjgl/lwjgl-0.7$ java -cp .:lwjgl_test.jar:lwjgl.jar org.lwjgl.test.opengl.Game
Setting display mode to 640 x 480 x 24 @0Hz
Created display.
Failed to create OpenGL due to java.lang.Exception: Could not init gl function pointers

What am I doing wrong?
(btw: there are ;s instead of :s in the README file. That's wrong, sin't it?)

Thanks,

-- Karl
Title: Could not init gl function pointers
Post by: elias on September 20, 2003, 15:25:42
Try to run your application  with the -ea flag (and be sure to have lwjgl_d in your path). But most likely, the problem is missing OpenGL drivers.

The ; is sort-of-wrong - windows use ; for separating paths, while linux and mac use :.

- elias
Title: Well, my drivers are OK
Post by: karlb on September 20, 2003, 21:18:32
I'm using the binary ATI drivers under debian woody, and they work fine with other games.

Enabling assertions doesn't give any interesting output (I don't have the exact output, since I'm at another computer right now).

When starting the game my monitor flashes (like it does when changing resolutions), so I guess it finds the libraries. OpenGL is installed normally and liblwjgl(_d)?.so is in the current directory. Adding . to the library path doesn't help, either.

Alien Flux doesn't work also (which isn't very surprising).

Thanks,

-- Karl
Title: Could not init gl function pointers
Post by: elias on September 21, 2003, 07:35:58
Ok, I just added more verbose debug output. And you're right, it looks like it can find the OGL library, but it simply fails to load some (needed) symbols. Here you go (use with -ea):

http://oddlabs.com/liblwjgl_d.so

- elias
Title: You're right.
Post by: karlb on September 21, 2003, 10:26:50
It really can't find some symbols. Here's the output:

Removed 0 duplicate displaymodes
Setting display mode to 640 x 480 x 24 @0Hz
Created display.
XF86VidMode extension version 2.1
Saved width, height 1280, 1024
XF86VidMode extension version 2.1
XF86VidMode extension version 2.1
XF86VidMode extension version 2.1
Mode 0: 1280x1024
Mode 1: 1024x768
Mode 2: 800x600
Mode 3: 640x480
Pixel format chosen sizes: r = 8, g = 8, b = 8, a = 8, depth = 24, stencil = 0
Created window
Could not locate symbol glPointParameterfARB
Could not locate symbol glPointParameterfvARB
Could not locate symbol glSetInvarianceEXT
Could not locate symbol glActiveTexture
Could not locate symbol glClientActiveTexture
Could not locate symbol glMultiTexCoord1d
Could not locate symbol glMultiTexCoord1dv
Could not locate symbol glMultiTexCoord1f
Could not locate symbol glMultiTexCoord1fv
Could not locate symbol glMultiTexCoord1i
Could not locate symbol glMultiTexCoord1iv
Could not locate symbol glMultiTexCoord1s
Could not locate symbol glMultiTexCoord1sv
Could not locate symbol glMultiTexCoord2d
Could not locate symbol glMultiTexCoord2dv
Could not locate symbol glMultiTexCoord2f
Could not locate symbol glMultiTexCoord2fv
Could not locate symbol glMultiTexCoord2i
Could not locate symbol glMultiTexCoord2iv
Could not locate symbol glMultiTexCoord2s
Could not locate symbol glMultiTexCoord2sv
Could not locate symbol glMultiTexCoord3d
Could not locate symbol glMultiTexCoord3dv
Could not locate symbol glMultiTexCoord3f
Could not locate symbol glMultiTexCoord3fv
Could not locate symbol glMultiTexCoord3i
Could not locate symbol glMultiTexCoord3iv
Could not locate symbol glMultiTexCoord3s
Could not locate symbol glMultiTexCoord3sv
Could not locate symbol glMultiTexCoord4d
Could not locate symbol glMultiTexCoord4dv
Could not locate symbol glMultiTexCoord4f
Could not locate symbol glMultiTexCoord4fv
Could not locate symbol glMultiTexCoord4i
Could not locate symbol glMultiTexCoord4iv
Could not locate symbol glMultiTexCoord4s
Could not locate symbol glMultiTexCoord4sv
Could not locate symbol glLoadTransposeMatrixf
Could not locate symbol glLoadTransposeMatrixd
Could not locate symbol glMultTransposeMatrixf
Could not locate symbol glMultTransposeMatrixd
Could not locate symbol glCompressedTexImage3D
Could not locate symbol glCompressedTexImage2D
Could not locate symbol glCompressedTexImage1D
Could not locate symbol glCompressedTexSubImage3D
Could not locate symbol glCompressedTexSubImage2D
Could not locate symbol glCompressedTexSubImage1D
Could not locate symbol glGetCompressedTexImage
Could not locate symbol glSampleCoverage
XF86VidMode extension version 2.1
Mode 0: 1280x1024

I'll see whether I can find some more recent drivers. It's strange that my current drivers don't support these features (and that no other game required these).

Thanks,

-- Karl
Title: Could not init gl function pointers
Post by: elias on September 21, 2003, 11:22:58
From where I'm standing, it looks like the driver is lying about it's version and some extensions. LWJGL tries to load GL 1.3 features but fails. What's the output from glxinfo (especially the reported OpenGL version)?

To make LWJGL more robust against those kind of drivers, we could implement it so it merely disables the features instead of failing completely. That is, when the driver reports OpenGL 1.3 but some OGL 1.3 symbols fails to load, LWJGL falls back to OpenGL 1.2 (or whatever succeeds). What do you think?

- elias
Title: Some output again
Post by: karlb on September 21, 2003, 11:45:11
Here's the glxinfo output:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
   GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
   GLX_ATI_render_texture
GLX extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9700 Pentium 4 (SSE2)
OpenGL version string: 1.3 (X4.2.0-3.2.5)
OpenGL extensions:
<snip>
glu version: 1.3
glu extensions:
   GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
<snip>

And here's the output of fglrxinfo, which comes with the driver:

display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9700 Pentium 4 (SSE2)
OpenGL version string: 1.3 (X4.2.0-3.2.5)

Using the latest drivers doesn't help, so this is probably a problem affacting all Linux/ATI users (well, except those having quite old cards, which are supported by by open-source drivers).

Bye,

-- Karl
Title: Could not init gl function pointers
Post by: elias on September 22, 2003, 08:29:21
Ok, LWJGL now ignores advertised extensions with missing symbols (and dumps a notice on std out). You should be able to use LWJGL even on lying drivers now:

http://oddlabs.com/liblwjgl_d.so

- elias
Title: OK
Post by: karlb on September 22, 2003, 10:56:51
This seems to work.

Thanks!

-- Karl
Title: Could not init gl function pointers
Post by: princec on September 22, 2003, 11:57:29
I'll update the Webstart Alien Flux with it in a moment.

Cas :)
Title: Alien Flux problems
Post by: karlb on September 23, 2003, 16:29:28
Alien Flux crashes on the loading screen.

Alien Flux.log:
Tue Sep 23 13:50:40 CEST 2003   Starting Alien Flux 1.4f
Tue Sep 23 13:50:41 CEST 2003   Failed to reserve Nvidia ram.
Tue Sep 23 13:50:41 CEST 2003   Failed to create controller:java.lang.Exception: The controller could not be created.
Tue Sep 23 13:50:42 CEST 2003   No bindings found, so creating default bindings.

Alien Flux_err.log:
java.io.InvalidClassException: com.shavenpuppy.jglib.Font; local class incompatible: stream classdesc serialVersionUID = 4, local class serialVersionUID = 3
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:459)
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
Tue Sep 23 13:50:42 CEST 2003      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
Tue Sep 23 13:50:42 CEST 2003      at com.shavenpuppy.jglib.opengl.GLFont.doCreate(GLFont.java:140)
Tue Sep 23 13:50:42 CEST 2003      at com.shavenpuppy.jglib.Resources.allocate(Resources.java:435)
Tue Sep 23 13:50:42 CEST 2003      at com.shavenpuppy.jglib.Resource.create(Resource.java:118)
Tue Sep 23 13:50:42 CEST 2003      at com.shavenpuppy.jglib.Resources.get(Resources.java:107)
Tue Sep 23 13:50:42 CEST 2003      at xap.gui.Interface.init(Interface.java:125)
Tue Sep 23 13:50:42 CEST 2003      at xap.Game.init(Game.java:711)
Tue Sep 23 13:50:42 CEST 2003      at xap.Game.main(Game.java:377)
Tue Sep 23 13:50:42 CEST 2003      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Tue Sep 23 13:50:42 CEST 2003      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Tue Sep 23 13:50:42 CEST 2003      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Tue Sep 23 13:50:42 CEST 2003      at java.lang.reflect.Method.invoke(Method.java:324)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.executeApplication(Launcher.java:739)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:701)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:584)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:328)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:166)
Tue Sep 23 13:50:42 CEST 2003      at com.sun.javaws.Launcher.run(Launcher.java:134)
Tue Sep 23 13:50:42 CEST 2003      at java.lang.Thread.run(Thread.java:536)

Am I doing something wrong, or is this a bug?

-- Karl
Title: Could not init gl function pointers
Post by: princec on September 23, 2003, 16:32:06
oh sh*t, I forgot to upload the new resources file.
<edit>Right, fixed it. Have another go. 7.5mb of patching to do :D

Cas :)
Title: Works
Post by: karlb on September 23, 2003, 22:02:54
It works fine now. Thanks!

btw: is there any reason, why webstart download only at ~2kbyte/s (I have a 8kbyte/s connection)?

-- Karl
Title: Could not init gl function pointers
Post by: princec on September 23, 2003, 22:07:43
My website appears to have been running at very low speed all day. I'll have to investigate.

Cas :)
Title: oops
Post by: karlb on September 24, 2003, 09:23:56
Alien Flux still crashes, but I get to the main menu this time (that's why I thought it would run...). It crashes when I try to start a game. Here's the log (error log is empty):

Wed Sep 24 11:23:10 CEST 2003   Starting Alien Flux 1.4f
Wed Sep 24 11:23:10 CEST 2003   Failed to reserve Nvidia ram.
Wed Sep 24 11:23:11 CEST 2003   Failed to create controller:java.lang.Exception: The controller could not be created.
Wed Sep 24 11:23:12 CEST 2003   No bindings found, so creating default bindings.
java.lang.NumberFormatException: For input string: "Un"
   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
   at java.lang.Integer.parseInt(Integer.java:426)
   at com.shavenpuppy.jglib.util.HexDecoder.decode(HexDecoder.java:58)
   at xap.RegistrationDetails.fromPreferences(RegistrationDetails.java:167)
   at xap.Game.checkRegistrationDetails(Game.java:1188)
   at xap.Game.main(Game.java:399)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.sun.javaws.Launcher.executeApplication(Launcher.java:739)
   at com.sun.javaws.Launcher.executeMainClass(Launcher.java:701)
   at com.sun.javaws.Launcher.continueLaunch(Launcher.java:584)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:328)
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:166)
   at com.sun.javaws.Launcher.run(Launcher.java:134)
   at java.lang.Thread.run(Thread.java:536)
Title: Could not init gl function pointers
Post by: princec on September 24, 2003, 10:32:58
That log isn't it crashing unfortunately. I have a feeling you're falling foul of a driver cock-up.

Cas :)
Title: Could not init gl function pointers
Post by: karlb on September 24, 2003, 12:12:01
Strange. All other OpenGL apps work fine (Blender, Quake3, Tuxracer etc.). Is there anything I can do except waiting for a new driver?

-- Karl
Title: Could not init gl function pointers
Post by: princec on September 24, 2003, 15:21:24
I have a funny feeling that it's actually getting the wrong driver somehow, or the other apps would likely experience some trouble.

What you can do is badger Elias a lot about it because he's Mr Linux :D

Cas :)
Title: Could not init gl function pointers
Post by: elias on September 24, 2003, 18:49:50
Thanx alot!

Now, I can't do much more without a real exception. The fact that you can reach the menu suggests that there's a driver issue in play, but anymore than that is guesswork.

Cas, don't you have a straight up jar file for him to try from the command line?

- elias
Title: Could not init gl function pointers
Post by: princec on September 24, 2003, 19:07:39
Yep; just download this zip file (http://www.puppygames.net/downloads/AlienFluxJars.zip) which contains only the jars. Unzip somewhere nice where the liblwjgl_d.so is and run from the cmd line with:

java -ea -cp alienflux-full-code.jar:alienflux-full-game.jar:alienflux-full-resources.jar:spgl.jar:lwjgl.jar -Djava.library.path=. xap.Game

Cas :)
Title: Could not init gl function pointers
Post by: karlb on September 25, 2003, 10:59:20
Isn't a java.lang.NumberFormatException a real exception? (see post at the end of page one)

Starting download now...

-- Karl
Title: Could not init gl function pointers
Post by: karlb on September 25, 2003, 11:03:37
I'm getting an error page when trying to download:

You are not authorized to view this page
<snip>

-- Karl
Title: Could not init gl function pointers
Post by: princec on September 25, 2003, 11:10:39
Bloody hell, Win2k security actually works... forgot to check the permissions on the file :) Everyone can read it now.

Cas :)
Title: Could not init gl function pointers
Post by: cfmdobbie on September 25, 2003, 12:17:57
Quote from: "karlb"Isn't a java.lang.NumberFormatException a real exception? (see post at the end of page one)

Naa, that's just AF failing to read in some properties or a licence key or some such.  It's a non-fatal error and occurs all the time.  Probably shouldn't even make it into the log, hey? :wink:
Title: Could not init gl function pointers
Post by: karlb on September 25, 2003, 14:06:47
Here's the Alien Flux_err.log:

thodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Thu Sep 25 15:35:57 CEST 2003      at java.lang.Class.getMethod0(Class.java:1756)
Thu Sep 25 15:35:57 CEST 2003      at java.lang.Class.getMethod(Class.java:963)
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.BaseAL.getPathFromJWS(BaseAL.java:146)
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.BaseAL.create(BaseAL.java:100)
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.AL.create(AL.java:93)
Thu Sep 25 15:35:57 CEST 2003      at xap.Game.init(Game.java:582)
Thu Sep 25 15:35:57 CEST 2003      at xap.Game.main(Game.java:377)
org.lwjgl.openal.OpenALException: Unable to load function pointers to openal.
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.BaseAL.nCreate(Native Method)
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.BaseAL.create(BaseAL.java:118)
Thu Sep 25 15:35:57 CEST 2003      at org.lwjgl.openal.AL.create(AL.java:93)
Thu Sep 25 15:35:57 CEST 2003      at xap.Game.init(Game.java:582)
Thu Sep 25 15:35:57 CEST 2003      at xap.Game.main(Game.java:377)
java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Thu Sep 25 15:37:08 CEST 2003      at java.lang.Class.getMethod0(Class.java:1756)
Thu Sep 25 15:37:08 CEST 2003      at java.lang.Class.getMethod(Class.java:963)
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.BaseAL.getPathFromJWS(BaseAL.java:146)
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.BaseAL.create(BaseAL.java:100)
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.AL.create(AL.java:93)
Thu Sep 25 15:37:08 CEST 2003      at xap.Game.init(Game.java:582)
Thu Sep 25 15:37:08 CEST 2003      at xap.Game.main(Game.java:377)
org.lwjgl.openal.OpenALException: Unable to load function pointers to openal.
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.BaseAL.nCreate(Native Method)
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.BaseAL.create(BaseAL.java:118)
Thu Sep 25 15:37:08 CEST 2003      at org.lwjgl.openal.AL.create(AL.java:93)
Thu Sep 25 15:37:08 CEST 2003      at xap.Game.init(Game.java:582)
Thu Sep 25 15:37:08 CEST 2003      at xap.Game.main(Game.java:377)

And here's the other error file:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
     just occurred. Please refer to release documentation for possible
     reason and solutions.


Current Java thread:
   at org.lwjgl.opengl.CoreGL13.glActiveTexture(Native Method)
   at com.shavenpuppy.jglib.opengl.GL.glActiveTexture(GL.java:118)
   at xap.background.TextureSortState.preRender(TextureSortState.java:38)
   at com.shavenpuppy.jglib.renderer.Renderer$StateList.render(Renderer.java:168)
   at com.shavenpuppy.jglib.renderer.Renderer.draw(Renderer.java:435)
   at com.shavenpuppy.jglib.renderer.Renderer.render(Renderer.java:307)
   at xap.features.BackgroundFeature.render(BackgroundFeature.java:483)
   at xap.features.BattleZoneFeature$BattleZoneInstance.render(BattleZoneFeature.java:94)
   at xap.features.GamePanelFeature$GamePanelInstance.renderBackground(GamePanelFeature.java:419)
   at xap.gui.Component.render(Component.java:1279)
   at xap.gui.Component.renderChildren(Component.java:1347)
   at xap.gui.Component.render(Component.java:1288)
   at xap.gui.Interface.render(Interface.java:568)
   at xap.Game.main(Game.java:441)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 03:04 1469487    /usr/local/java/j2sdk1.4.1_01/bin/java
0804e000-0804f000 rw-p 00005000 03:04 1469487    /usr/local/java/j2sdk1.4.1_01/bin/java
40000000-40014000 r-xp 00000000 03:04 2464657    /lib/ld-2.3.2.so
40014000-40015000 rw-p 00013000 03:04 2464657    /lib/ld-2.3.2.so
40016000-4001f000 r-xp 00000000 03:04 2073340    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so
4001f000-40020000 rw-p 00008000 03:04 2073340    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so
40022000-40023000 rw-s dd5e1000 03:04 2693911    /dev/dri/card0
40023000-40030000 r-xp 00000000 03:04 2465366    /lib/libpthread-0.10.so
40030000-40031000 rw-p 0000d000 03:04 2465366    /lib/libpthread-0.10.so
40073000-40075000 r-xp 00000000 03:04 2464666    /lib/libdl-2.3.2.so
40075000-40076000 rw-p 00002000 03:04 2464666    /lib/libdl-2.3.2.so
40076000-4019d000 r-xp 00000000 03:04 2464660    /lib/libc-2.3.2.so
4019d000-401a2000 rw-p 00127000 03:04 2464660    /lib/libc-2.3.2.so
401a5000-404bd000 r-xp 00000000 03:04 1273252    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so
404bd000-40671000 rw-p 00317000 03:04 1273252    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so
40681000-40693000 r-xp 00000000 03:04 2465355    /lib/libnsl-2.3.2.so
40693000-40694000 rw-p 00011000 03:04 2465355    /lib/libnsl-2.3.2.so
40696000-406b7000 r-xp 00000000 03:04 2465354    /lib/libm-2.3.2.so
406b7000-406b8000 rw-p 00020000 03:04 2465354    /lib/libm-2.3.2.so
406b8000-406c8000 r-xp 00000000 03:04 1894262    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libverify.so
406c8000-406ca000 rw-p 0000f000 03:04 1894262    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libverify.so
406ca000-406eb000 r-xp 00000000 03:04 1894263    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libjava.so
406eb000-406ed000 rw-p 00020000 03:04 1894263    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libjava.so
406ed000-40702000 r-xp 00000000 03:04 1894265    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libzip.so
40702000-40704000 rw-p 00014000 03:04 1894265    /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libzip.so
40704000-41dd2000 r--s 00000000 03:04 1894306    /usr/local/java/j2sdk1.4.1_01/jre/lib/rt.jar
41e15000-41e2c000 r--s 00000000 03:04 1894286    /usr/local/java/j2sdk1.4.1_01/jre/lib/sunrsasign.jar
41e2c000-41e9d000 r--s 00000000 03:04 1894288    /usr/local/java/j2sdk1.4.1_01/jre/lib/jsse.jar
41e9d000-41eb0000 r--s 00000000 03:04 1894287    /usr/local/java/j2sdk1.4.1_01/jre/lib/jce.jar
41eb0000-4216c000 r--s 00000000 03:04 1894304    /usr/local/java/j2sdk1.4.1_01/jre/lib/charsets.jar
44214000-4421b000 r-xp 00000000 03:04 2465356    /lib/libnss_compat-2.3.2.so
4421b000-4421c000 rw-p 00006000 03:04 2465356    /lib/libnss_compat-2.3.2.so
4421c000-4421f000 r--s 00000000 03:04 3003449    /usr/local/java/j2sdk1.4.1_01/jre/lib/ext/dnsns.jar
4c2a0000-4c426000 r--p 00000000 03:04 2906127    /usr/lib/locale/locale-archive
4c426000-4c432000 r-xp 00000000 03:04 1910404    /usr/X11R6/lib/libXext.so.6.4
4c432000-4c433000 rw-p 0000c000 03:04 1910404    /usr/X11R6/lib/libXext.so.6.4
4c433000-4c43b000 r-xp 00000000 03:04 2465360    /lib/libnss_nis-2.3.2.so
4c43b000-4c43c000 rw-p 00007000 03:04 2465360    /lib/libnss_nis-2.3.2.so
4c43c000-4c445000 r-xp 00000000 03:04 2465358    /lib/libnss_files-2.3.2.so
4c445000-4c446000 rw-p 00008000 03:04 2465358    /lib/libnss_files-2.3.2.so
4c446000-4c463000 r--s 00000000 03:04 3003448    /usr/local/java/j2sdk1.4.1_01/jre/lib/ext/sunjce_provider.jar
4c463000-4c502000 r--s 00000000 03:04 3003450    /usr/local/java/j2sdk1.4.1_01/jre/lib/ext/localedata.jar
4c502000-4c510000 r--s 00000000 03:04 3003451    /usr/local/java/j2sdk1.4.1_01/jre/lib/ext/ldapsec.jar
4c510000-4c637000 r--s 00000000 03:04 1959583    /home/karl/lwjgl/af/alienflux-full-code.jar
4c637000-4c695000 r--s 00000000 03:04 1959584    /home/karl/lwjgl/af/alienflux-full-game.jar
4c695000-4df8a000 r--s 00000000 03:04 1959585    /home/karl/lwjgl/af/alienflux-full-resources.jar
4df8a000-4e02d000 r--s 00000000 03:04 1959587    /home/karl/lwjgl/af/spgl.jar
4e02d000-4e096000 r--s 00000000 03:04 1959586    /home/karl/lwjgl/af/lwjgl.jar
4e096000-4e0ec000 r-xp 00000000 03:04 1959588    /home/karl/lwjgl/af/liblwjgl_d.so
4e0ec000-4e0ef000 rw-p 00055000 03:04 1959588    /home/karl/lwjgl/af/liblwjgl_d.so
4e0f0000-4e1a8000 r-xp 00000000 03:04 1910402    /usr/X11R6/lib/libX11.so.6.2
4e1a8000-4e1ab000 rw-p 000b8000 03:04 1910402    /usr/X11R6/lib/libX11.so.6.2
4e1ab000-4e1ad000 rw-s e093b000 03:04 2693911    /dev/dri/card0
4e1ad000-4e1b0000 rw-s f0c00000 03:04 2693911    /dev/dri/card0
4e1b0000-4e1b4000 rw-s f0eef000 03:04 2693911    /dev/dri/card0
4e1b8000-4e255000 r-xp 00000000 03:04 2481461    /usr/lib/libstdc++.so.5.0.5
4e255000-4e26a000 rw-p 0009d000 03:04 2481461    /usr/lib/libstdc++.so.5.0.5
4e26f000-4e276000 r-xp 00000000 03:04 2465488    /lib/libgcc_s.so.1
4e276000-4e277000 rw-p 00007000 03:04 2465488    /lib/libgcc_s.so.1
4e277000-4e2f0000 r-xp 00000000 03:04 1910609    /usr/X11R6/lib/libGL.so.1.2
4e2f0000-4e2f4000 rw-p 00078000 03:04 1910609    /usr/X11R6/lib/libGL.so.1.2
4e2f7000-4e360000 r-xp 00000000 03:04 1910492    /usr/X11R6/lib/libGLU.so.1.3
4e360000-4e36a000 rw-p 00069000 03:04 1910492    /usr/X11R6/lib/libGLU.so.1.3
4e36a000-4e873000 rwxp 00000000 03:04 2546868    /usr/X11R6/lib/modules/dri/fglrx_dri.so
4e8be000-568be000 rw-s f0000000 03:04 2693911    /dev/dri/card0
568be000-568ce000 rw-s fe9e0000 03:04 2693911    /dev/dri/card0
568ce000-56cce000 rw-s e8a77000 03:04 2693911    /dev/dri/card0
56cce000-56dce000 rw-s e0001000 03:04 2693911    /dev/dri/card0
56dce000-5708a000 rw-s e0101000 03:04 2693911    /dev/dri/card0
5708a000-571ca000 rw-s e03bd000 03:04 2693911    /dev/dri/card0
5725b000-5775b000 rw-s f0700000 03:04 2693911    /dev/dri/card0
5775b000-57c5b000 rw-s f7b00000 03:04 2693911    /dev/dri/card0
5840e000-58424000 rw-s f0e83000 03:04 2693911    /dev/dri/card0
587fc000-5883c000 rw-s f0c43000 03:04 2693911    /dev/dri/card0
5887f000-588bf000 rw-s f0c03000 03:04 2693911    /dev/dri/card0
58902000-58942000 rw-s f0c83000 03:04 2693911    /dev/dri/card0
589e7000-58a27000 rw-s f0cc3000 03:04 2693911    /dev/dri/card0
58a27000-58a67000 rw-s f0d03000 03:04 2693911    /dev/dri/card0
58a67000-58aa7000 rw-s f0d43000 03:04 2693911    /dev/dri/card0
58aa7000-58ae7000 rw-s f0d83000 03:04 2693911    /dev/dri/card0
58ae7000-58b27000 rw-s f0dc3000 03:04 2693911    /dev/dri/card0
58b27000-58b67000 rw-s f0e03000 03:04 2693911    /dev/dri/card0
58b67000-58ba7000 rw-s f0e43000 03:04 2693911    /dev/dri/card0
58ba7000-58bfd000 rw-s f0e99000 03:04 2693911    /dev/dri/card0
58bfd000-58d53000 rw-s f0ef3000 03:04 2693911    /dev/dri/card0
58d53000-58da9000 rw-s f1049000 03:04 2693911    /dev/dri/card0
58da9000-58e54000 rw-s f109f000 03:04 2693911    /dev/dri/card0
58e54000-58eff000 rw-s f114a000 03:04 2693911    /dev/dri/card0
58eff000-58f3f000 rw-s f11f5000 03:04 2693911    /dev/dri/card0
58f3f000-58f7f000 rw-s f1235000 03:04 2693911    /dev/dri/card0
58f7f000-58fbf000 rw-s f1275000 03:04 2693911    /dev/dri/card0
58fbf000-58fff000 rw-s f12b5000 03:04 2693911    /dev/dri/card0

Local Time = Thu Sep 25 15:36:11 2003
Elapsed Time = 15
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
#


-- Karl
Title: Could not init gl function pointers
Post by: elias on September 25, 2003, 14:44:21
It seems it cannot find the OpenAL library. Do you have libopenal.so in your AF directory?

- elias
Title: Could not init gl function pointers
Post by: princec on September 25, 2003, 14:53:01
That's not actually what's causing the problem though - it's barfing in glActiveTexture, which means there's a bug in the driver.

(AF runs without openAL being present - it just tells you there won't be any sound)

Cas :)
Title: Could not init gl function pointers
Post by: elias on September 25, 2003, 15:52:01
Hm, LWJGL should have disabled OpenGL1.3 because of missing symbols already. Can you try with the liblwjgl_d.so I gave you and give the list of extensions it disables? The lines look like:

NOTICE: %s disabled because of missing driver symbols

- elias
Title: Could not init gl function pointers
Post by: elias on September 25, 2003, 16:22:32
Never mind that - I've found the reason it's not disabled. We do our own checking from java, independent from the native core. It will require some more careful thinking to fix.

- elias