Page 1 of 1

Problems w/ Client - Unable to find requsted display mode.

Posted: Tue Jul 04, 2006 6:18 pm
by Nevas
Howdy,

I'm having trouble getting the client to run under Linux (Ubuntu 6.06 for x86_64). I am using the Java webstart file from the download page. Here's what I captured in my logfile:
Java Web Start 1.4.2-02 Console, started Tue Jul 04 12:17:10 EDT 2006
Java 2 Runtime Environment: Version 1.5.0_02 by Sun Microsystems Inc.
Logging to file: /home/[redact'd!]/java.log
Fatal error: Unable to find requested screen display mode.
Terminating client!
I installed Sun Java and Blackdown Java from Ubuntu packages (blackdown to get javaws). I'm using the nVidia driver, and I've got a resolution of 2048x768 (across two screens). I'm wondering if my dual-head setup is causing this problem? Here's the relevant snippet from my xorg config:
Section "Screen"
Identifier "Screen 0"
Device "NVIDIA Corporation NV43 [GeForce 6600?]"
Monitor "719B"
DefaultDepth 24
Option "TwinView" "on"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1024x768,1024x768"
Option "SecondMonitorHorizSync" "28-50"
Option "SecondMonitorVertRefresh" "43-75"
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
I searched these forums and found someone suggesting that I enable Xinera. I added the line they posted to the correct section of my config and restarted X, but I had the same problem.

I'm pretty much out of ideas. Anyone have any suggestions on what to try next?

Posted: Tue Jul 04, 2006 9:31 pm
by Nitram
Try to change the color depth to 24bit in the Illarion Client ( Options --> Special)

Linux doesn't support the standart 32bit. So i think that causes the problem

Nitram

Posted: Tue Jul 04, 2006 9:55 pm
by Nevas
I just tried 24 bit - no luck. 24 and 16 both give me the same error message.

Could this have anything to do with my 2048x768 resolution? I've seen a lot of programs with 'fullscreen' options freak out because of it. (And yes, I have tried both windowed and full screen, and I *still* get the error.)

Thank you for your thoughts, though. I appreciate your time.

Posted: Tue Jul 04, 2006 10:01 pm
by Kevin Lightdot
Just wait for Nop to show up I guess. He can Likely help.

Posted: Wed Jul 05, 2006 3:24 am
by Nevas
I realized I was doing something incredibly stupid. I had two versions of Java installed (Blackdown & Sun java). The reason Sun's package did not come with javaws is becuase there's no javaws for x86_64 yet. So I uninstalled both of those packages and installed a 32bit version from Sun's website.

All the same, I *still* get that error for 16 bit, 24 bit, and 32 bit. :-(

Posted: Wed Jul 05, 2006 3:43 pm
by Nitram
Try to run the client in the windowed mode.

Otherwise it would try to set your screen resolution to 1024x768. Maybe he is not able to do this and so it crashes.

Nitram

Posted: Thu Jul 06, 2006 12:52 am
by Nevas
I figured out the problem. TwinView and Illarion do not seem to get on very well. I reconfigured X to use Xinerama for my monitor-voodoo, and now the Illarion client seems happy.

It was an intesting process...I had seen this older post yesterday. It mentioned that Java uses Xinerama for getting its display modes, so on a whim I turned off all of the TwinView crap, leaving me with one screen, and put in the option to enable Xinerama. The client got past the point it has been failing, so I spent about an hour tinkering and got the second screen working the same as I had for TwinView.

Woohoo. I look forward to roleplaying later tonight!

(Edited for clarity; sorry, it's been a long day.)