dualscreen breaks in fullscreen? (50% bug, 50% cool)

dualscreen breaks in fullscreen? (50% bug, 50% cool)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by knorke »

A new computer and monitors appear!
knorke uses dualscreen spring, it is supereffective.
knorke uses dualscreen in fullscreen, spring goes derp.

In springsettings.exe I check the [x]dual-screen option.
Then in windowed mode I resize spring to cover both screens and it works. (minimap on left screen, rest on right screen)
http://h11.abload.de/img/screen00001uwksc.png
(4mb, large image)

But in fullscreen, everything gets messed up:
Image
The right side of the screen is empty (just map background color, not visible in screenshot) and the other half shows both screen at once. (distorted of course) And the screenshot has this funny dimensions. (tried various resolutions in springsettings, including 0x0 which is autodetect(?))

Before I try out all kind of wild things:
Did anyone ever test spring dualscreen and fullscreen?

infolog of fullscreen start:
http://pastebin.com/VC2cY2jN

computer:
Windows Vista 32bit (lol)
Radeon X1300/X1550 Series (not sure why it shows like this, it is just one card?)
two 1280x1024 TFT screens (connected with y-cable)

Beside this problems there are some other minor quirks, but all in all it seems to work good. Windowed mode is good enough for me, I am just wondering.
So thanks that spring has this cool feature!
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by Beherith »

There are a few special options wrt to dualscreen, I dont recall who coded them, may have been Pako. Thats all I know, sorry.

Do you have taskbar on both screens? (are they panned together or primary-secondary?)
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by knorke »

taskbar is only on left screen but the desktop covers both.
if some window is in the middle, it is partly shown on both.
are they panned together or primary-secondary?
hm, like this: Image
By changing these options I only could swap left/right or make both screens show the same image.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by very_bad_soldier »

I tried it some years ago and the problem was that spring does not really support dualscreen. It only spawns one double-width window. You have to configure your graphics driver to act like one big screen instead of two individual screens. I was not able to configure this since using Vista x64. It was possible for me using XP though.
That is at least what I remember. Some years ago I was willing to code something to workaround that but there was never a viable way.

Links:
http://springrts.com/phpbb/viewtopic.php?f=21&t=17012
http://springrts.com/phpbb/viewtopic.php?f=21&t=15828
http://springrts.com/phpbb/viewtopic.php?f=11&t=17293
http://springrts.com/phpbb/viewtopic.php?f=1&t=18666
http://springrts.com/phpbb/viewtopic.php?f=11&t=14335
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by knorke »

thanks vbs.
You have to configure your graphics driver to act like one big screen instead of two individual screens.
I think I had this once, but with xp and nvidia. http://www.softth.com might also be helpfull for this but did not manage yet.
User avatar
Hobo Joe
Posts: 1001
Joined: 02 Jan 2008, 21:55

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by Hobo Joe »

I dream of a day when we can get supcom esque dual screen support, where there are two independent viewports, one for each monitor. If you want one to serve as a minimap, you can simply zoom it out all the way.


But I don't see that happening anytime soon. Or.... ever.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by knorke »

hm, it would work a lot better if not for these two things:
-on start, the window size always gets clamped to one screen
-window position is not restored correctly:
http://springrts.com/mantis/view.php?id=3092

basically that means every game I have to resize the window to the correct size/position. Sadly that breaks lua UI in many mods :roll:
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: dualscreen breaks in fullscreen? (50% bug, 50% cool)

Post by hoijui »

jk seems to have fixed something related to that:
https://github.com/spring/spring/commit ... 9c0a0312be
Post Reply

Return to “Help & Bugs”