LibreVR / Revive

Play Oculus-exclusive games on the HTC Vive or Valve Index, scroll down for downloads and installation instructions.
Other
3.63k stars 333 forks source link

Incorrect controller offset for Valve Index Controllers while used with OG HTC Vive #1816

Open araghon007 opened 1 year ago

araghon007 commented 1 year ago

Do not report issues when using the Virtual Desktop or ALVR drivers for SteamVR, this is not supported by Revive.

Describe the bug Hands are offset upwards slightly, as if the controller origin was at the top of the controller rather than at the center. Tested with Echo VR, Lone Echo 1 and 2, and Oculus Touch Basics.

To Reproduce Steps to reproduce the behavior:

  1. Launch Echo VR
  2. Look at your hands
  3. Compare with controller position in SteamVR overlay

Expected behavior The hands should be at the grip point of the controller.

Environment (please complete the following information):

Versions (please complete the following information):

Additional context The offsets were fine in a previous beta version. I'm not exactly sure which version, since I got it from a nightly build a long time ago, that I can't find anymore. All I know the file version says it is 3.0.0.0

Here's also 2 screenshots showcasing this behavior:

Previous version: vrhands_ok

Current version: vrhands_sadface

araghon007 commented 1 year ago

Okay, it seems that even the beta version breaks sometimes. I'll investigate further in a bit

araghon007 commented 1 year ago

So, it seems that the beta version only works once after installing or reinstalling by launching the game directly from the revive dashboard first, before launching SteamVR. The next time I launch any game, the offset breaks again, even after a full restart. The current release has the wrong offset even on first launch.

My guess is that something gets overwritten in the Revive directory (or some other directory Revive overwrites after reinstalling) once SteamVR starts. That wouldn't explain why it doesn't work with the current version though.

araghon007 commented 1 year ago

Thankfully the workaround still works: Download this nightly release of dubious origin: https://cdn.discordapp.com/attachments/915251950428254218/1068224105356214382/ReviveInstaller.7z.001 https://cdn.discordapp.com/attachments/915251950428254218/1068224105012273262/ReviveInstaller.7z.002 Quit SteamVR, install the release, and launch the game directly from the dashboard that shows up. This will also start SteamVR

You'll have to reinstall the release every single time the issue appears, which is after every game launch