Delta time variation jitter (caused by decoupled fixed time loop)
Hi developing a game for Oculus Quest 2 and have some problems regarding jitter in movement that is caused by a variation of delta-time. The jitter started when I introduced a fixed time loop of heavy operations. In my case I introduced a networking library that runs 60 times per second and therefore added some lag-spikes in the interval. But I have also added some artificial delays (sleep) to unitys-fixed update and notices the same behavior. My game still runs in the expected time-frame of 90 fps, but some frames take about 11 ms and others about 5 ms (example) which makes for a big variation in delta-time. Variation in frame-times has not been a problem in traditional pc games I have worked with before. The delta time is either made almost constant by the use of v-sync. Or necessary to variate to compensate for the variation in time between each presentation of the frame. And movement results are smooth. However it seems to be handled a bit differently on the Quest platform, I believe v-sync is not enabled, and instead Oculus use something called "OculusRuntime.WaitToBeginFrame" to keep a fixed frame-rate. The key difference is that "WaitToBeginFrame" is called in the beginning of the frame instead of how v-sync is called after the frame to do the actual waiting. I guess it is made this way to create as little input latency as possible before each rendered frame. I also assume by looking at my profiler data, that the time to wait in "WaitToBeginFrame" is calculated based on the length of the previous frame. This would work great as long as frames are equally long but with variations in frame-time (as I have when introducing a decoupled network loop) this introduce even more variation by making a frame that already takes more time then the previous wait for the time saved by the previous. So the problem I have now is that all movement that is moved in normal update by delta time is very choppy and jittery. It almost looks like the object is in two places at once because of the delta time variations. I am not sure how to fix this, since this normally wouldn't happen in a traditionell game. Does anyone have any more insight or information that could help me? Have I understand correctly how "WaitToBeginFrame" works? TL;DR: Has anyone here had problem with stutter on Oculus quest caused by delta time variation, which are present because of heavy operations in fixed time loops (fixed time lag-spikes). And knows any way to deal with it?2.9KViews0likes6CommentsOculus Rift S Lag/choppy
So I've looked everywhere and I can't seem to find any fix. When I play The Walking Dead Saints and Sinners It lags/ is choppy making it hard to play. It's really annoying and I want it fixed. processor: Intel(R) Core(TM) i7-8700 @ 3.20GHz 3.19 GHz Graphic Card: NVIDIA GeForce GTX 1060 3GB RAM: 8.00GB Any help is very appreciated. Thanks.2.5KViews0likes2CommentsOculus Rifft - Multiple Issues after update
Hey everyone, so I returned from a deployment and picked up my oculus rift again, it honestly ran perfectly before this update but now I'm having massive issues here: First off, I'm running it off of an Acer Predator 17 Laptop, i7 Processor, GEFORCE 1070 Graphic cards, 2.60 Ghz, 16 GB of Ram, Windows 10. Issues: - Homeroom loads and I have two "hand" images, one set of what I'm really doing, and the other a static "hands open". - Extremely choppy performance on both the homeroom and more graphic intense games - A slight ripple distortion towards the center of the screen. - sometimes the homeroom menu with the store and library disappear after hitting the oculus button, and hitting it again does not bring it back. I'm running hardware from 2016, I'm wondering if it's just the actual rift dying? Looking for any help here folks.669Views0likes1CommentStuttering Sound in Rift Recently. How to fix?
Hi, I have had my Rift since about 12/2017 and had no issue with stuttering sound until about a month ago. Now, during gameplay and video playback, I get stuttering / choppy sound playback. I have searched online and have been unable to find a solution that works. I have tried disabling unnecessary background tasks, but nothing has worked. Any help would be appreciated. My setup: Asus Z370-A Prime motherboard i7 8700k CPU, lightly overclocked 16gb RAM Geforce GTX 1070 Windows 10 64-bit Thanks.544Views0likes0CommentsJerky MKV playback
Hi, I am currently using the the spatial worksation (facebook 360) encoder to encode the spatial audio to ouput facebook videos and Oculus videos. I made several tests and the encoded Facebook video plays very smooth on a samsung S7 Gear VR, but all my Oculus videos (for the Rift touch HMD) are converted into MKV video files and play very jerky. This was not the case a few months ago. Does anybody know how to solve this problem. The video file is about 1 Gb in size for a 6 minutes animation.620Views0likes1CommentMy Unity scene in the Gear VR is VERY choppy/laggy
Now I read that the you should have 50k – 100k polygons per frame (I guess thats the whole scene made up of between 50k-100k faces. I am creating a small Garden, using only meshes, no images, planes or anything, the flowers and grass are all made up of faces, but as low poly as I can get them. In total so far my scene has 20k faces. When I build it in Unity, and watch it through the Gear VR and look at the Garden, the scene is choppy/laggy. But when I look behind, where its just the wall and a few chairs, its completely fine. Am I doing something wrong? Is there a way to fix this as this is my 3rd year final year project I am working on, and if I cannot fix this lag (whilst also needing to add more to the Garden), the whole point/aim of my project will be for nothing! ) :( hopefully someone can shed some light on this issue.4.3KViews0likes3Comments