Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question Same project runs at 400 FPS on desktop, 40 FPS on Laptop that has better specs?

Discussion in 'Editor & General Support' started by mrCharli3, Oct 11, 2023.

  1. mrCharli3

    mrCharli3

    Joined:
    Mar 22, 2017
    Posts:
    956
    I am lost, I have a simple prototype that uses cubes and capsules, 4-5 on screen at the same time, thats it.

    As expected, on desktop computer it runs at 400+ FPS, but on my laptop (with a 4090) it runs at 40 FPS. I can run all the latest AAA games on Ultra without any issues on this laptop. What could be causing this? It's the same project.

    profiler on laptop:

    upload_2023-10-11_21-33-39.png
     
  2. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    763
    usually laptops have a mobile version of the card, so dont actually perform at the same their desktop counterpart of the same name would make. So it could be a little to do with the card in the desktop, however 10x? seems a lot.

    vsync is work of the devil, make sure its disabled. It looks possibly enabled in your graph although lots of colours are similar hue and murkey colours IMHO by default.

    Your laptop may also be throtelling due to power, heat etc. desktops dont tend ot that
     
    Ryiah likes this.
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,106
    Just a glance at the stats window seems to indicate that the game is CPU bound, so the GPU wouldn't matter much. Your laptop CPU is likely running at a lower frequency, with fewer cores and cache than the desktop CPU.

    Also to be sure, run a gaming benchmark on both machines to see whether both machines actually do have the performance difference in the offset range that you expect them to have.
     
    Ryiah likes this.
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,141
    It's likely some combination of these two. A laptop is a very small form factor so manufacturers will often priotize the throttling, power delivery, and cooling of one component over the other. Cooling components like fans and heatsinks are typically shared, and in some cases the heatpipes used to transport heat to them are shared too.
     
  5. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,930
    Also check the power settings, it should be on "maximum power" instead of "balanced" or "battery saver". Or something like that. And only use it plugged in.