godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.23k stars 21.22k forks source link

FPS almost halved going from 4.4 dev3 to 4.4 dev 4. #99420

Open produno opened 14 hours ago

produno commented 14 hours ago

Tested versions

Reproducible in Godot 4.4 dev 4.

System information

Godot v4.4.dev4 - Windows 10.0.22631 - Single-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 32.0.15.6614) - 13th Gen Intel(R) Core(TM) i7-13700K (24 threads)

Issue description

I seem to have a much lower fps in Godot 4.4 dev4 compared to Godot 4.3 dev3.

Here are some benchmarks within the same scenario.

Dev 3 editor: 383fps Dev 4 editor: 200fps

Dev 3 exported: 402fps Dev 4 exported: 240fps

This is using the Forward+ renderer for a 2D game. I also make heavy use of the RenderingServer. Sorry I have not had the chance to test this further.

Steps to reproduce

Try open a 2D game scene using the Forward+ renderer in Godot 4.4 dev3 and then also in Godot 4.4 dev4. (Please note, i have not tried this on a new empty scene)

Minimal reproduction project (MRP)

N/A

akien-mga commented 12 hours ago

I can't reproduce with a simple 2D project I have available like https://github.com/johncoffee/ngj-2024/

With 4.3-dev3 and 4.3-dev4 I get around 1070-1100 FPS with --disable-vsync --print-fps in the main menu scene.

So we'll need more details about what your project is doing to pinpoint what causes the perceived performance regression.