Jump to content

Game launching in SteamVR while OpenXR runtime is enforced on both SteamVR and OpenXR Runtime


Recommended Posts

crowdpleaser1989
Posted

Hi All,

 

I have been running the game in OpenXR runtime for a while now with my ReverbG2, in the never-ending quest to balance graphics vs performance I bought the FPSVR tool on steam, installed it and it flipped over my VR settings to use SteamVR as the active VR runtime. This in my opinion decreases performance and I wish to enforce the use of OpenXR runtime once again. I have set SteamVR to use OpenXR runtime as the active runtime, and have done the same in OpenXR. However the game still launches in SteamVR when I start it (I always start it from Steam and always have). Did you guys ever run into this problem? I have searched the interwebs but did not find a solution.

 

What I have tried so far:

 

  • Remove SteamVR, and FPSVR tool. When I do this the game will not start in VR at all, just as windowed on my screen.
  • Reinstall OpenXR
  • Install OpenXR toolkit, and enforce the use of OpenXR through this (but pointing to the correct .exe etc)
  • Disabled VR in game, and re-enabled it.

 

All to no avail.

 

Any tips or help will be much appreciated!

Posted (edited)

Open the %localappdata%\openvr\openvrpaths.vrpath file with a text editor and make sure that in the "runtime" section it has something like this:

"runtime": [
    "<path to OpenComposite installation>\\Runtime",
    "<path to Steam library>\\common\\SteamVR"
 ]

The first entry is basically what the OpenComposite Runtime Switcher adds and if for some reason it is not written properly (perhaps a weird character in the path to the opencomposite installation is breaking it, it doesn't actually point to the correct path where you have installed OpenComposite, or it's not written at all due to file permissions/antivirus blocking it) it will resort to SteamVR loading instead.

Edited by firdimigdi
crowdpleaser1989
Posted

This makes a lot of sense, I will check it tonight and come back to you. Thanks very much!

TCW_DirtyMike0330
Posted

If needed, you can also try downloading the openvr_api.dll from https://gitlab.com/znixian/OpenOVR and just manually swapping it out in the bin/game folder for IL-2 to see if that gets it going. 

crowdpleaser1989
Posted

I have fixed this by re-running opencomposite.exe and selecting Switch to Opencomposite.

 

Thanks for the effort!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...