Page 1 of 1

Window too large to play on Linux with multi-monitor setup

Posted: Sat Dec 03, 2011 12:18 pm
by goonzo
The window is way too large to play if you have a two monitor setup.

I'm on openSUSE 12.1 64bit and I tried

Code: Select all

uplink.bin.x86_64 -graphics_fullscreen '!graphics_screenwidth' 1024 '!graphics_screenheight' 768


This only affects the login page and there only the rendering of the graphics - the window is still >2600x1200. As soon as I log in, the graphics is again rendered over the whole area and most of the elements (like the status text at the bottom) is unreadable without moving the window around.

The same happens when I click on "Options": As soon as I leave the login page, the game ignores my width/height settings :-(

On the Graphics page, I'm offered 2560x1200 ... 3840x1200.

Any ideas how I can fix that?

Posted: Sat Dec 03, 2011 3:42 pm
by frenchfrog
Uplink display only the available screen resolutions.

You may need to modify the xorg.conf file to add a modes or virtual???

Posted: Sun Dec 04, 2011 12:46 pm
by goonzo
I've enabled debugging in SDL and the modes listed in the game are the only ones which XRANDR offers. I don't know how to add more modes to my X11 config (my driver figures them out by itself), so I created a patch for SDL which allows to specifiy a window size, no matter what SDL/X11 thinks as "valid". You can find the patch here:

https://gist.github.com/1429985