Oddlabs Forum

It is currently Thu Jul 24, 2014 8:19 pm

All times are UTC + 1 hour




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Error: Could not switch mode
PostPosted: Sun Sep 25, 2005 10:46 pm 
Demo won't run

java.lang.RuntimeException: org.lwjgl.LWJGLException: Could not switch mode.
at com.oddlabs.tt.render.Renderer.run(Renderer.java:588)
at com.oddlabs.tt.render.Renderer.runGame(Renderer.java:192)
at com.oddlabs.tt.Main.main(Main.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddlabs.loader.Loader.main(Loader.java:66)
Caused by: org.lwjgl.LWJGLException: Could not switch mode.
at org.lwjgl.opengl.LinuxDisplay.nSwitchDisplayMode(Native Method)
at org.lwjgl.opengl.LinuxDisplay.switchDisplayMode(LinuxDisplay.java:112)
at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:307)
at org.lwjgl.opengl.Display.create(Display.java:652)
at org.lwjgl.opengl.Display.create(Display.java:630)
at com.oddlabs.tt.render.SerializableDisplayMode.createWindow(SerializableDisplayMode.java:131)
at com.oddlabs.tt.render.SerializableDisplayMode.setModeToNearest(SerializableDisplayMode.java:107)
at com.oddlabs.tt.render.Renderer.initNative(Renderer.java:823)
at com.oddlabs.tt.render.Renderer.run(Renderer.java:585)
... 7 more

kernel 2.6.12
NVidia GF FX5700LE - drivers 1.0-7664
XOrg 6.8.2
1600x1200@75Hz


Top
  
 
 Post subject:
PostPosted: Mon Sep 26, 2005 8:38 am 
Offline
Administrator
User avatar

Joined: Fri Sep 26, 2003 6:44 pm
Posts: 1208
Try setting the environment variable LWJGL_DISABLE_XRANDR to true. In the bash shell this is done by
export LWJGL_DISABLE_XRANDR=true
Other shells might use a different syntax.

- Sune


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 26, 2005 9:51 pm 
Thank you
Now I can play


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group