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

Crash on lower end hardware when resizing window with mouse #79985

Open
golddotasksquestions opened this issue Jul 28, 2023 · 3 comments
Open

Comments

@golddotasksquestions
Copy link

Godot version

4.1.1 stable

System information

Win 10, latest updates, dedicated Nvidea 765M (2GB VRAM), dedicated Nvidea 1070 (8GB VRAM) both Forward+ renderer

Issue description

On the 765M Laptop Godot 4.1.1 window crashes as soon as I try to resize the Window.
On the 1070 card Godot 4.1.1 drops from ~2100 fps to ~60 fps (vsync disabled) while I try to resize the Window. No crash.

The minimal reproduction scene I tested this has a

Meshinstance3D, (Cube Primitive Mesh)
Camera3D
AnimationPlayer to rotate the cube
WorldEnvironment and DirectionalLight3D to see anything
Label to print the FPS

I have tested this with just the MeshInstance3D and Camera3D with the same result.
Except for disabling vsync, everything else is default. I have also tested this without disabling vsync and the crash on lower spec hardware is the same.

Possibly related: #79446

Steps to reproduce

  1. Run the MRP,
  2. resize window with mouse

Minimal reproduction project

G411_resize_bug.zip

@clayjohn
Copy link
Member

Can you please test on Dev 2 as well? https://github.com/godotengine/godot-builds/releases/tag/4.2-dev2

We just merged #79884 which appears related to this bug

@golddotasksquestions
Copy link
Author

golddotasksquestions commented Jul 28, 2023

It seems like Godot 4.2 dev2 improved things noticeable, the window does not seem to crash anymore on the lower end hardware, but performance still tanks on both GPUs.

On the 1070 the performance drops from ~ 1850 to ~ 60 fps while resizing
One the 765M it's a slideshow while resizing and the Editor in the background gets this weird theme sickness (colors and UI textures changes are different each time):
image
image

@clayjohn clayjohn removed the crash label Jul 28, 2023
@clayjohn
Copy link
Member

This may have been partially fixed by #80571

We should have a new dev builds for testing available soon

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