ChristophHaag / SteamVR-OpenHMD

SteamVR plugin for using OpenHMD drivers in SteamVR
Boost Software License 1.0
194 stars 32 forks source link

[AMD] Displays SteamVR content to monitor and not to oculus headset #28

Open Doomsdayrs opened 5 years ago

Doomsdayrs commented 5 years ago

Similar to #27 But the issue is on an AMD card (RX 580).

Doomsdayrs commented 5 years ago

Added 'sleep(1);' to line 408 of rift.c fixes it

Shoobledoops commented 4 years ago

Hi there,

I seem to be having the same issue as you. Could you provide a bit more information on how you fixed it? The location of the rift.c file, and a copy of the specific code block would be a huge help. :)

djibux commented 3 years ago

rift.c is in folder SteamVR-OpenHMD/subprojects/openhmd/src/drv_oculus_rift. When the comment was submitted, line 408 was the last but one line in the open_device function. So I guess that's where you should put it. You also need to add #include <unistd.h> with the other include directives.

djibux commented 3 years ago

I should mention that I have the same issue with the Rift S. The fix above didn't work (I tried adapting it to drv_oculus_rift_s).

To get it to work I need to:

It works OK, but head tracking is jumpy. I don't know if performance would be better with Direct Mode.

Odisej75 commented 3 years ago

Having the same problem with rift s + AMD (rx590).

Does anybody have a clue where to start searching for the reasons?