-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Forward + and Mobile renderers cause jitter in player position movement over time on machine with 1070 ti #89128
Comments
Does it work correctly if you only update |
Apologies, forgot to check this on my son's machine before he went to bed. I'll try to run it tomorrow. |
I also ran into this exact same problem where the character vibrate when moving around with the camera node attached to them on my desktop. However, when I ran it on my laptop, everything seems to be working as intended. I have a rx 580 and a ryzen 5 3500. |
No difference after moving it all within physics process |
https://technical.city/en/video/GeForce-GTX-1070-Ti-vs-Radeon-RX-580 According to this, 1070ti and rx580 have some similar graphics support, so could be same issue? |
I can't reproduce this on 4.3.dev 9b94c80 (Linux, GeForce RTX 4090 with NVIDIA 545.29.06). Even when running the project with Are you sure this isn't jitter due to frameskips or a lack of physics interpolation? Are you using a multi-monitor setup on the affected systems, specifically with different refresh rates on each monitor? This is bound to cause issues with smoothness in general, even in apps outside of Godot. Physics interpolation can help with this to an extent, but there's only so much it can do. |
It is multi monitor, but I don't know how likely that is to be the cause, particularly since the compatibility renderer works. My machine is also multi monitor with different refresh rates. I'll try to test it tomorrow be sure though, as I've heard of stranger things. As for frame skips or physics interpolation, I know for sure there are no frame skips. The lack of interpolation is a hard maybe, but as you can see from that video and you and my testing it certainly doesn't cause an issue on other hardware. |
Hopefully I'll have my own test system here in a bit so I can test after kids crash... but might be a week or more |
Going to a single display didn't have any effect |
Tested versions
Reproducable in in latest 4.3 and 4.2.1
System information
Windows 11, Ryzen 5 5500, GTX 1070 Ti. Driver 551.61
Issue description
My son's player character was built following this tutorial: https://www.youtube.com/watch?v=KceMokK2qFA
On his computer the character/camera will seem to lag for a frame, then for a couple frames, and eventually vibrate the screen as the character moves. When printing the X position, we were able to see that as far as the game was concerned, the player always moved consistently. We then detatched the camera from the player to see if it was a camera issue. When we did this, the player would be the only thing to begin to vibrate (again, progressively worse as the game ran).
My friend and I pulled the code up on our own machines, and low and behold we didn't see the issue. I went back to my son's machine and after several tests (including the latest Godot dev build), finally started changing renderers. We found the compatibility renderer resolved the issue. The only major difference between my son and I's machine is our graphics cards. His is a Ryzen 5 5500 cpu with 16gb ram and a 1070ti, mine is a 5800x3d, 16gb ram, with an rx 6600.
Character Script:
Character Scene:
Steps to reproduce
run game project
press 'Play' menu button
wait about 10-15 sec and notice that any movement of the player from the arrow keys causes jitters if your Graphics card is affected.
Minimal reproduction project (MRP)
https://github.com/VinDoughty/CrumbledMap2
The text was updated successfully, but these errors were encountered: