ChristophHaag / SteamVR-OpenHMD

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

Rift S fully functional but with display orientation issue [Ubuntu 21.10] #71

Closed AWBuchanan7 closed 2 years ago

AWBuchanan7 commented 2 years ago

I dug through OpenHMD's 'Getting Started', enabled extended mode, setup SteamVR-OpenHMD, connected my headset, and fired up SteamVR. It seems like everything is working, tracking, display, audio all seems good. However the Rift's seemingly functioning as a 1440x2560 display that's rotated 90 degrees counterclockwise (at least relative to what I see on my monitor).

If I take a screencapture, I can see this, where my monitor is the 'landscape' display on the left, and the Rift S is the 'portrait' mode display on the right: Screenshot from 2021-12-09 10-13-16

But (to illustrate my issue) this is what I'm actually seeing when I put on the headset: Screenshot from 2021-12-09 10-13-16-2

Is there something I can do to 'rotate' what the Rift S is displaying? Or for that matter, if I could rotate the vr compositor window I think that would work in this situation as well? I'm quite new to all of OpenHMD/SteamVR-OpenHMD so I'm honestly not sure if this is a bug of some kind or if I've just misconfigured something on my end here.

AWBuchanan7 commented 2 years ago

Apologies. I'm a fool and as it would turn out all I needed was to use xrandr.

If anyone else stumbles into this issue: xrandr --output DP-4 --rotate right was all it took to fix.