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

If you found a bug in Illarion or need help ask here. / Wenn Du einen Fehler in Illarion gefunden hast oder Hilfe benötigst, frage hier.

Moderator: Developers

Post Reply
Nevas
Posts: 26
Joined: Tue Jul 04, 2006 6:05 pm
Location: CT, US of A
Contact:

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

Post 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?
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Post 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
Nevas
Posts: 26
Joined: Tue Jul 04, 2006 6:05 pm
Location: CT, US of A
Contact:

Post 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.
User avatar
Kevin Lightdot
Posts: 2849
Joined: Sun Oct 16, 2005 8:17 pm
Location: Green again

Post by Kevin Lightdot »

Just wait for Nop to show up I guess. He can Likely help.
Nevas
Posts: 26
Joined: Tue Jul 04, 2006 6:05 pm
Location: CT, US of A
Contact:

Post 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. :-(
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Post 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
Nevas
Posts: 26
Joined: Tue Jul 04, 2006 6:05 pm
Location: CT, US of A
Contact:

Post 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.)
Post Reply