PDA

View Full Version : Linux Resolutions (Dual Screen)


michael
05-25-2009, 04:51 AM
I love altitude! Great game guys, keep it up. I look forward to its future!

Here is my problem:

Short version: Where does altitude (on linux) pull the available screen resolutions from? Can i hard code new values in to avoid it stretching across my dual screens.

I run altitude in linux (Ubuntu 9.04), with a dual screen setup using the nvidia drivers. When altitude starts (i have it in window mode) the window is 3360x1050. This means if i have stretching off, the game is cut in half, and if i stretch it, its still cut in half, but really really, well stretched. Theree is nothing i can do to change it. 3360x1050 is the only option in the config, and trying to hard code a different value in the config.xml file does nothing, and is reverted immediately upon running the game.

To play, i usually just drag the window onto one screen, but there is still about 900 pixels of black space on both sides of the actual play area.

I assume that the game tries to pull a list of resolutions from the xorg.conf file (which has none in it since i use nvidia-config to manage everything) so it just defaults to the full thing. I haven't tried disabling one monitor before i start the game (which seems like a lame way to fix the problem).

and i'll attach a screen shot and my lsdw

~Blue Hawk

nesnl
05-25-2009, 05:28 AM
To play, i usually just drag the window onto one screen, but there is still about 900 pixels of black space on both sides of the actual play area.


I don't have an answer about the screen resolutions, but I can tell you that from the looks of your screen shot that you are getting the full playing area. They set the playable area so that on widescreen monitors you get black bars on the side. It would give an unfair advantage if you could see more of the battlefield than someone who didn't have a wide screen.

Although not sure if this post might help: http://vapor.nimblygames.com/forums/showthread.php?t=378

lamster
05-25-2009, 07:10 AM
Thanks for the report -- at the moment there's no way to hardcode new resolutions, but I'll add one to the next patch for situations like this.

I'll post here again with instructions when the patch is ready.

michael
05-26-2009, 02:20 AM
I can tell you that from the looks of your screen shot that you are getting the full playing area.

...

It would give an unfair advantage if you could see more of the battlefield than someone who didn't have a wide screen.

Yeah, i understand that, and I agree. Black bars are no problem. But it is annoying that i have way more black than is necessary and it covers up lots of my desktop (kinda defeats the purpose of dual screen if half of the second screen is covered in black :D )

Thanks for the report -- at the moment there's no way to hardcode new resolutions, but I'll add one to the next patch for situations like this.

I'll post here again with instructions when the patch is ready.

Thanks! I look forward to it.

Also, just wanted to add that i tested disabling one monitor prior to starting altitude, but it had the same 3360x1050 huge window. (I didn't restart x or anything though, just disabled the second screen in nvidia-settings and started altitude.)

lamster
05-26-2009, 07:39 PM
The recent patch contains a console command to override your resolution.

Start Altitude, press F1 to open the console, then enter:
testCustomDisplayMode 1024 768

Let me know whether this provides a satisfactory resolution.

michael
05-26-2009, 07:53 PM
Well, the master server is down as i write this, so i can't test gameplay, but in the graphics config i now have the option of 1680x1050 in addition to 3360x1050, and the testCustomDisplayMode works perfectly to set it to anything else I want.

Perfect, Thanks! Keep up the good work!