SteamVR-OpenHMD icon indicating copy to clipboard operation
SteamVR-OpenHMD copied to clipboard

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

Open Doomsdayrs opened this issue 6 years ago • 5 comments
trafficstars

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

Doomsdayrs avatar Jun 26 '19 20:06 Doomsdayrs

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

Doomsdayrs avatar Jun 26 '19 21:06 Doomsdayrs

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. :)

Shoobledoops avatar Jun 17 '20 21:06 Shoobledoops

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 avatar Nov 29 '20 20:11 djibux

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:

  • Start SteamVR : it displays on my main monitor, but head tracking works
  • Set up Extended Mode, using the command xrandr --output DisplayPort-0 --set non-desktop 0
  • Move SteamVR to the helmet now configured as a desktop (I use Shift+Meta+Right Arrow on Gnome).

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

djibux avatar Nov 29 '20 20:11 djibux

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

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

Odisej75 avatar Dec 28 '20 09:12 Odisej75