LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: princec on August 26, 2003, 15:29:53

Title: Matrox cards
Post by: princec on August 26, 2003, 15:29:53
We still can't get LWJGL working on Matrox cards and we've got no real ideas why.

It might be in the gamma code; it might be in the bit of code that finds out what display modes are available - we're just not sure.

Who can diagnose it?

Cas :)
Title: Matrox cards
Post by: whome on August 26, 2003, 19:17:26
See my posts at the end. I have Matrox G400 suxor card.
http://www.puppygames.net/forums/viewtopic.php?t=208
http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1047037254

I've isolated few problems and javagaming forum has a copy of testreport. I can run more detailed tests at home with a special taylored .dll files if necessary.
Title: Matrox cards
Post by: princec on August 26, 2003, 20:07:04
Ok, it looks like you've isolated at least part of the problem. We will have to use a different method of display device enumeration. That should at least get us to the next stage.

I take it you can't get Alien Flux to run?

In which case I'll build a special dll for you to try...

Cas :)
Title: Matrox cards
Post by: princec on August 26, 2003, 20:40:36
Got an experimental .dll ready here (http://www.puppygames.net/downloads/lwjgl_d.zip). It requires the -ea switch to run of course. Try AF out with it and see.

Cas :)
Title: Matrox cards
Post by: whome on August 27, 2003, 05:59:32
I tried early versions of AF, but it failed indeed. I will try it this evening at home (GMT+2 timezone here) and report findings.

Could you please post here a link where I can download an experimental version of AF. And links to other tweaked versions. I currently have (regular) lwjglv0.7 lib installed.

I take it its not this link on AFDemo page.
http://www.puppygames.net/downloads/SetupAlienFlux.exe
Title: Matrox cards
Post by: cfmdobbie on August 27, 2003, 09:01:03
(Cas, you gotta sort out that stylesheet...)

whome, the experimental DLL is linked under the word "here", even though it just looks like plain text!
Title: Matrox cards
Post by: PlanetMongo on August 27, 2003, 17:30:10
Maybe I can help!  I'm running a Matrox G450 at home on my windows box if you need some more help.  :)
Title: Matrox cards
Post by: princec on August 27, 2003, 20:22:08
Sure would be nice if you could help out here.
Snag the zipped AF jar:
http://www.puppygames.net/downloads/AlienFlux-full-1.4.zip

and the debug dll, above,
and run from a command prompt:

c:\xap-full-1.4> java -ea -jar AlienFlux.jar

And let me know what happens.

Heeey.. i thought you'd vanished off the face of the internet?

Cas :)
Title: Matrox cards
Post by: whome on August 27, 2003, 20:45:23
[Matrox Millennium G400 ver 1.1.3 Feb 7 2003, Win2k]
Here is my test report. I tested AF-full.zip, AF-trial-win-demo and last run Riddles chman demo once again. No luck.
http://koti.mbnet.fi/akini/java/lwjgl/

I just found the first AF version I run. AlienFlux.jar is dated on 2003-04-09/4296KB. It at least started and mainmenu works ok. Playscreen can show header, footer and background graphics. But then sprites are not displayed. At startup, it will print a long list of display modes to the console. Current version cannot go even from start.

I can test more if you have something else to install.

UPDATE: run JDK1.4.2, JDK1.4.1_01, JDK1.4.0 but same results.
Title: Matrox cards
Post by: princec on August 27, 2003, 21:04:33
Hm. So it just prints one line with the debug dll and that's it???
Damn. So it must still be going wrong really really early.


Cas :)
Title: Matrox cards
Post by: whome on August 28, 2003, 13:18:26
Just throw me a an another debug dll and I will test it.

And yep, it did practically nothing and then was back in dos prompt. No exceptions or core dumps. There is no any delays in it but jumps back to dos within 1-2 sec.
Title: Matrox cards
Post by: PlanetMongo on August 28, 2003, 15:46:16
Quote from: "princec"
Heeey.. i thought you'd vanished off the face of the internet?


Downloading now, will try it tonight.  I no longer have access at home, I now only browse from work, the way God intended.
:)
Title: Matrox cards
Post by: princec on September 01, 2003, 13:25:54
Hot diggety dang! I am a twat. The dll I uploaded wasn't in fact fixed at all!

There's a new one up in the same place (http://www.puppygames.net/downloads/lwjgl_d.zip) which should be better. Fingers crossed.

Cas :)
Title: Matrox cards
Post by: princec on September 01, 2003, 22:33:09
Arse and double arse. That zip was corrupted; I've just uploaded a new one.

Cas :)
Title: Matrox cards
Post by: whome on September 02, 2003, 16:41:26
See here a new test report with a full output log. Now it had more data to display. Feel free to give more test instructions if you need additional info.
http://koti.mbnet.fi/akini/java/lwjgl/
Title: Matrox cards
Post by: princec on September 02, 2003, 18:51:31
Ok, we did some more stuff and found out a couple more things:
1. We can get Alien Flux to run perfectly in a window but it won't run fullscreen. It actually gets a valid display mode, successfully changes the monitor to this mode, and successfully creates a fullscreen GL window on it, but nothing appears.

2. EXT_compiled_vertex_array is broken on Matrox cards; so I've removed use of it from my code. In fact it was a complete waste of time using it anyway, and it's a crap badly specified extension to boot.

So we're getting there. We need to try and get a fullscreen window working now and then that's a wrap. To this end I'll put up a tiny webstart test with the new DLL in it and you can tell me if you see anything.

Cas :)
Title: Matrox cards
Post by: psiegel on September 03, 2003, 01:14:11
Cas -

I've been missing for a bit I know, and I still owe you some updates on the keyboard error I was having, but I just haven't had the time.  Perhaps in another couple of weeks when our own game goes live I'll have a second to breathe and run some tests.  However, I did feel that I should chime in here.

I've been using a machine as my "low end" test bed with the following specs:

Pentium III 500
64 MB Ram
Matrox Millenium G400 w/ 32 MB VRam
Windows 98 SE

I'm using whatever crappy version of the drivers that came with the card - I didn't want the latest versions to see how it would work.  Well, for my own game I seem to be having the opposite problem you are.  It will run just fine full screen, but it dies horribly when I try to put it in a Window.  Keep in mind also that I'm using LWJGL 0.6 - I haven't had the time to refactor all my code to the new standards in 0.7.  

So, since I noticed you talking about Matrox cards and here I had one, I thought I'd give Alien Flux a whirl and see what happens.  Well, one notable problem seemed that I would run out of ram and suffer a horrible blue-screened death (though this machine is known to be flaky about memory issues, and blue screen any time ram starts to run low.)  I then swapped the 64 MB chip with a 128.  Now Alien Flux ran, but it was a bit odd.

Many images seemed to be missing.  I could see the shadow of the ship, but no ship.  I could also see lazers shooting out from near the shadow.  The bump-mapped background also came in just fine.  But there were no fluffies.  And no aliens of any kind.  I shot around in circles for a few moments and realized the game was unplayable.

Oh, I also tried switching to 30 hz and use low res graphics, but that didn't help any.

Hope this info is helpful.  This machine is destined for a reformat, so if there's anything you want me to try on it, give me a yell asap.  I'll have it in front of me all day tomorrow.

Paul
Title: Matrox cards
Post by: whome on September 03, 2003, 04:41:46
And that same happens on my machine, an older package of AlienFlux does work somehow. I can start it, mainmenu works fine, but then no sprites are drawn on canvas during the game. Sounds work ok and I can clearly move the ship and fire....but as blind.

I dont know the version of lwjgl 'cause dll dont have a "Version" tabsheet. File info is: lwjgl.dll 224 Kb 2003-04-09 22:00

I think .jar file should have a implementation version in a MANIFEST.MF file to track revisions. It does not have atm such info.

Soon as Cas can produce a webstart testbed for us to run we get more information. Maybe you could run a debug dll mentioned in this topic to see whether it dont start anymore.
Title: Matrox cards
Post by: cfmdobbie on September 03, 2003, 09:39:13
This may be the same problem as my S3 Savage - were the graphics messed up, like behind the menus there were copies of the AF sprite sets?  Like this:

http://www.padcroft.org/cfmdobbie/images/AF%20Beta%20ss001.jpg
Title: Matrox cards
Post by: princec on September 03, 2003, 10:03:01
That sprite glitch is a result of glLockArraysEXT simply not working. It might be what causes it on the S3 as well.

Cas :)
Title: Matrox cards
Post by: psiegel on September 03, 2003, 12:35:27
Well, this machine purposefully does not have any JVM installed on it (except I suppose whatever crappy MS JVM comes with Win 98).  Its purpose in life is to emulate the minimum requirements for our game.

I do have a couple different video cards I can slap in it though.  (Which I have done to test my own software.)  Besides the Matrox, I've got an S3 Savage IX, and a Riva TNT2.  

Cas, let me know if there are any more tests you want me to try on this thing.  When it's done with its testing duties, it's slated to become a Linux firewall.  I'll hold off the reformat though if there's tests to be done though.

Paul
Title: Matrox cards
Post by: princec on September 03, 2003, 14:15:35
s'ok, Sandy McArthur's helping me out (leknor) with his machine.

Cas :)
Title: Matrox cards
Post by: princec on September 17, 2003, 15:47:02
Just a quick follow up:
has anyone got the latest Alien Flux to work on Matrox yet?

Cas :)
Title: Matrox cards
Post by: whome on September 20, 2003, 17:43:14
See a coredump here. It did not work.
http://koti.mbnet.fi/akini/java/lwjgl/
http://koti.mbnet.fi/akini/java/lwjgl/test2003-09-20.txt

I downloaded it from this link. Could not find an experimental lwjgl_d.dll anymore.
http://www.puppygames.net/downloads/AlienFlux-full-1.4.zip

Drop me a note here if want an another testdrive.