-
Notifications
You must be signed in to change notification settings - Fork 0
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
Jittery Movement #18
Comments
What platform are you running on? Can you go to the console and try to set cl_maxfps to a lower value, like 10? |
I'm using Windows 10, and vsync should be on. I'll try and run it on Steam to see the fps counter. |
Huh, even with "sync every frame" on, which I'm guessing is vsync, I'm getting around 600 fps. I have a 60 Hz monitor. |
Just for your own reference in figuring out what's going on; I had the same issue at default FPS of 60. Turned on vsync, or "sync every frame" which I assume is vsync, and the issue was fixed. Mostly. |
Hey, were you using an AMD card? The issue is completely gone for me, now that I got an NVIDIA card. |
It appears to be an issue with Id Tech 2's 10hz tickrate and client-side prediction. When cl_predict is set to 0, this jitter goes away, but due to the nature of a hard-coded tickrate, movement feels delayed and simply wrong. To read more into this issue: skullernet/q2pro#177 Basically, we'd need to adjust the gamex.dll and ideally implement fps-based tickrates or at least add options for 60, 120, 144 etc. I experience this with my RX6900XT (Windows 10, i7 7700k, 16gb RAM). Manually capping FPS (cl_maxfps) or enforcing vsync through the driver has no impact. |
Thanks @Grunerd ! I had no idea the issue was in the game library. I'll try to fix this when I have some free time. |
Knowing how Quake engines handle tick rate and FPS limiting, I expect the code not to deal well with tickrates that are not integer values in milliseconds per tick ( In practice, this means the viable tickrate values would be 20, 40, 50, 100 and 125. (Values above 125 will likely be too demanding, as the only values usable above that are 250, 500 and 1000.) |
The player's movement is jittery.
I also experience a bunch of screen tearing, even though I have the "sync every frame" option on. This may be an unrelated bug.
The text was updated successfully, but these errors were encountered: