Hi!
I think a more constructive approach (than only criticizing LWJGL) is to show you some examples of games that don't work on my machine. I wanted to help another member to write a JNLP file that would allow to install LWJGL. I tried the example game "Space Invaders":
http://www.lwjgl.org/jnlp/lwjgl-demo.php/examples.spaceinvaders.GameI heard the sound (when I clicked) but
I had only a black screen. I watched the Java console, I saw nothing except: "Use - fullscreen for fullscreen mode". What can I do to? I get 62 FPS.
I'm under Mandriva Linux 2007, AMD Sempron 2600+, 2 GB DDR, ATI Radeon 9250 Pro with the Xorg driver.
I get this with the demo TestControllers:
Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
Linux plugin claims to have found 0 controllers
0 Controllers Found
HWCursorTest works.
KeyboardTest works.
MouseCreationTest works.
MouseTest works.
ALCTest works:
Default device: ALSA Software on default
Available devices:
0: ALSA Software on default
1: ALSA Software on VIA 8237
2: OSS Software
3: Wave File Writer
DEFAULT_DEVICE_SPECIFIER: ALSA Software on default
DEVICE_SPECIFIER: ALSA Software on default ALSA Software on VIA 8237 OSS Software Wave File Writer
EXTENSIONS: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
ALC_MAJOR_VERSION: 1
ALC_MINOR_VERSION: 1
Value of ALC_MAJOR_VERSION: 4096
MovingSoundTest works.
OpenALCreationTest works.
PlayTest works.
PlayTestMemory works.
PositionTest works.
SourceLimitTest works:
Default device: ALSA Software on default
Available devices:
0: ALSA Software on default
1: ALSA Software on VIA 8237
2: OSS Software
3: Wave File Writer
Creating 64 in one go...created 64 sources successfully!
Creating 64 one at a time...created 64 sources successfully!
StressTest works.
FullScreenWindowedTest works.
PbufferTest doesn't work but it is my fault:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| org.lwjgl.LWJGLException: No Pbuffer support at org.lwjgl.opengl.LinuxPbufferPeerInfo.nInitHandle(Native Method) at org.lwjgl.opengl.LinuxPbufferPeerInfo.<init>(LinuxPbufferPeerInfo.java:52) at org.lwjgl.opengl.LinuxDisplay.createPbuffer(LinuxDisplay.java:1116) at org.lwjgl.opengl.Pbuffer.createPbuffer(Pbuffer.java:247) at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:229) at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:200) at org.lwjgl.test.opengl.PbufferTest.initialize(PbufferTest.java:99) at org.lwjgl.test.opengl.PbufferTest.execute(PbufferTest.java:86) at org.lwjgl.test.opengl.PbufferTest.main(PbufferTest.java:397) 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:597) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1293) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086) at com.sun.javaws.Launcher.run(Launcher.java:105) at java.lang.Thread.run(Thread.java:619) |
Now my task bar has become strange, the bottom right corner is not displayed correctly

My desktop too

VBOIndexTest works and the previous symptom disappeared

VBOTest works.
GLGears doesn't work, the screen is black and I get this in the console:
GL_VENDOR: Tungsten Graphics, Inc.
GL_RENDERER: Mesa DRI R200 20060602 AGP 1x x86/MMX+/3DNow!+/SSE TCL
GL_VERSION: 1.3 Mesa 6.5.2
glLoadTransposeMatrixfARB() supported: true
4187 frames in 5.0 seconds = 837.4
3983 frames in 5.0 seconds = 796.6
3773 frames in 4.999 seconds = 754.7509
4538 frames in 5.0 seconds = 907.6
31549 frames in 5.0 seconds = 6309.8
34909 frames in 5.0 seconds = 6981.8
32927 frames in 5.0 seconds = 6585.4
31993 frames in 5.0 seconds = 6398.6
35334 frames in 5.0 seconds = 7066.8
26062 frames in 4.999 seconds = 5213.4424
3811 frames in 4.999 seconds = 762.3525
Systest works:
==== Test Alert ====
Opening native alert window
---- Test Alert ----
==== Test Debug ====
Debug is not enabled. Please set the org.lwjgl.Sys.debug property to true to enable debugging
Example:
java -Dorg.lwjgl.util.Debug=true ...
You will not see any debug output in the following tests.
---- Test Debug ----
==== Test Timer ====
Resolution of timer (ticks per second): 1000
Current time: 1232873537524
Sleeping for 2 seconds, using Thread.sleep()
Current time: 1232873539531
Actually slept for: 2.007 seconds
---- Test Timer ----
==== Test URL ====
Opening a browser window to
http://www.lwjgl.org---- Test URL ----
Contents of clipboard: 'null'
DisplayTest works but
why does it say my graphics card is null??? :
==== Test Current ====
Info about current:
Graphics card: null, version: null
Resolution: 1280x1024x24@60Hz
---- Test Current ----
==== Test query ====
Retrieving available displaymodes
Found 6 modes
The first 5 are:
400 x 300 x 24 @60Hz
1024 x 768 x 24 @60Hz
800 x 600 x 24 @60Hz
1280 x 1024 x 24 @60Hz
640 x 480 x 24 @60Hz
1280 x 960 x 24 @60Hz
---- Test query ----
==== Test setDisplayMode ====
Retrieving available displaymodes
Looking for 640x480...found!
Changing to mode...done
Resolution: 640x480x24@60Hz
Resetting mode...done
---- Test setDisplayMode ----
==== Test setDisplayConfigurationTest ====
Testing normal setting
Configuration changed, gamma = 1.0 brightness = 0.0 contrast = 1.0
Testing gamma settings
Configuration changed, gamma = 5.0 brightness = 0.0 contrast = 1.0
Configuration changed, gamma = 0.5 brightness = 0.0 contrast = 1.0
Testing brightness settings
Configuration changed, gamma = 1.0 brightness = -1.0 contrast = 1.0
Configuration changed, gamma = 1.0 brightness = -0.5 contrast = 1.0
Configuration changed, gamma = 1.0 brightness = 0.5 contrast = 1.0
Configuration changed, gamma = 1.0 brightness = 1.0 contrast = 1.0
Testing contrast settings
Configuration changed, gamma = 1.0 brightness = 0.0 contrast = 0.0
Configuration changed, gamma = 1.0 brightness = 0.0 contrast = 0.5
Configuration changed, gamma = 1.0 brightness = 0.0 contrast = 10000.0
resetting...done
---- Test setDisplayConfigurationTest ----
WindowCreationTest works but I get this in the console:
The following keys are available:
ESCAPE: Exit test
ARROW Keys: Move window when in non-fullscreen mode
L: List selectable display modes
0-8: Selection of display modes
F: Toggle fullscreen
SHIFT-F: Toggle fullscreen with Display.destroy()/create() cycle
Found 6 display modes
Problem retrieving mode with 640x480x16@-1
Problem retrieving mode with 640x480x32@-1
Problem retrieving mode with 800x600x16@-1
Problem retrieving mode with 800x600x32@-1
Problem retrieving mode with 1024x768x16@-1
Problem retrieving mode with 1024x768x32@-1
I don't know why it happens but in AWT, most of my available display modes use BIT_DEPTH_MULTI and REFRESH_RATE_UNKNOWN.
I spent 40 minutes to make these tests, I hope it will help you to drive your API more reliable and now, you cannot accuse me of FUD. As you know, English is not my mother tongue. FUD means Fear Uncertainty and Doubt, doesn't it?
N.B: Jake 2 LWJGL version works fine on my machine. Therefore, I assume GLGear doesn't work because of a bug appeared in a LWJGL version younger than the one used in Jake2.