Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  LWJGL & Linux  (Read 2440 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2003-06-04 16:14:08 »

Hi Smiley

I'm currently trying to get my game working on Linux (yahoo! 1st positive results are in  Cheesy) and I have a couple of questions:

1. Display.getAvailableDisplayModes() seems to return only the modes which are defined in some config file (sorry to be vague, apart from the usual grepping and stuff I don't know anything about linux).
Is this a linux limitation or an lwjgl characteristic?

2. I'm still unclear about the 2 linux implementations of lwjgl. There's a red hat one and a suse one. What about other linux implementations? Will that simply not work or do they need either of the 2 native libs?

3. Is there a way to tell the different linux flavours apart in a JWS jnlp file? The <nativelib> element has an 'os' and an 'arch' attribute, and os="Linux" seems to work for RH. I suppose 'arch' is something like 'x86' on PC's?

Greetings,
Erik

Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #1 - Posted 2003-06-04 16:33:03 »

I'll take a crack at this:

Quote
Display.getAvailableDisplayModes() seems to return only the modes which are defined in some config file (sorry to be vague, apart from the usual grepping and stuff I don't know anything about linux).
Is this a linux limitation or an lwjgl characteristic?


This is a characteristic of XFree86. It's a rather primitive X Server that's grown up into a very complex piece of code.  For now, autodetection trys to list all supported modes during configuration. Hopefully the X Server will just plain get smarter in future revisions. (I'm not holding my breath.)

Quote
I'm still unclear about the 2 linux implementations of lwjgl. There's a red hat one and a suse one. What about other linux implementations? Will that simply not work or do they need either of the 2 native libs?


Actually it has nothing to do with RedHat vs. Suse and everything to do with the GLib version. I don't remember who uses what, but cutting edge Linuxes (Mandrake 9.1, RedHat 8&9, etc.) should use the RedHat download while more stable ones (Suse, Debian, etc.) should use the Suse download. The situation here is kind of like VBRun4 vs. VBRun5. Machines can always upgrade to the latest version of GLib and use the RedHat download.

Quote
Is there a way to tell the different linux flavours apart in a JWS jnlp file? The <nativelib> element has an 'os' and an 'arch' attribute, and os="Linux" seems to work for RH. I suppose 'arch' is something like 'x86' on PC's?


I'll punt on this one. Different systems have different files/utilities that can be used to determine the exact OS. As for what they are, I'm afraid I don't remember...

Java Game Console Project
Last Journal Entry: 12/17/04
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #2 - Posted 2003-06-05 21:05:52 »

Thanks, jbanes  Smiley

These things really ought to be documented when lwjgl 1.0 hits the streets (but hopefully sooner, hint, hint  Wink)

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 392
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2003-06-06 09:43:27 »

Ok, I'll let the cat peep out of the bag, but this is what's happening: the LWJGL is officially going to move back home and come and live with us at puppygames.net. It's undecided whether we'll move the CVS off of sourceforge and put it on our own server, maybe not, because then it's their bandwidth Smiley

After the release of AF I'm going to be dedicating three whole months to finishing LWJGL and getting it to 1.0, which means fully documenting it inside and out for users and porters alike. I will also be running a series of tutorials.

It was all part of the master plan, see.

Cas Smiley

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (9 views)
2014-10-02 14:36:20

Pippogeek (41 views)
2014-09-24 16:13:29

Pippogeek (32 views)
2014-09-24 16:12:22

Pippogeek (22 views)
2014-09-24 16:12:06

Grunnt (47 views)
2014-09-23 14:38:19

radar3301 (30 views)
2014-09-21 23:33:17

BurntPizza (65 views)
2014-09-21 02:42:18

BurntPizza (37 views)
2014-09-21 01:30:30

moogie (44 views)
2014-09-21 00:26:15

UprightPath (53 views)
2014-09-20 20:14:06
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!