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

Random freezing on Godot 4.0 #50143

Closed
zeroxoneafour opened this issue Jul 4, 2021 · 8 comments
Closed

Random freezing on Godot 4.0 #50143

zeroxoneafour opened this issue Jul 4, 2021 · 8 comments

Comments

@zeroxoneafour
Copy link

zeroxoneafour commented Jul 4, 2021

Godot version

4.0.dev (6e3f479 and cb4e421, when not stripped)

System information

Arch Linux, Vulkan, Official Nvidia Drivers

Issue description

When I am using the editor, usually in the first minute it completely freezes up. Occasionally I will not be able to move my mouse or really interact with my computer at all, but that resolves itself in a few seconds. However, the editor remains frozen. Sometimes I must use a tty to kill it, and other times I can use a terminal emulator from the desktop environment.

Steps to reproduce

Open the editor on Linux. I have tested it with the downloadable binaries and it is not an issue, so it's probably 4.0 only.

Minimal reproduction project

No response

@Chaosus
Copy link
Member

Chaosus commented Jul 4, 2021

Instead of 4.0dev - please, specify the commit hash of the development build and specify a computer configuration: CPU, GPU, and its driver version.

Many of Godot's developers work on Linux and if such a problem appeared it may be fixed a long time ago, and it may be your hardware problem.

@Calinou
Copy link
Member

Calinou commented Jul 4, 2021

Make sure to use a recent enough commit since #41614 was recently fixed.

If you really can't use a newer commit, enable Single Window Mode in the editor settings as described in #41614 (comment).

@zeroxoneafour
Copy link
Author

It seems to only be a problem on non-stripped binaries on the most recent version. In the older version, single window mode worked.

@Calinou Calinou added this to the 4.0 milestone Jul 4, 2021
@ivalylo
Copy link

ivalylo commented Jul 9, 2021

I have similar issue on Windows 10 and NVIDIA video card. Happens rarely. I tracked it to vkQueueSubmit(). It may fail with VK_ERROR_DEVICE_LOST, and Godot can't recover from that.

@clayjohn
Copy link
Member

@zeroxoneafour Are you still running into issues with random freezing in Godot 4?

@clayjohn clayjohn modified the milestones: 4.0, 4.x Feb 22, 2023
@zeroxoneafour
Copy link
Author

It seems to work completely fine now.

@clayjohn
Copy link
Member

It seems to work completely fine now.

Then I will close this as completed :)

@clayjohn clayjohn modified the milestones: 4.x, 4.0 Feb 22, 2023
@ArteFlamel
Copy link

Can confirm that this is still an issue, using Windows 11 though.

Tried 3 different projects, 2 of which have nothing in them besides a single script for testing.

Godot 4.2.1-stable_win64 fresh installed as well as the Steam version as of 3/9/24.

In editor mouse locks and no inputs show, there are still changes being made which is dangerous as in my main project I deleted parts of the project thinking Godot froze.

While the apparent freeze is ongoing scene, project, debug, editor, and help function, also right click context menu appears correctly.

The effect also can happen immediately after attempting to play a scene. After closing that scene any further attempts to open a scene will fail.

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

6 participants