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

Jitter in projects #37118

Open
Tracked by #45334
dest1 opened this issue Mar 17, 2020 · 6 comments
Open
Tracked by #45334

Jitter in projects #37118

dest1 opened this issue Mar 17, 2020 · 6 comments

Comments

@dest1
Copy link

dest1 commented Mar 17, 2020

Godot version:
3.11 & 3.2.1

OS/device including version:
Windows 10

Issue description:
I have jitter every ~2 seconds in my Godot projects. Did some test and reduced it to the basics.
I included a simple sample project with a moving kinematicbody2D that moves with:
move_and_collide(Vector2(120,0) * delta) in _physics_process(delta)
What i see is 3 intervals where the sprite jitters, near frame 71, 188 and 304 (and continueing onward). The profiler says the frame time, mainly idle time, is 0.073s on those frame numbers. Which is 4 frames at 60fps.
profiler

I have tried to bypass this with running fullscreen, exporting without debug, putting the move_and_collide in _process instead. It stays very visible.

Minimal reproduction project:
jitter_project.zip

@Calinou
Copy link
Member

Calinou commented Mar 17, 2020

Can you reproduce this if you set Rendering > Quality > Driver > Driver Name to GLES2 in the Project Settings?

@owstetra
Copy link

Make sure that Godot Editor is not Switching to Remote scene tree
Check : Editor -> Editor Settings -> Scroll down to : Debugger -> Turn off : Auto Switch to remote Scene Tree

@dest1
Copy link
Author

dest1 commented Mar 18, 2020

Yes, I tried with GLES2 driver, but nothing seems to change.
Switching to Remote scene tree was off already.
Also, for clarity: i have exported the project and when i run that, it's there as well.

@girng
Copy link

girng commented Mar 18, 2020

I can't reproduce this on 3.2.1. Are you sure you don't have any background applications causing CPU spikes? That normally causes objects to stutter/jitter (for any application, really)

Also, what is your device info? Graphics card and CPU?

@dest1
Copy link
Author

dest1 commented Mar 22, 2020

I have everything closed when i run it. And i dont notice anything when playing other games.
So i dont think so..
My system specs: AMD A8-7410 APU with AMD Radeon R5 Graphics (2200MHz)
Running Windows 10, Home.

@Janglee123
Copy link
Contributor

I cant reproduce it on Linux with 3.2 but running .exe provided in the demo with wine shows noticeable jitters.

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