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

movement stutter in certain games/setups #208

Open
eukara opened this issue Aug 3, 2023 · 1 comment
Open

movement stutter in certain games/setups #208

eukara opened this issue Aug 3, 2023 · 1 comment
Labels
bug Something isn't working critical Something that should be investigated or patched ASAP!

Comments

@eukara
Copy link
Contributor

eukara commented Aug 3, 2023

I first referenced this on GitHub here: eukara/freecs#30
Duplicating here for visibility.

Quoting myself:

Since the VR input precision changes, it trips an anti-cheat measure (seen by sv_showpredloss 1) that is causing some movement packets to be discarded. Every time that trips with an anti-cheat warning, a movement packet has been discarded. He was aware of that being a problem right now with the VR extensions.

We're seemingly running ahead of the servers time (not ever meant to happen). If the client runs too slow or too fast, the server is supposed to attempt to correct it. Tweaking sys_clocktype can help on certain setups too (although it may cause issues on Win9x systems with longer uptime). Note that the gettimeofday setting may not deal with high frame rate (somewhere above 250 fps) well either.

Some CPUs and versions of Windows may cause CPUs to desync, which messes with clocks/timings in general.
Which explains why some people experience this more often than others, and some may not notice it at all.

I'll be on top of this and see if we can mitigate or work around these timing issues soon. Playing with the named cvars (or other time/precision related ones) might help for the time being

@Xylemon Xylemon added bug Something isn't working critical Something that should be investigated or patched ASAP! labels Aug 5, 2023
@VinnyVicious
Copy link

Also happens to me playing freecs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Something that should be investigated or patched ASAP!
Projects
None yet
Development

No branches or pull requests

3 participants