multiple, mismatched screens

multiple, mismatched screens

Postby Binky » 20 Jul 2012, 18:17

I recently tried connected up an oldish 1280x1024 monitor alongside my newer/normal 1920x1200 screen
Now I can't work out how to get STK running at full res on my larger screen - I can either get it to display a small window, or fullscreen across the two.
The latter is unworkable because there is a huge gap slightly to the left of centre, and the bottom left corner is missing.
I've also found that selecting some of the larger windowed resolutions results in a window 3200px wide, but of the correct height

What's going on? :think:
OpenPandora obsessive - You do want a pocket sized Linux PC with gaming controls, don't you?
Full root access out of the box - Full qwerty keyboard - Full battery lasts 15 hours of real work!
Binky
 
Posts: 128
Joined: 12 Jul 2012, 12:50

Re: multiple, mismatched screens

Postby KroArtem » 20 Jul 2012, 19:43

Seems like something wrong with irrlicht (supertuxkart's engine) as it handles all work with resolution (@developers: fix me if I'm wrong ;))

As for me, I've got a lot of resolutions on my laptop and just a few for my desktop and that sometimes surprises me.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: multiple, mismatched screens

Postby Auria » 21 Jul 2012, 01:17

Hi,

unfortunately we just take the size that irrlicht reports. And irrlicht, in turn, probably just gets it from the OS, and it looks like the OS sees your screen as one big screen.

The solution would be to manually input a resolution. Ideally we would have an interface for that, but at this time we don't, so you can just edit 'config.xml' (where it is depends on the OS) which contains

{l Code}: {l Select All Code}
    <Video
        width="1280"
        height="720"
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: multiple, mismatched screens

Postby Binky » 21 Jul 2012, 14:14

I've found config.xml - but gedit can't guess what character encoding it uses and refuses to open the file.
What editor/encoding is likely to work?
OpenPandora obsessive - You do want a pocket sized Linux PC with gaming controls, don't you?
Full root access out of the box - Full qwerty keyboard - Full battery lasts 15 hours of real work!
Binky
 
Posts: 128
Joined: 12 Jul 2012, 12:50

Re: multiple, mismatched screens

Postby Arthur » 21 Jul 2012, 16:09

gedit works fine, but you have to set it to use Unicode UTF-32.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: multiple, mismatched screens

Postby Binky » 21 Jul 2012, 18:14

OK, I manually set the screen size to 1190 by 1910 (should fill most of my larger screen in windowed mode) but It fills the full width of the two screens instead.
The size I picked also shows up in the resolution picker, but doesn't work.

Is there likely to be a quick fix for this?
OpenPandora obsessive - You do want a pocket sized Linux PC with gaming controls, don't you?
Full root access out of the box - Full qwerty keyboard - Full battery lasts 15 hours of real work!
Binky
 
Posts: 128
Joined: 12 Jul 2012, 12:50

Re: multiple, mismatched screens

Postby Auria » 21 Jul 2012, 19:13

I suspect you left STK in fullscreen mode. I'm afraid that as long as your system reports one large screen, you will not be able to use STK in fullscreen mode, sorry :(
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: multiple, mismatched screens

Postby Binky » 21 Jul 2012, 21:17

Both 'fullscreen' and 'prev_fullscreen' are set to 'false' in config.xml, and it was definitely in windowed mode, It just insists on stretching the window across the two screens horizontally - not vertically, just horizontally, with window trimmings, title bar etc round the sides, top and bottom.

From experimentation, I have found that any resolution/window size with a width of 1280 px or above (which is the width of my smaller screen) causes the window to stretch to the width of my combined screens.
OpenPandora obsessive - You do want a pocket sized Linux PC with gaming controls, don't you?
Full root access out of the box - Full qwerty keyboard - Full battery lasts 15 hours of real work!
Binky
 
Posts: 128
Joined: 12 Jul 2012, 12:50

Who is online

Users browsing this forum: No registered users and 0 guests