Hotrian / OpenVRDesktopDisplayPortal

Put your favorite Desktop Window directly into any OpenVR game!
Other
447 stars 97 forks source link

Some games spawn you in the wrong position when OVDDP is already running #11

Closed Hotrian closed 7 years ago

Hotrian commented 7 years ago

It has been mentioned a few times now that certain games (ED in specific) spawn you in the wrong position when OpenVRDesktopDisplayPortal is already running. I assume this is related to #10, in which case I believe this is already fixed in my local source, but I can't be certain as I don't have ED yet and cannot test it myself.

The fix for now seems to be to start the game first, then launch OVDDP, and that seems to work. I believe this doesn't fix #10 though.

Hotrian commented 7 years ago

I haven't seen any reports of this since pre-v1.0.3, I believe it was fixed in 0a7ec4fa4ee85f6de84b6a46b971e6f5b31b2c61. Can anyone confirm if this issue is still happening?

Hotrian commented 7 years ago

Still not getting any more reports of this. Closing with v1.0.6 if I don't have any more reports by then. I believe this was fixed by using the current SteamVR Tracking Space instead of setting it.

Hotrian commented 7 years ago

v1.0.6 has now been released and I'm closing this issue. I haven't received any reports of this, though I think this post on reddit might be related, he seems to be encountering other issues so I can't say for sure.

Hotrian commented 7 years ago

As a follow-up to that last comment, I'm pretty sure that user was having GPU issues. Either DirectX was somehow not installed properly on his system, or his GPU was failing. He was getting the issue:

d3d11: failed to create staging 2D texture w=160 h=120 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=80 h=60 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=40 h=30 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=20 h=15 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=10 h=7 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=5 h=3 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=2 h=1 d3dfmt=28 [887a0005]
d3d11: failed to create staging 2D texture w=1 h=1 d3dfmt=28 [887a0005]

According to the MSDN this error (code 887a0005) means DXGI_ERROR_DEVICE_REMOVED

According to other developers this means one or more of the following:

  1. Your video device is dying slowly, replace it.
  2. Your video drivers are corrupt, requires reinstall.
  3. Your GPU is not getting enough power, check power cables and reseat them.
  4. Your GPU is not getting enough power, your PSU may be dying.
  5. Your GPU is being overtaxed. Try turning down quality settings.

Most responses seem to indicate it is either 1 or 2. I will be keeping this closed unless someone else is having the issue where starting OVRDDP causes you to teleport/spawn away from wherever you are supposed to be in game.