ChristophHaag / SteamVR-OpenHMD

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

WVR2 1440x2560 is actually 1440x2560 #60

Open dtruesdale88 opened 3 years ago

dtruesdale88 commented 3 years ago

I have played with rotation, resolution, scaling and tried every possible combination to get a clear screen in both eyes of the WVR2. I have had zero success. The closest I have been able to get is setting the scaling to match the resolution of 1920x1080. For some reason if I do not rotate the screen left in nvidia config, then everything is running vertical instead of horizontal. I have tried viewport in setting and viewport out settings and it keeps forcing viewport out to 1440x2560. Viewport in is 2560x1440 as long as the screen is rotated. SteamVR detects the hmd and it uses Openhmd, so I am trying to figure out what is wrong as to why I can not get this to display correctly.

ChristophHaag commented 3 years ago

Also relevant for other HMDs with rotated displays: #53

I gave it a shot with this PR: #58. I think my WVR2 displays correctly in direct mode with this one but there might still be something wrong with it, especially the SteamVR preview window looks wrong.

ghost commented 3 years ago

There are so many changes now that I can't tell if you fixed WVR2 rotations or not. I can test, but I know there are other issues with AMD cards.

ghost commented 3 years ago

Tested with the direct_mode_rotation branch. Rotations are correct, but there is gyro drift and graphical glitches. Graphical glitches are worst on AMD, but Intel/Nvidia users shouldn't see serious problems.

dtruesdale88 commented 3 years ago

Ok tested out and in SteamVR is great, not sure if Direct mode is actually working. Launch game (Elite Dangerous) and it goes back to the rotation issue. Also it is treating is as a monitor, not HMD. have a I done something. Like adding Option AllowHMD yes to the nvidia config?

Update: working, removed Option Allowhmd yes from nvidia config. Now works and starts correctly. The new issue is it appears they are overlapping or blur in areas due to no seperation. The drift is noticable with menus and center view. Drifts left and got to one point where I could look right to get to my furthest left menu.

Update: got all squared away with setting area and now all is good except the drift. It drifts background and menus move to the left or hmd is moving to the right. With the HMD sitting on the desk I recorded a video of this drift. If that can get sorted out this headset at $35.00 US is very viable to use.

ghost commented 3 years ago

3 things I'd like to say on the viability of WVR2 with OpenHMD:

  1. It's on a list of devices that have buggy video output with AMD on Linux, along with PSVR and OSVR HDK2.

  2. The drift may be mitigated by a Kalman filter that Joey is planning to port to the WVR2 driver and other headsets.

  3. The drift varies with the temperature of the headset, and initial gyro offset values OpenHMD currently uses aren't necessarily correct.

dtruesdale88 commented 3 years ago

Agreed, is the AMD issue an AMD driver issue that needs to be pointed out to Red team?

I find the HMD very usable once the Drift issue is fixed in some manner. If this filter get's ported into the driver what will it do or fix? I love the work both projects have done. I have a HMD that actually works thanks to them, just needs a tweak.

ghost commented 3 years ago

Agreed, is the AMD issue an AMD driver issue that needs to be pointed out to Red team?

It's the open source Mesa driver. You know how these things go. Corps contribute code, but priorities are shit.

If this filter get's ported into the driver what will it do or fix?

Sensor fusion between linear movement and rotational movement, which is supposed to smooth out the experience in a pleasing way, though ymmv. We'll see.

dtruesdale88 commented 3 years ago

Since your using the Open driver have you tried the closed to see if it works since it now works about 80% for gaming?

ghost commented 3 years ago

No, Mesa drivers for Intel and AMD are supposed to be the best on Linux. Nvidia is the odd one out there. Anyways, I'm done with "gaming".