currently godot limits itself to 60fps. Can it be increased for maximum speed?
can godot run at high fps than 60?
- Edited
newmodels currently godot limits itself to 60fps. Can it be increased for maximum speed?
Godot 4.0 has the 4 modes available that Vulkan usually exposes (Project settings - Window):
- Vsync enabled (FIFO): runs in sync with monitor's vertical frequency, 144Hz in my case. A number of images ready for presentation is stored in a queue.
- disabled (IMMEDIATE): presents a new image as soon as it is available from the renderer. As fast as possible, but since the monitor can rarely follow there'll be visible tearing.
- MAILBOX: frames are presented at vertical syncs (Vblank). No tearing. Difference to FIFO is that images aren't queued (1 element queue).
- Adaptive (FIFO-RELAXED I guess): When the GPU is not ready like in FIFO, it will wait till the frame arrives and present it regardless of Vblank. May tear.
So, the answer to the question is "Yes", choose 'Vsync disabled' or 'adaptive'. Recommendation: FIFO (Vsync enabled), as it is the best viewer experience (no tearing) and doesn't waste resources for futile calculations :-)
See also:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPresentModeKHR.html
the modes 0 to 3.
You can disable VSync, this will then run the FPS as fast as possible. But I would recommend only using it for testing. VSync will have the cleanest image (no screen tearing) and also save power. For example, on my machine a 2D demo in Godot runs at 10,000 FPS, which just unnecessarily taxes the GPU and uses power when it's impossible to see frames above the refresh rate of the monitor anyway (in my case 144Hz).
Pixophir the answer to question is "Yes", choose Vsync disabled or adaptive.
Adaptive only disables VSync if the FPS is below the refresh rate. Otherwise it caps at the refresh. You can either disable VSync and get the highest FPS (with tearing) or use Mailbox, which also runs at the highest FPS, but doesn't show tearing (it just uses the most recent image rendered).