Jump to content

Oculus Quest 2 in Virtual Desktop/Open XR runs great in ST, but Crashes in MT


Go to solution Solved by MoleUK,

Recommended Posts

Posted

Okay, so help me here.  I absolutely cannot run DCS in oculus api, nor can I run it using Link Cable or Air Link at all without instant nausea from 6 - 9 FPS. 

However, I've been running Virtual Desktop ("Launch Game" from the tray), no Oculus or Steam, just OpenXR, for over a year now.  Superbly. 

Even in the face of forum posts that claim Oculus Quest2 can't run OpenXR with VD.

Now I can run ST in the method above, and it's even smoother than before the MT version, which in and of itself is sweet compensation.

You may ask, "Compensation for what, CDR Krotchety?"

Because MT just CTDs before the loading screen every time I've tried to run it in VD.  I've been able to get into VR by going through Link Cable or Air Link, but it's a slow-strobe slide show of a vomit-inducing nightmare. Whether calling up Oculus or Steam .apis.

I'd love to try the new multi-threading in VR, but it's gonna have to be through the Virtual Desktop, which runs VR great in the single-thread version.

Is there a solution? 

Rig:

i9900 Crystal Lake

nVidia Quadro P4000

32gb RAM

SSD

Quest 2 on Virtual Desktop, 5ghz wifi

 

dcs.log-20230320-173351.zip dcs.log-20230318-211854.zip dcs.log-20230317-153952.zip

Posted

Your shortcut to run OpenXR is missing the second dash for each parameter

It should be "Z:\DCS World OpenBeta\bin-mt\DCS.exe" --force_enable_VR --force_OpenXR

Yours is "Z:\DCS World OpenBeta\bin-mt\DCS.exe" -force_enable_VR -force_OpenXR

AMD 5800X3D · MSI 4080 · Asus ROG Strix B550 Gaming  · HP Reverb Pro · 1Tb M.2 NVMe, 32Gb Corsair Vengence 3600MHz DDR4 · Windows 11 · Thrustmaster TPR Pedals · VIRPIL T-50CM3 Base, Alpha Prime R. VIRPIL VPC Rotor TCS Base. JetSeat

Posted
6 hours ago, cdrkrotchetyusn said:

Okay, so help me here.  I absolutely cannot run DCS in oculus api, nor can I run it using Link Cable or Air Link at all without instant nausea from 6 - 9 FPS. 

However, I've been running Virtual Desktop ("Launch Game" from the tray), no Oculus or Steam, just OpenXR, for over a year now.  Superbly. 

Even in the face of forum posts that claim Oculus Quest2 can't run OpenXR with VD.

Now I can run ST in the method above, and it's even smoother than before the MT version, which in and of itself is sweet compensation.

You may ask, "Compensation for what, CDR Krotchety?"

Because MT just CTDs before the loading screen every time I've tried to run it in VD.  I've been able to get into VR by going through Link Cable or Air Link, but it's a slow-strobe slide show of a vomit-inducing nightmare. Whether calling up Oculus or Steam .apis.

I'd love to try the new multi-threading in VR, but it's gonna have to be through the Virtual Desktop, which runs VR great in the single-thread version.

Is there a solution? 

Rig:

i9900 Crystal Lake

nVidia Quadro P4000

32gb RAM

SSD

Quest 2 on Virtual Desktop, 5ghz wifi

 

dcs.log-20230320-173351.zip 180.58 kB · 1 download dcs.log-20230318-211854.zip 335.05 kB · 1 download dcs.log-20230317-153952.zip 178.93 kB · 0 downloads

This is now fixed as of todays patch. Set oculus to current openXR runtime, and right click VD select launch and point it towards the MT exe. No need for any additions to the shortcut.

Posted
13 hours ago, MoleUK said:

This is now fixed as of todays patch. Set oculus to current openXR runtime, and right click VD select launch and point it towards the MT exe. No need for any additions to the shortcut.

Ah! Hallelujah, it's working! Thanks for the info.  However, I DO NOT have to set oculus as runtime, I'm able to use openXR directly! Oculus app never has to come on, neither does Steam.  Straight VD and OpenXR only!

Posted
20 hours ago, Baldrick33 said:

Your shortcut to run OpenXR is missing the second dash for each parameter

It should be "Z:\DCS World OpenBeta\bin-mt\DCS.exe" --force_enable_VR --force_OpenXR

Yours is "Z:\DCS World OpenBeta\bin-mt\DCS.exe" -force_enable_VR -force_OpenXR

Thanks!  However, since the last patch, I don't have to worry about the parameters at all.  I simply had to open bin-mt\DCS.exe through the VD tray icon.  No parameters in that one.  Don't even have to open Oculus or Steam.  Just using OpenXR directly.  Flying in the Wolfpack Campaign, I set the action to "Large Bomber Formation", and it was smoooooth like butter, whereas in ST my frames went below 20 and it was like a slideshow.

Posted (edited)
3 hours ago, cdrkrotchetyusn said:

Ah! Hallelujah, it's working! Thanks for the info.  However, I DO NOT have to set oculus as runtime, I'm able to use openXR directly! Oculus app never has to come on, neither does Steam.  Straight VD and OpenXR only!

It's VD but via the oculus API, not OpenXR atm. You can tell by bringing up the VD overlay which will tell you the current runtime. VD can't work with OpenXR natively yet, it has to go through SteamVR for that.

If it starts launching into SteamVR randomly instead, all you have to do is open up link and set Oculus back as the active runtime, and you will be able to resume launching it via VD with no link/steamVR. That happens when the runtimes get switched, so it's easy to fix.

VD may be updating to native OpenXR sometime soon. Once it does, we may be able to launch DCS in openXR in VD without SteamVR, but the dev hasn't confirmed that yet.

Edited by MoleUK
Posted
20 hours ago, MoleUK said:

It's VD but via the oculus API, not OpenXR atm. You can tell by bringing up the VD overlay which will tell you the current runtime. VD can't work with OpenXR natively yet, it has to go through SteamVR for that.

If it starts launching into SteamVR randomly instead, all you have to do is open up link and set Oculus back as the active runtime, and you will be able to resume launching it via VD with no link/steamVR. That happens when the runtimes get switched, so it's easy to fix.

VD may be updating to native OpenXR sometime soon. Once it does, we may be able to launch DCS in openXR in VD without SteamVR, but the dev hasn't confirmed that yet.

 

I'll check that out!  I thought that because the Oculus app never comes up, and after I shut down DCS, Oculus still shows the warning to switch...

Posted
21 hours ago, MoleUK said:

It's VD but via the oculus API, not OpenXR atm. You can tell by bringing up the VD overlay which will tell you the current runtime. VD can't work with OpenXR natively yet, it has to go through SteamVR for that.

If it starts launching into SteamVR randomly instead, all you have to do is open up link and set Oculus back as the active runtime, and you will be able to resume launching it via VD with no link/steamVR. That happens when the runtimes get switched, so it's easy to fix.

VD may be updating to native OpenXR sometime soon. Once it does, we may be able to launch DCS in openXR in VD without SteamVR, but the dev hasn't confirmed that yet.

 

Ah, dang it.  Now I'm confused.  I couldn't find a way to bring up a VD overlay, and as you can see in the picture below, DCS is running in VD, Oculus tells me to switch to it, and when I shut off Oculus without switching, I'm still in DCS.  How do I figure this out?

DCS-Quest2-VD-OPENXR.jpg

  • Solution
Posted
1 hour ago, cdrkrotchetyusn said:

Ah, dang it.  Now I'm confused.  I couldn't find a way to bring up a VD overlay, and as you can see in the picture below, DCS is running in VD, Oculus tells me to switch to it, and when I shut off Oculus without switching, I'm still in DCS.  How do I figure this out?

DCS-Quest2-VD-OPENXR.jpg

Gotta bring up the VD menu on the headset. Hold down menu button on left controller, go to stream settings and tick enable performance overlay.

Posted
20 hours ago, MoleUK said:

Gotta bring up the VD menu on the headset. Hold down menu button on left controller, go to stream settings and tick enable performance overlay.

Okay, will try that.  As soon as the 122 gb download for MSFS finishes!

Posted
On 3/24/2023 at 11:29 AM, MoleUK said:

Gotta bring up the VD menu on the headset. Hold down menu button on left controller, go to stream settings and tick enable performance overlay.

Yep, you're right, and thanks!  Geez, it's humiliating when I think of how long I've been bopping about on that false pogo stick...

just thankful DCS is running way better than my hoopty rig has a right to.

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...