-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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.1 slow down when resizing window - Windows 11 - Forward+ #79446
Comments
I can't reproduce this on 4.1.stable (Linux/X11, GeForce RTX 4090 with NVIDIA 535.54.03). This is likely Windows-specific. Recreating buffers is much more expensive in Vulkan than OpenGL, so I'm not sure if this can be completely fixed. This is not only because the Vulkan-based renderers are much more advanced than OpenGL, but also because of how Vulkan works. (The same goes for project startup times.) @coumcashier Remember that for GitHub video previews to work, you need to have a blank line before and after the video URL. I edited your post accordingly, but remember to do this in the future 🙂 |
This also affects the editor window. System Info: Godot v4.2.beta (a574c02) - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 31.0.15.3598) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads) When the debugger is attached I get this in the debug console:
These messages continuously repeat while resizing. |
@Calinou I did some rough tests and found it maybe related to vsync. (specially vulkan renderers on Windows) As the following video shows, with vsync disabled, resizing behaves smoothly, and if vsync was set to 'enabled' it will jitter. 2024-02-27.00-37-23.mp4And the same settings on macos and linux looks totally fine. |
Godot version
v4.1.stable.official [9704596]
System information
Godot v4.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 31.0.101.3889) - 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 Threads)
Issue description
When using forward+ and mobile renderer the game window does not update while it is being resized.
The window content updates when the cursor comes to a stop (without releasing left mouse button).
When recording with OBS it seems to update more frequently as shown in the video.
This issue does not occur with the compatibility renderer
resizing with forward+
forward+.mp4
resizing with compatibility
compat.mp4
Steps to reproduce
Resize the window of any project produced by Godot 4.1 or the Godot editor.
example shown in video
spinning-cube.zip
Minimal reproduction project
spinning-cube.zip
The text was updated successfully, but these errors were encountered: