Why is windowed performance so much worse than fullscreen?

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Why is windowed performance so much worse than fullscreen?

Post by AI-team »

When I'm playing in fullscreen and I have V-Sync enabled, I constantly get 60 FPS, whereas in windowed mode my FPS drops down to ~20 and the game becomes absolutely unplayable. I've made some reasearch on whether this problem might be caused by SDL, but couldn't find anything related to it.

I'm running Windows 7 Pro 64bit with the latest video card drivers.
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Why is windowed performance so much worse than fullscree

Post by Light »

AI-team wrote:When I'm playing in fullscreen and I have V-Sync enabled, I constantly get 60 FPS, whereas in windowed mode my FPS drops down to ~20 and the game becomes absolutely unplayable. I've made some reasearch on whether this problem might be caused by SDL, but couldn't find anything related to it.

I'm running Windows 7 Pro 64bit with the latest video card drivers.
I'm pretty sure it's a vsync issue. I use vsync with fullscreen so it don't act up, but windowed sucks. Windowed can run without vsync just fine, but then I have the problems in fullscreen.

Mine don't get as bad as you're talking about though. Mine is still very playable, with my FPS in the 40's or 50's.

// edit:
I guess it could help to note that I'm a Linux user. Using Nvidia on an amd64 system.
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Why is windowed performance so much worse than fullscree

Post by Light »

Nope .. I lied. I'm gettin 58-60 FPS in windowed. I guess it was only when I was on Ubuntu. Idk lol

I haven't played in windowed mode forever, so I wasn't 100% sure.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Why is windowed performance so much worse than fullscree

Post by AI-team »

Yeah when I turn V-Sync off, my FPS almost stays the same.

I know that games usually have less FPS in windowed mode, but a performance-loss of 60% seems to be weird
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Clutch
Shutout Match Winner
Posts: 1008
Joined: Fri Aug 28, 2009 5:53 pm
Location: A frozen wasteland

Re: Why is windowed performance so much worse than fullscree

Post by Clutch »

Really? In some games like Skyrim I get more FPS in windowed. But likewise I get less FPS in windowed playing tron
Boxed
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Re: Why is windowed performance so much worse than fullscree

Post by Jonathan »

Clutch wrote:In some games like Skyrim I get more FPS in windowed.
Same resolution?
ˌɑrməˈɡɛˌtrɑn
User avatar
Clutch
Shutout Match Winner
Posts: 1008
Joined: Fri Aug 28, 2009 5:53 pm
Location: A frozen wasteland

Re: Why is windowed performance so much worse than fullscree

Post by Clutch »

I assume so, since I don't change anything. Unless it forces it to change resolutions when I set it to windowed
Boxed
User avatar
delinquent
Match Winner
Posts: 773
Joined: Sat Jul 07, 2012 3:07 am

Re: Why is windowed performance so much worse than fullscree

Post by delinquent »

When you run arma does the theme switch to "basic"?
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Why is windowed performance so much worse than fullscree

Post by AI-team »

nope
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
delinquent
Match Winner
Posts: 773
Joined: Sat Jul 07, 2012 3:07 am

Re: Why is windowed performance so much worse than fullscree

Post by delinquent »

Do it manually. On win7 there's issues with aero, or whatever it's called in win7.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Why is windowed performance so much worse than fullscree

Post by dlh »

I noticed a performance regression in windowed mode when I upgraded to OS X 10.8. Investigating it is on my TODO list (and now I can once again build the game on OS X…).
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Why is windowed performance so much worse than fullscree

Post by AI-team »

delinquent wrote:Do it manually. On win7 there's issues with aero, or whatever it's called in win7.
Sweet! Disabling Aero did indeed fix the problem, thanks a lot :D
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: Why is windowed performance so much worse than fullscree

Post by Phytotron »

Don't know if it's of any relevance, but back when I was still using Mac, using ATI Displays to activate vsync with Arma: Fullscreen, the FPS would of course be locked to the refresh rate, but when windowed it apparently stopped using vsync and the FPS would jump up to 100+ or whatever.

On Ubuntu, which apparently automatically applies vsync (I've never done anything to activate it, in Linux or in the game), windowed and fullscreen are the same.

Although, the Linux version has some annoying periodic jittering that doesn't occur under Win7; unrelated, I'm sure.
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Re: Why is windowed performance so much worse than fullscree

Post by /dev/null »

Its a common issue on nix systems, I have no idea why. It was supposedly related to compositing, but it rears its ugly head even on systems with no compositing now.
User avatar
delinquent
Match Winner
Posts: 773
Joined: Sat Jul 07, 2012 3:07 am

Re: Why is windowed performance so much worse than fullscree

Post by delinquent »

In a window, the program is subject to limitations placed on it by other programs. This is an issue across all games, across all systems. Plus, the definition of "program" here is not limited to a window with some stuff in it. Even a running DLL in windows can cause an fps drop in other programs.
Post Reply