Some sort problem with lwjgl & matrox card

Started by Big_Bluey, November 23, 2003, 12:10:04

Previous topic - Next topic

Matzon

Matrox sucks - but only for 3D, their 2D is vastly superior to any other card!

Big_Bluey

As I said I've tried every win2000 driver I could find & I've been using Alien Flux demo as a test to see if lwjgl is working.  

To be honest I can't really see why most of the drivers I tried shouldn't work as at least half of them I think have been released over the last 12 months including one on the matrox site a couple of days ago for this card.

Installation number is 9112626804199352320

I must agree I think this card is crap, but it's the one I have with the machine I've been given by my boss to do some jME/lwjgl work with & I can't get another for a few days.  Looks like I'll have to transfer everything to my machine which has a ATI card forthe time being.

Bugger!!   :evil:

BTW thanks for your help! :)

princec

Hm, nothing helpful in the logs.
What sort of debugging output are you getting from LWJGL when you run with the -ea option?

Cas :)

Big_Bluey

how & what would I enable assertions on in Alien Flux?

princec

Ah, somewhat trickier in Alien Flux. But you'd get the same answers just trying to run any of the example code with LWJGL 0.8 anyway. I'd just like to get the output of all the C debugging.

Cas :)

Big_Bluey

just had a go.  Not quite sure about how to use -ea I've never used the assertions which came with 1.4

I know I've missed something

set CLASSPATH=.;lwjgl_test.jar;lwjgl.jar 
java -ea:org.lwjgl.test.opengl.Game


Couldn't tell me what & I'll send you the output.

cfmdobbie

Just a plain -ea should do the trick - I expect it's the Sys class that needs assertions turned on to get the output, but may as well just turn the lot on to be sure.  You were almost right, but need to drop the colon:

set CLASSPATH=.;lwjgl_test.jar;lwjgl.jar
java -ea org.lwjgl.test.opengl.Game
ellomynameis Charlie Dobbie.

princec

DO NOT USE CLASSPATH!

Always use -cp on the commandline:
java -ea -Djava.library.path=C:\lwjgl-0.8-win32 -cp c:\lwjgl-0.8-win32\lwjgl.jar;myCode.jar com.me.Game

or whatever.

Cas :)

Big_Bluey

Sorry about delay broadband went down, here is the output, tell me if you want me to run anything else.

QuoteC:\lwjgl-0.8>java -ea org.lwjgl.test.opengl.Game
Adapter key: \REGISTRY\Machine\System\ControlSet001\Services\G400\Device0
Adapter key: \REGISTRY\Machine\System\ControlSet001\Services\G400\Device0
Driver dll = .dll
GetFileVersionInfo failed
Adapter:  Version: null
Querying Matrox Millennium G400 DualHead - English device
Checking setting #1
Checking setting #2
Checking setting #3
Checking setting #4
Checking setting #5
Checking setting #6
Checking setting #7
Checking setting #8
Checking setting #9
Checking setting #10
Checking setting #11
Checking setting #12
Checking setting #13
Checking setting #14
Checking setting #15
Checking setting #16
Checking setting #17
Checking setting #18
Checking setting #19
Checking setting #20
Checking setting #21
Checking setting #22
Checking setting #23
Checking setting #24
Checking setting #25
Checking setting #26
Checking setting #27
Checking setting #28
Checking setting #29
Checking setting #30
Checking setting #31
Checking setting #32
Checking setting #33
Checking setting #34
Checking setting #35
Checking setting #36
Checking setting #37
Checking setting #38
Checking setting #39
Checking setting #40
Checking setting #41
Checking setting #42
Checking setting #43
Checking setting #44
Checking setting #45
Checking setting #46
Checking setting #47
Checking setting #48
Checking setting #49
Checking setting #50
Checking setting #51
Checking setting #52
Checking setting #53
Checking setting #54
Querying NetMeeting driver device
Found 39 displaymodes
Removed 0 duplicate displaymodes
Setting display mode to 640 x 480 x 16 @60Hz
Created display.
Window registered
Created window
Pixel format is 4
Destroying directinput
Releasing DC
Destroy window
Destroyed window
Failed to create OpenGL due to java.lang.Exception: Mode not supported by hardware


Big_Bluey

I've got lwjgl to work!! :lol:  :oops:  :shock: etc......

Someone sent me a recent driver I hadn't tried, I ran the lwjgl game test & it worked very badly & so did Alien Flux with a few glitches.

This card sucks so I've already changed it with an spare old ATI one I had lying around.

I will never buy or use a matrox card if I can help it again.

Thanks again for your help  :)