0
\$\begingroup\$

In lots of WebGL online games (all games I tested were made with Unity), my FPS is sometimes higher than the max, FPS setting of my PC (75), but why?

enter image description here enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ Where do you set your max FPS setting of 75? \$\endgroup\$
    – DMGregory
    Aug 1, 2023 at 18:20
  • \$\begingroup\$ @DMGregory in Windows' Start > Settings > System > Display > Advanced display settings \$\endgroup\$ Aug 1, 2023 at 18:29
  • \$\begingroup\$ Do you mean the "Refresh Rate" setting? I don't see one labelled "Max FPS" when I check this settings screen. \$\endgroup\$
    – DMGregory
    Aug 2, 2023 at 17:32
  • \$\begingroup\$ Yes it's the refresh rate setting \$\endgroup\$ Aug 3, 2023 at 6:48

1 Answer 1

0
\$\begingroup\$

There are multiple rates being measured here.

The game is telling you how many times it's redrawing the scene with a frame that could be displayed.

Every 1/75th of a second, your computer refreshes your screen and displays the most recent frame.

If the game were running at 150 FPS and your screen at 75Hz, you'd be seeing roughly every other frame generated by the game.

This disconnect happens because WebGL (or other window-mode games) don't take full control of the display, so the OS is still responsible for redrawing the screen as a whole. It then uses one of several methods to render the game content (sometimes it uses a buffer and treats it like any other window content, other times it offloads to the GPU for the render directly).

Which method it uses depends how the game's been written, what the GPU and OS support, whether hardware acceleration is used, etc, etc.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .