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
Regression #77
Comments
latest build as well? and firefox only? that is very strange. i need to install it .. |
my suspicion is that this is because of lerp(..., delta) and ff handling delta weird? i started to lerp the steering bc it was immediate before (press left/right and the wheel just "pops" into place). i was told that using delta in lerp is correct because of different device refresh rates but could you try 0.1 everywhere it says "delta" just to see if that's the issue? |
Yep!
yes... But after getting ungoogled chromium to force the same stuttering as firefox by adjusting the gpu flags I was hit by an even greater issue of the whole car seems to be clipping trough the ground - Better said the car was in the ground and trying to move around. But once this stuttering doesn't occur it works completely fine.
The refresh rate of webgl or something related? Or the rAF function?
Highly reduces the shaking/stuttering of the vehicle but physics are broken so could be just that but definitely a difference. |
i did push a fix to use-cannon today due to another perf refression i hope its not related |
Did you mean this update to use-cannon? b604d2b#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R14 If so. The commit before a3fdf54 works totally fine even without the delta fix. |
so the update to use-cannon is messing it up. if you just change the version back, is it ok? not at my computer rn to check. |
that's a relief. i try to debug against the race-condition pr you've outlined, must be in there. |
so i cant repro that crazy shaking behaviour just the occasional frameskip in ff (macos) which is bad enough. but i went back to a3fdf54 and i get the same lag so i think that's just how ff runs webgl. |
Ill try to be looking into it myself, this is probably going to take some hours and end up with 1 little chance to fix this as every weird bug does. |
Yeah ff is quite bad with webgl |
They had some good progress on Windows + Mac, but from what I've seen following the issue trackers around the webgl, Linux is a dead end with Nvidia, because they don't have certain functionality/extensions just for linux drivers. It's very limited case this one FF + Linux + Nvidia so shouldn't be that much troubling for general users. |
I'd fucked up some |
Since commit: b604d2b
I've been experince(firefox-only) a regression whereby the camera is heavily shaking.
Please ignore the happering/stuttering, this is due to Nvidia,
fuck youpropriety drivers on Linux with Firefox.https://user-images.githubusercontent.com/25481501/121050841-72d61d00-c7a8-11eb-8fef-8dd672a362a0.mp4
The text was updated successfully, but these errors were encountered: