Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
wbvdw's avatar
wbvdw
Honored Guest
12 years ago

Unity Frame Rate -- Increased...

Curious what everyone else is finding but I've just noticed a 20+ increase in my frame rate by allowing my player to work in windowed mode vs fullscreen. Still set the player to 1280x800 but, enable "Display Resolution Dialog" and uncheck "Default is Full Screen". It's really no different than when you "play" your build inside Unity, which is when I noticed the difference in frame rate...

EDIT - I'm on a MacBook Pro 13-inch, Mid 2012 model. This might be less of an issue for others... but, worth a mention if you need a boost.

Best,
Jason

9 Replies

  • "wbvdw" wrote:
    ... I've just noticed a 20+ increase in my frame rate ...
    "20+" compared to what. What were your before and after framerates?

    Do you have VSYNC turned on?

    With VSYNC on, fullscreen would be limited to your video refresh rate. In windowed mode it can run however fast your rendering complexity allows (even though many frames will not be displayed after rendering).
  • wbvdw's avatar
    wbvdw
    Honored Guest
    Frame rate is the same with or without VSync.

    I was receiving high 20's to low 30's... now I'm receiving high 40's to low 50's. And of course on areas with lower poly's, a much higher frame rate.
  • Tgaud's avatar
    Tgaud
    Honored Guest
    No, if your screen is 60HZ, you will never get more than 60FPS with Vsync.
  • Yes, I am getting 60 on my Air using Tuscany. I keep meaning to pop off VSync and see what I get.
  • wbvdw's avatar
    wbvdw
    Honored Guest
    "Tgaud" wrote:
    No, if your screen is 60HZ, you will never get more than 60FPS with Vsync.


    Yeah my response wasn't clear... I should have said:

    "And of course on areas with lower poly's, a much higher frame rate when Vsync is off."
  • I have experienced a similar framerate discrepency, but have learned it's even more strange than windowed vs. non windowed. If I launch a Unity app full screen with a project I built I get a fairly steady 30 fps. However, if - while running in full screen - I move my mouse to the top of the screen to reveal the Mac Finder menubar, the framerate instantly jumps to 60 fps and stays there - all Unity motion, physics, etc. continues to play at that high framerate as long as that menu bar is visible. If the menu bar goes away I'm back down to 30 fps.

    If you try this at home, you may need to follow these steps:

    1) Lauch a fullscreen Unity app.
    2) Switch back to the Finder (you may have switch spaces)
    3) Switch back to the Unity app.
    4) Move the mouse to the top of the screen to reveal the menubar. Keep it there.

    I'm on a Late 2013 model Macbook Pro, 2.3 GHz Intel Core i7, 16 GB RAM, and I have confirmed that the NVIDIA GeForce GT 750m is engaged while my Unity demo is running and exhibiting this odd behavior.
  • I am on a MacPro late 2013 and windowed mode runs beyond my VSync, but full screen runs at 10-13fps.

    Running Windows 8
    6core xeon
    64gb RAM
    1tb SSD
    dual ATi D700s
  • rupy's avatar
    rupy
    Honored Guest
    I think we need to keep a head room of >200 FPS on target platform without any capping, so when 1080 + increased frequency (is it 90 now?) of CV hits we still manage.

    I wonder if the persistence will require any code or if its all in the hardware?
  • Lane's avatar
    Lane
    Honored Guest
    I noticed an increase of 15 - 20 fps by switching to DX11 mode.