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

Game freezes while loading a map #1191

Closed
a-blob opened this issue Jul 28, 2023 · 16 comments
Closed

Game freezes while loading a map #1191

a-blob opened this issue Jul 28, 2023 · 16 comments

Comments

@a-blob
Copy link
Contributor

a-blob commented Jul 28, 2023

The game freezes in singleplayer while loading maps on some computers, which only happens while loading a second map after the game loads the first one after voting. This problem persists since version 3.3.0. When frozen, the player can move around but the game does not respond or teleport the player to the next map. If attempted to exit the game, Minetest freezes and crashes.

@LoneWolfHT
Copy link
Member

How many cores do these computers have?
Are you able to wait it out? It may just be taking a long time

@farooqkz
Copy link
Contributor

I had a similar problem using a VPS for a testing server. The game crashes when the match begins upon barrier removal. The problem was with low memory and the OOM killing the process. The temporary workaround was adding more swap using swapfile.

The long term solution is modifying smaller chunks of the map for barrier removal.

@a-blob
Copy link
Contributor Author

a-blob commented Jul 28, 2023

How many cores do these computers have?

The current one I'm using, which has the problem, has 10.

Are you able to wait it out? It may just be taking a long time

It does eventually load, but that's after waiting approximately 7 minutes.

@farooqkz
Copy link
Contributor

How much free memory have you got on the computer?

@a-blob
Copy link
Contributor Author

a-blob commented Jul 28, 2023

Around 10 GB.

@farooqkz
Copy link
Contributor

farooqkz commented Jul 28, 2023

Hmm then it probably is not the issue I was encountering

One more question:

During this 7 minute period, do all the 10 cores get used to maximum?

@a-blob
Copy link
Contributor Author

a-blob commented Jul 28, 2023

No, they're pretty much idle.

@a-blob
Copy link
Contributor Author

a-blob commented Jul 28, 2023

Funny enough, if you close the Minetest window during the 7 minutes, it continues running in the background.
image

@farooqkz
Copy link
Contributor

No, they're pretty much idle.

That's the problem then. Relying on a single core is making it take too long and crash. Are you on Windows?

@a-blob
Copy link
Contributor Author

a-blob commented Jul 29, 2023

Yep

@165135
Copy link
Contributor

165135 commented Aug 15, 2023

I have basically the same problem (When loading the second map in a mode or after that mode has already been run at least once.) The game freezes for about a 20 seconds to a minute, in the same fashion that was already described. Minetest isn't even using an entire core of cpu, practically none, and memory isn't a problem either...

@src4026
Copy link
Contributor

src4026 commented Aug 15, 2023

This could also be the issue I have been facing on a CTF server that is public.:thinking:

@farooqkz
Copy link
Contributor

I never had this problem. All those who have got this problem on Windows? Does anybody from Linux have this problem?

@src4026
Copy link
Contributor

src4026 commented Aug 16, 2023

I never had this problem. All those who have got this problem on Windows? Does anybody from Linux have this problem?

When I run single player on Linux, I do not run into this issue. However, I think the server that Catars runs for me is also on Linux, need to verify that once with them.

@a-blob
Copy link
Contributor Author

a-blob commented Aug 16, 2023

Some on Windows are also not experiencing this problem, so this might not be related to the OS.

@a-blob
Copy link
Contributor Author

a-blob commented Sep 19, 2023

It seems like this is fixed now.

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

5 participants