Skip to content

Tracking not smooth and a little delayed. #21

Open

Description

@leinardi

Your system information

Please describe your issue in as much detail as possible:

When you move your head around it is noticeable that the tracking of the HMD is somehow delayed and not smooth. This is especially clear if you have tried SteamVR for Windows before.
Also the tracking of the Controllers seems to have the same issue: it looks like the position is being interpolated/approximated and the movement isn't smooth and instantaneous like on Windows.

This issue is really annoying for the HMD because it makes the experience really unpleasant and, after a while, nauseating.

This happens with any linear combination of AsyncReprojection and AllowReprojection (both on, both off, only one of them on).

It is most noticeable while playing some game like Destinations or SteamVR Tutorial but, to me, it is also clear inside the SteamVR environment.

Steps for reproducing this issue:

  1. Start SteamVR
  2. Look around and focus your attention on static items like the chaperone bounds
  3. Start Destinations or SteamVR Tutorial
  4. Repeat step 2

Activity

  1. odensc commented on Feb 24, 2017

    @odensc

    Can confirm, the controllers have ghosting as if they're interpolated. Also the headset movement is delayed, which makes me sick after a few minutes. It's like the world moves around you, instead of you moving around the world.

  2. Plagman commented on Feb 24, 2017

    @Plagman
    Member

    Performance and latency aren't currently expected to be optimal when a VR application is running, but should be comparable to the Windows version in the default SteamVR environmnent. Is anyone seeing subpar performance when no application is running?

  3. odensc commented on Feb 24, 2017

    @odensc

    @Plagman The SteamVR environment works great - it's a night and day difference vs the tutorial.

  4. leinardi commented on Feb 24, 2017

    @leinardi
    Author

    @Plagman I first noticed the issue in the SteamVR environmnent, from the first time I started it. Isn't obvious as in Destinations or SteamVR Tutorial because is mostly an empty space but, if I turn my head looking at the chaperone or a lighthouse, I feel that something is wrong.

  5. serk7 commented on Feb 24, 2017

    @serk7

    yes, at steamvr enviorement works correctly, it's when a application is running that delay appear, as more consuming more delay. At serious sam i have a huge delay at tracking, more than tutorial.

  6. aronschatz commented on Feb 25, 2017

    @aronschatz

    @Plagman I can confirm this is happening on my system, too. The tracking is noticeably slower (or it is my perception as slower). I've noticed this delay in the SteamVR environment from time to time, too... But it happens in every application, period.

  7. serk7 commented on Feb 25, 2017

    @serk7

    I tried updating my kernel to last 4.9 and disabling desktop effects on kde, but still the same.

  8. kkriehl commented on Feb 26, 2017

    @kkriehl

    @Plagman I can confirm the tracking inertia. It appears in every application (including really simple Unity scenes) except the empty default environment of SteamVR. After loading a custom 3D obj-based SteamVR environment (for example the Rick and Morty garage) the latency get's noticeable there, too.
    Since the delay seems to be the same everywhere, I guess that it is not dependend on the application performance itself and maybe lies somewhere in the tracking data pipeline. The latency is not present in the display mirror (Chaperone grid and Unity scenes move synchronously and align perfectly) and only inside the HMD.
    Also, the Chaperone bounds are never lagging. This feels similar to the the latency problem with UE 4.12.

  9. aronschatz commented on Mar 8, 2017

    @aronschatz

    The March 6th build of SteamVR makes this much worse for me. I'm running the .13 Nvidia driver, too. Now, the steamVR environment really shows this much worse.

  10. aronschatz commented on Mar 11, 2017

    @aronschatz

    The March 10th build seems to be moving in the right direction. The SteamVR environment still lags (noticeable when moving your head up and down, less so when right to left, but it is much better than before.

  11. thestr4ng3r commented on Sep 24, 2017

    @thestr4ng3r

    I still experience this issue. Performance seems fine, but everything is noticeably delayed. Running Linux Mint 18.2 (based on Ubuntu 16.04) with Cinnamon, NVIDIA Driver 384.69 with a GTX 1080.

    The delay happens everywhere including chaperone bounds, SteamVR Home and the standard SteamVR environment.

  12. leinardi commented on Oct 15, 2017

    @leinardi
    Author

    @Plagman Any news on this issue? it's been 7 months already :'(

  13. VantageVR commented on Dec 12, 2017

    @VantageVR

    @Plagman I've recently tried to get SteamVR working on my Linux machine and have been experiencing the same issues as described above: the SteamVR tutorial is nauseating (only the default VR environment is smooth). Some details about my machine: Ubuntu 17.04, Quadro P4000 graphics with NVIDIA 387.34, SteamVR [beta].
    I also have a Windows machine running SteamVR which does not have this problem. There I noticed that the GPU frame timing is ~5ms while on my Linux machine it is ~13ms. Maybe this points to the issue.
    Any help would be much appreciated! Thanks.

  14. phiresky commented on Sep 3, 2018

    @phiresky

    Same problem here. Nvidia 396.54 (GTX 980 Ti Strix). SteamVR Build Aug. 7, 2018 at 19:52 Version 1533664367 on Arch Linux (kernel 4.18.5-arch1-1-ARCH). Basically unusable without getting a headache within 5 minutes. No issues on the Windows version.

  15. 67 remaining items

  16. Atemu commented on Feb 6, 2022

    @Atemu

    Loading modules from a different kernel ABI is not a good idea and can very well cause issues like yours. You need to rebuild the whole kernel with the patch backported.

  17. edwin-v commented on Feb 6, 2022

    @edwin-v

    Loading modules from a different kernel ABI is not a good idea and can very well cause issues like yours. You need to rebuild the whole kernel with the patch backported.

    I did an out-of-tree module rebuild. No need to rebuild the whole kernel. No worries there.

  18. Atemu commented on Feb 6, 2022

    @Atemu

    Ah, sorry; I misread.

  19. ColdIce1605 commented on Feb 16, 2022

    @ColdIce1605

    This commit in linux git master is supposed to solve the problem in a slightly different way torvalds/linux@8590222

    By the way this is included in 5.17-rc1, in case anyone wants to test and report back.

    I've been testing that kernel version.
    Good News: It's a lot better
    Bad News: It's still not perfect.

    Edit:
    Now to be clear there's a thousand other problems that could exist and just one of those causes it.

  20. michaelnew commented on Feb 16, 2022

    @michaelnew

    I've been able to play around with it briefly, and my experience was the same. Better, but not 100%.

  21. Meister1593 commented on Feb 26, 2022

    @Meister1593

    Yep, new kernel changes things dramatically, but it isn't fixed entirely.
    In (proton) games theres a lot less latency compared to SteamVR overlay, but both overlay and games have it.

  22. janssen-dev commented on Mar 16, 2022

    @janssen-dev

    Using the linux_1.14 beta worked for me

  23. Meister1593 commented on Mar 16, 2022

    @Meister1593

    Using the linux_1.14 beta worked for me

    it fixed delayed output?
    for me it's even worse in previous branches

  24. janssen-dev commented on Mar 16, 2022

    @janssen-dev
  25. duckbytes commented on Mar 16, 2022

    @duckbytes

    @ImpulseTheFox

    You're referring to a different bug. Report is here: #395

  26. Meister1593 commented on Jul 14, 2022

    @Meister1593

    Major contributor to this issue seems to be the global lock on hidraw devices in the kernel, specifically this mutex.

    Patching this so that the lock is non-global (per-device basis) dropped my latency significantly (~50 - ~15 ms)

    Hello, i was really curious on how did you manage to capture this latency? it would really help to determine the cause of the issues and would make testing new fixes much easier.

    Edit: it seems like this mailing list has benchmark tool, i will use it as a reference https://lore.kernel.org/lkml/[email protected]/

  27. Kaelygon commented on Jul 24, 2022

    @Kaelygon

    This might not be solution for your case, but it is worth checking if you have lib32-amdvlk installed on Nvidia GPU.

    I had sluggish tracking when moving head around, a lot of the overlay menus didn't work and I had strange flickering in SteamVR.
    I found out that I had lib32-amdvlk installed event though I am running GTX1080. This had happened because when I installed steam with package manager, it had defaulted to amd dependency instead of nvidia.
    I had to first install lib32-nvidia-utils and then remove lib32-amdvlk
    This fixed all the problems I had with SteamVR

  28. TiagoTiago commented on Jul 24, 2022

    @TiagoTiago

    This might not be solution for your case, but it is worth checking if you have lib32-amdvlk installed on Nvidia GPU.

    I had sluggish tracking when moving head around, a lot of the overlay menus didn't work and I had strange flickering in SteamVR. I found out that I had lib32-amdvlk installed event though I am running GTX1080. This had happened because when I installed steam with package manager, it had defaulted to amd dependency instead of nvidia. I had to first install lib32-nvidia-utils and then remove lib32-amdvlk This fixed all the problems I had with SteamVR

    I'm not seeing either of those packages available to install or uninstall; what's your distro? (I'm on Mint)

  29. Kaelygon commented on Jul 24, 2022

    @Kaelygon

    Arch linux, I forgot to mention that.
    I also spoke too early, after reboot I started having SteamVR issues again, although removing amdvlk did fix the menus but the flickering and sluggish head tracking came back.

  30. Cyrus-Harding commented on Nov 17, 2022

    @Cyrus-Harding

    Running [linux_1.14] seems to help a lot. It could still be improved.

    The SteamVR home-menu seems to not be working on this build, though.

    I have nvidia drivers 520.56.06.

    "enableLinuxVulkanAsync" : false helped with the flickering that sometimes happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions