Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot 4 fps performance regression #79514

Closed
godtmilk opened this issue Jul 15, 2023 · 1 comment
Closed

Godot 4 fps performance regression #79514

godtmilk opened this issue Jul 15, 2023 · 1 comment

Comments

@godtmilk
Copy link

Godot version

4.0, 4.0.3, 4.1

System information

linux-ubuntu20-xorg / windows 10 gtx 1070

Issue description

If the same scene is used in Godot 3 and 4, then there is an undesirable disparity in performance with Godot 4 producing less fps.

Example 1.

A scene with multimesh and many instanced grass:

engine: godot 3.5
renderer: gles3
display window: 1024 x 600
grass triangles: 600,000
fps: ~600
Screenshot from 2023-07-13 14-53-11

engine: godot 4.1
renderer: forward+
display window: 1024 x 600
grass triangles: 600,000
fps: ~330
Screenshot from 2023-07-13 15-04-07_

engine: godot 4.1
renderer: mobile
display window: 1024 x 600
grass triangles: 600,000
fps: ~570

engine: godot 4.1
renderer: compatibility
display window: 1024 x 600
grass triangles: 600,000
fps: ~570

Also, in linux there is a huge difference between the fps when using an empty scene.

Example 2.

An empty scene in linux:

engine: godot 3.5
renderer: gles3
display window: 1024 x 600
fps: ~5000
Screenshot from 2023-07-13 11-33-02

engine: godot 4.1
renderer: forward+
display window: 1024 x 600
fps: ~1500
Screenshot from 2023-07-13 11-38-02

engine: godot 4.1
renderer: mobile
display window: 1024 x 600
fps: ~1500

engine: godot 4.1
renderer: compatibiltiy
display window: 1024 x 600
fps: ~3200

  • An empty scene in windows 10 did not have a big difference between the fps, both
    3.5.2(gles3) and 4.1(forward+) having around 2500 fps.

Steps to reproduce

Use the included projects or compare between godot 3 and 4 with your own scene.

Minimal reproduction project

Grass_Scene.zip

@Calinou
Copy link
Member

Calinou commented Jul 15, 2023

Consolidating in #68959. Thanks for the report!

Also, in linux there is a huge difference between the fps when using an empty scene.

On NVIDIA + Linux, fullscreen performance in Vulkan apps seems to be much lower in a maximized window compared to fullscreen. I noticed this when running vkcube or https://github.com/Calinou/vulkan-tutorial in a maximized window versus actual fullscreen. As this is not exclusive to Godot, this isn't something we can fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants