instaltaion problem - linux - Failed to set display mode

Started by theblackrabbit, November 19, 2006, 11:57:22

Previous topic - Next topic

theblackrabbit

Hi,
so I've downloaded the zip file and extracted it as I was told in the instalation guide. Then i browsered to the folder through my command line and typed:

[pawel@localhost lwjgl-1.0beta4]$ java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/linux org.lwjgl.test.WindowCreationTest


What happend then, well a new Window was open (I thought 'that's cool') but  on my console I got the following error:

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 1 display modes
Problem retrieving mode with 640x480x16@60
Problem retrieving mode with 640x480x24@75
Problem retrieving mode with 640x480x32@75
Problem retrieving mode with 800x600x16@60
Problem retrieving mode with 800x600x24@75
Problem retrieving mode with 800x600x32@75
Problem retrieving mode with 1024x768x16@60
Problem retrieving mode with 1024x768x24@75
Problem retrieving mode with 1024x768x32@75
java.lang.Exception: Failed to set display mode.
       at org.lwjgl.util.Display.setDisplayMode(Display.java:243)
       at org.lwjgl.test.WindowCreationTest.setDefaultDisplayMode(WindowCreationTest.java:299)
       at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:87)
       at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

I'm using Linux Fedora Core 5. I made just yestrady yum update so everything should be uptodate. Couldn't find any info on gooogle though. Can anyone help please?

theblackrabbit

Well I actaully I found that

http://lwjgl.org/forum/viewtopic.php?t=1694&view=previous&sid=92e5784e271126794442fb4c762eb197

but  coudl nt  consider it an asnwer that would help.

I do have a driver for my nvida graphic card.


Matzon

do you actually have dri running ?
it might be mesagl running which will fail.
check glxinfo.