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 3.x (Linux): Major stutter/freeze after every several minutes of gameplay #79816

Open
Marigem opened this issue Jul 23, 2023 · 7 comments

Comments

@Marigem
Copy link

Marigem commented Jul 23, 2023

Godot version

3.5.2

System information

Arch linux, GTX 650, 4 × Intel® Core™ i3-3220 CPU @ 3.30GHz, 8GB of ram

Issue description

A major stutter-freeze (lasting ~1 sec) happens after playing for a certain amount of time, varying from every several, to every dozen minutes. This happens on every project, exported or in editor, even Steam games that are made with Godot, like Primal Light.

This is what the profiler reads when it happens:

freeze

It's not the PC or OS, because this doesn't happen in games not made with Godot. They all run smoothly, depending on how graphic intensive they are of course, but 2D games don't give me any such trouble.

Steps to reproduce

N/A

Minimal reproduction project

N/A

@AThousandShips
Copy link
Member

AThousandShips commented Jul 23, 2023

It's not the PC or OS, because this doesn't happen in games not made with Godot.

This can't be assumed from this, can still be driver and hardware related just not affecting those cases, and it likely is because other users aren't experiencing the same thing

@Marigem
Copy link
Author

Marigem commented Jul 23, 2023

I can safely assume this, because I've been using this PC for years and this has yet to happen with anything other than Godot.
My windows PC also has Godot-specific performance issues, like #65649 and #71391

@AThousandShips
Copy link
Member

What I'm saying is that if it was Godot in general, rather than specifically drivers/OS/hardware or those interacting with Godot, everyone would be experiencing this, and they aren't

@Zireael07
Copy link
Contributor

Is VSync on or off?

@Marigem
Copy link
Author

Marigem commented Jul 23, 2023

Vsync is on

@Calinou
Copy link
Member

Calinou commented Jul 23, 2023

Do you play in fullscreen or in a window? Windowed mode on Windows will always suffer from more or less stuttering depending on PC specs. To ensure smoothness, you need to play in fullscreen.

@Marigem
Copy link
Author

Marigem commented Jul 24, 2023

Yes it's in fullscreen. The profiler screenshot shows smooth gameplay until that giant spike.

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

4 participants