Unable to find requsted display mode. - Revisited

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
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Unable to find requsted display mode. - Revisited

Post by egro »

I'm getting that error when trying to launch client.

I have tried all previous options listed in other posts.

Running kubuntu 6.06
GeForce4 440 w/64meg
1 gig ram. p4 1.4GHz.
The video module is installed correctly, and GL works fine in X.

Currently trying to run windowed 16 bit.

What am I missing?
Nevas
Posts: 26
Joined: Tue Jul 04, 2006 6:05 pm
Location: CT, US of A
Contact:

Post by Nevas »

Have you enabled Xinerama in /etc/X11/xorg.conf? A very old post mentioned that Java uses Xinerama to get its display modes under Linux.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen 0"
Screen "Screen 1" RightOf "Screen 0" # For multi-monitors.
Option "Xinerama" "true"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
That is the relevant section of my config, which is radically different from the stock config (I have multiple monitors). I put the line that I think you are missing in bold. Try that?

I hope this solves your problem.
User avatar
swish1
Posts: 690
Joined: Fri May 26, 2006 10:37 pm

Post by swish1 »

hmm.. Try going to the desktop properties set the screen area differently 1024 by something try everything and then click run in full screen mode and if that does not work try Nevas idea.
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Post by egro »

My default video mode is 1600x1200, if that means anything.

If I cange it to 1024x768, it works, but I don't like running that resolution, as it;s not native to my screen.

Is there a way that I can run it in a windows of the appropriate size on my desktop without changing my resolution every time?
User avatar
swish1
Posts: 690
Joined: Fri May 26, 2006 10:37 pm

Post by swish1 »

hmm.. I dont think so... but changing the resolution is not that hard. But usually if you have a more advanced graphics card. you should get more choices.

Ex. Cheap graphic card.

options.

640pixels and 1024pixels

Ex. good and more expensive graphic card.

640 pixels, 1024 and a lot more

So what i am trying to say is try putting something over the number in which the display works and put something under that you like.
Ex.

If it does not work in 640 pixel and you dont like 1024 pixels put something in middle.

I hope you understand my what i am trying to say

Hope this was help ful
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Post by egro »

I'm not quite sure that I understand. The situation is that it seems I run a higher resolution than the game will support. (or javaws, I don't know).

Anyway, I run 1600x1200 which is the native resolution for my laptop. Running at lower resolutions causes me grief because the picture doesn't look quite right, and get's kinda fuzzy.

Is there a limitation of javaws or is it the actual code?

Switching resolutions in Xwindows (KDE interface) requires a restart of the KDM and that's just not really fun either, especially if I have other windows open.

Maybe I'll just build another machine to play the game. :)
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Post by Nitram »

Did you tried the windowed or the full screen mode?
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Post by egro »

Yes, I have tried both windowed and full screen mode.

I'm going to try it again too. Set the screen back to 1024 x 768 and log in again, just so I can get started.
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Post by egro »

OK, I fixed it.

I had miswritten my xorg.comf file to only allow 1600x1200 at any color depth. Once I rewrite it to allow any res, but prefernce 1600x1200, everything went just fine.

Thanks for the help all!
egro
Posts: 6
Joined: Tue Jul 11, 2006 2:03 pm
Location: Dallas, TX
Contact:

Post by egro »

OK, I know that this is 3 posts in a row, put I thought I had better put my xorg.conf changes here so that others that have the same problem can learn from them.

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 440 Go]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
depth 24
modes "1600x1200@60" "1400x1050@60" "1280x1024@60" "1280x960@60" "1280x854" "1152x768@54" "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection


I used to not have the other video modes listed, and that's what was causing the issue. I just had 1600x1200.
Korbain Thor
Posts: 1
Joined: Mon Jul 31, 2006 1:05 pm

Post by Korbain Thor »

I get that error too, even though I have enabled 1024x768 and other screen resolutions.
What are the exact xorg.conf and Illarion settings I need?

Here are the relevant parts of my xorg.conf:

Code: Select all

Section "ServerLayout"

	Identifier	"Layout1"
	Screen		"Screen1"	0 0
	InputDevice	"Mouse1"
	InputDevice	"Keyboard1"

EndSection
Section "Module"

	SubSection "extmod"

		Option	"omit xfree86-dga"

	EndSubSection

	Load		"glx"

	# Fonts
	Load		"type1"
	Load		"freetype"
	Load		"bitmap"

EndSection
Section "Monitor"

	Identifier	"Monitor1"
	Option		"dpms"

EndSection
Section "Screen"

	Identifier	"Screen1"
	Device		"Device1"
	Monitor		"Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Depth	24
		Modes	"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection

EndSection

Section "DRI"

	Group		"video"

EndSection

Section "Extensions"

	Option		"Composite"	"Enable"

EndSection
And my Illarion.cfg:

Code: Select all

lookatDuration=10
disableMouseWrap=0
fingerprint=xXxXx
frameRate=15
toolTipDelay=2
rotateMinimap=1
relativeMouseWheel=0
soundVolume=90
fullScreen=0
scrollSpeed=5
fadingTime=500
soundOn=1
lowMemory=0
displayColorDepth16=0
editorCloseTimeout=50
locale=de
musicOn=1
lastCharacters=xXxXx
textLog=1
disableTextureUpdate=0
musicVolume=60
savePassword=xXxXx
Post Reply