View Full Version : Could some kindly soul with a Matrox card help out

08-19-2003, 12:00 PM
We're still failing miserably to get Alien Flux (http://www.puppygames.net/downloads/SetupAlienFlux.exe) (10mb) running on Matrox cards.
It just crashes out and leaves us no hints as to why.

Could anybody who's got a G400/450/500 etc have a go with the game who's got some knowledge of debugging these things and see if they can pinpoint the trouble?

I have a *sneaky feeling* it's to do with gamma, and nothing to do with OpenGL.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-19-2003, 12:45 PM
matrox drivers are not very stable(this is a well know fact)... but anyway, some time ago i found an interesting hint about matrox crashes:

it's not really much information about the actual bug, but i think this could be a good starting point.

08-19-2003, 01:05 PM
Thanks; I don't think that's it though - we don't even get as far as changing the screen mode. This is why I suspected it was the gamma code, which is called at around the same time.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-20-2003, 04:24 AM
Tried to contact Matrox devrel about it?

08-20-2003, 09:06 AM
They're not generally helpful. I've contacted them before and got no reply.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-22-2003, 12:32 PM
so, er, no-one has a G400 any more?

Cas http://www.opengl.org/discussion_boards/ubb/frown.gif

08-22-2003, 01:38 PM
Matrox cards are useless. http://www.opengl.org/discussion_boards/ubb/biggrin.gif

You shouldn't "support" their cards until they can write a decent OpenGL ICD. http://www.opengl.org/discussion_boards/ubb/smile.gif

08-22-2003, 02:48 PM
Got a G500 at work, i can test it on monday if you want. Not sure it'll be helpful though, if it does crash, i'm not really sure what i could report to you that could help you.


08-23-2003, 02:19 AM
Ysaneya that would be very helpful. I've got a special debug build of the library which has the gamma code commented out. If the game runs I'll know that's what it is - but not why it doesn't work of course http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-23-2003, 02:22 AM
Is the download the same as in your first post?

08-23-2003, 12:18 PM
There's a few shenanigans to go through which would make debugging a little easier:

Grab 1.4 JVM from Sun: http://www.java.com
Get zipped Java version of the game from: http://www.puppygames.net/downloads/AlienFlux-full-1.4.zip
Unzip game to c:\ somewhere
Get debug DLL from http://www.puppygames.net/downloads/lwjgl_d.zip
Unzip into the same directory
Run the game from the console with:

java -ea -jar AlienFlux.jar >out.log

And tell me if it works! A number of .log files get produced which will be handy in diagnosing any strangeness.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-24-2003, 04:18 AM
Got some time to spare today, so i went to work and made a test. It crashed for me when trying to initialize OpenAL. I have installed the JVM 1.4.2


Starting Alien Flux 1.4b
Gamma set, gamma = 1.0, brightness = 0.0, contrast = 1.0
1244200 free out of 2277376
JWS Classloader looking for: lwjglaudio
Failure locating OpenAL using classloader:


java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java. lang.String)
Sun Aug 24 15:07:48 CEST 2003 at java.lang.Class.getMethod(Unknown Source)
Sun Aug 24 15:07:48 CEST 2003 at org.lwjgl.openal.BaseAL.getPathFromJWS(BaseAL.java :146)
Sun Aug 24 15:07:48 CEST 2003 at org.lwjgl.openal.BaseAL.create(BaseAL.java:100)
Sun Aug 24 15:07:48 CEST 2003 at org.lwjgl.openal.AL.create(AL.java:93)
Sun Aug 24 15:07:48 CEST 2003 at xap.Game.init(Game.java:561)
Sun Aug 24 15:07:48 CEST 2003 at xap.Game.main(Game.java:371)

This was tested on a G550, Win2k and 128 Mb of RAM.

Let me know if you want me to do other tests.


08-24-2003, 12:52 PM
That's actually a red herring; it's a benign exception which has in fact been caught and dealt with.

What's happening is that it crashes after loading OpenAL when it starts to do stuff with the display.

Have you got a debugger anywhere you can trap the crash in?

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-24-2003, 10:59 PM
Ok, so this exception has been caught, and the actual crash happens just after.

I'm not a Java programmer (well i know Java, but don't use it everyday), so i don't have a debugger; the SDK isn't even installed. Is there one in the SDK that i could use? Will it work without the sources?


08-25-2003, 02:31 AM
It's not crashing in the Java code; it crashes in the native DLL. Unfortunately it crashes in such a way as to leave no log of where it goes wrong.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-26-2003, 12:45 PM
Try it with this new debug dll:

Unzip over the existing lwjgl_d.dll and run the game using the -ea switch as before.

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-27-2003, 02:29 AM
Same results/logs.


08-27-2003, 02:49 AM
Why don't you just buy one, cas?
Quick browse shows a g550 costs about 75 brand new - maybe ebay will have a 2nd hand one cheap.

08-27-2003, 11:00 AM
coz last weekend I actually ran out of money so badly I couldn't even buy food for a few days...

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif

08-27-2003, 11:19 PM
Tried getting a job? http://www.opengl.org/discussion_boards/ubb/wink.gif

08-28-2003, 07:49 AM
Nah, just sell plasma.

08-29-2003, 01:19 PM
Job market in the UK has gone down the tubes.
Here's my CV: http://www.puppygames.net/cv.html (somewhat out of date now and might have some strange display issues).

I can't get a contract with that (bull****-free) CV. And there are still some people around who think there isn't some kind of recession going on...

So essentially, I need to fix the Matrox bug and then all those teeming thousands of Matrox users will be buying Alien Flux http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Cas http://www.opengl.org/discussion_boards/ubb/smile.gif