Jump to content

MT VR Broken for Varjo Aero users


MackTheKnight

Recommended Posts

Previous version worked fantastic in VR MT, with my Varjo Aero.  After today's update, I can no longer launch the multithread version of DCS in VR on the Aero.  All I get is a blank black screen.

Have done a full clean/repair of DCS with no improvement.

ST opens, but I hate the sacrifice in performance, now that I'm spoiled by MT.

Checked the Varjo forums, and it seems like I'm not the only one with this issue.


Edited by MackTheKnight
  • Like 1
Link to comment
Share on other sites

Were you running OpenXR Toolkit, the extensions wrapper or DFR prior to upgrading?


Edited by zildac

12900KF | Maximus Hero Z690 | ASUS 4090 TUF OC | 64GB DDR5 5200 | DCS on 2TB NVMe | WarBRD+Warthog Stick | CM3 | TM TPR's | Varjo Aero

Link to comment
Share on other sites

Here's what I'm seeing in my log

2023-06-23 17:14:17.371 WARNING VISUALIZER (Main): VR MT preview: MT support VarjoVR only through OpenXR, fallback to OpenXR
2023-06-23 17:14:19.414 ERROR   VISUALIZER (Main): OpenXR exception: runtime is not available

 

Edit:

Quick reinstall of Varjo Base and now seeing this:

2023-06-23 17:58:04.359 INFO    VISUALIZER (Main): LAUNCH IN VR OpenXR: AERO
2023-06-23 17:58:04.360 INFO    VISUALIZER (Main): render thread initialization...

Seems to be working again


Edited by Bishop8371
Link to comment
Share on other sites

15 hours ago, MackTheKnight said:

Previous version worked fantastic in VR MT, with my Varjo Aero.  After today's update, I can no longer launch the multithread version of DCS in VR on the Aero.  All I get is a blank black screen.

Have done a full clean/repair of DCS with no improvement.

ST opens, but I hate the sacrifice in performance, now that I'm spoiled by MT.

Checked the Varjo forums, and it seems like I'm not the only one with this issue.

 

I just did a reinstall of Varjo Base and its working again, did you try that?

  • Like 1
Link to comment
Share on other sites

I now also have the black screen with Aero, openXR toolkit companion app and Multithreading. But didn't play in a while, so can not say if it is related to the latest update.

DCS Log:

EDCORE (Main): (dDispatcher)enterToState_:1
2023-06-23 17:57:54.107 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_RUNTIME_FAILURE
2023-06-23 17:58:05.828 INFO    UIBASERENDERER (Main): Cannot load font [C:\Program Files (x86)\Steam\steamapps\common\DCSWorld\dxgui\skins\fonts\]!
2023-06-23 17:58:05.828 INFO    UIBASERENDERER (Main): Cannot create font [C:\Program Files (x86)\Steam\steamapps\common\DCSWorld\dxgui\skins\fonts\] size 0!
2023-06-23 17:58:05.974 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_CALL_ORDER_INVALID
2023-06-23 17:58:05.988 WARNING LOG (26260): 1 duplicate message(s) skipped.
2023-06-23 17:58:05.988 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_RUNTIME_FAILURE
2023-06-23 17:58:05.991 ERROR   VISUALIZER (9600): xrBeginFrame 1000002255.751543 failed with error: XR_ERROR_CALL_ORDER_INVALID

 

Open XR Log companion app:

[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2268x2268, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2268x2268, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2054x2054, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2054x2054, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:54 +0200: xrBeginFrame: XrResult failure [XR_ERROR_SIZE_INSUFFICIENT]
    Origin: m_openXR.xrLocateViews(m_session, &info, &state, 2, &viewCountOutput, eyeInViewSpace)
    Source: D:\a\OpenXR-Toolkit\OpenXR-Toolkit\XR_APILAYER_MBUCCHIA_toolkit\vrs.cpp:234
[OXRTK] 2023-06-23 19:58:06 +0200: xrBeginFrame: XrResult failure [XR_ERROR_SIZE_INSUFFICIENT]
    Origin: m_openXR.xrLocateViews(m_session, &info, &state, 2, &viewCountOutput, eyeInViewSpace)
    Source: D:\a\OpenXR-Toolkit\OpenXR-Toolkit\XR_APILAYER_MBUCCHIA_toolkit\vrs.cpp:234

 

I will debug a bit and see if I can find a solution...

 

EDIT: ok after reinstalling varjo base and disabling openXR toolkit, DCS is working gain.
Probably there is some incompatible openXR setting in my toolkit config.


Edited by OG84

Favorite module: F16C 💥
Currently learning F15E 👨‍🏫
13900k - RTX 4090 - 64GB DDR5 - Varjo Aero - TM Warthog Hotas - Pedals

Link to comment
Share on other sites

5 hours ago, OG84 said:

I now also have the black screen with Aero, openXR toolkit companion app and Multithreading. But didn't play in a while, so can not say if it is related to the latest update.

DCS Log:

EDCORE (Main): (dDispatcher)enterToState_:1
2023-06-23 17:57:54.107 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_RUNTIME_FAILURE
2023-06-23 17:58:05.828 INFO    UIBASERENDERER (Main): Cannot load font [C:\Program Files (x86)\Steam\steamapps\common\DCSWorld\dxgui\skins\fonts\]!
2023-06-23 17:58:05.828 INFO    UIBASERENDERER (Main): Cannot create font [C:\Program Files (x86)\Steam\steamapps\common\DCSWorld\dxgui\skins\fonts\] size 0!
2023-06-23 17:58:05.974 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_CALL_ORDER_INVALID
2023-06-23 17:58:05.988 WARNING LOG (26260): 1 duplicate message(s) skipped.
2023-06-23 17:58:05.988 ERROR   VISUALIZER (9600): xrBeginFrame 1000002243.851562 failed with error: XR_ERROR_RUNTIME_FAILURE
2023-06-23 17:58:05.991 ERROR   VISUALIZER (9600): xrBeginFrame 1000002255.751543 failed with error: XR_ERROR_CALL_ORDER_INVALID

 

Open XR Log companion app:

[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2268x2268, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2268x2268, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2054x2054, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:52 +0200: Creating swapchain with dimensions=2054x2054, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x21
[OXRTK] 2023-06-23 19:57:54 +0200: xrBeginFrame: XrResult failure [XR_ERROR_SIZE_INSUFFICIENT]
    Origin: m_openXR.xrLocateViews(m_session, &info, &state, 2, &viewCountOutput, eyeInViewSpace)
    Source: D:\a\OpenXR-Toolkit\OpenXR-Toolkit\XR_APILAYER_MBUCCHIA_toolkit\vrs.cpp:234
[OXRTK] 2023-06-23 19:58:06 +0200: xrBeginFrame: XrResult failure [XR_ERROR_SIZE_INSUFFICIENT]
    Origin: m_openXR.xrLocateViews(m_session, &info, &state, 2, &viewCountOutput, eyeInViewSpace)
    Source: D:\a\OpenXR-Toolkit\OpenXR-Toolkit\XR_APILAYER_MBUCCHIA_toolkit\vrs.cpp:234

 

I will debug a bit and see if I can find a solution...

 

EDIT: ok after reinstalling varjo base and disabling openXR toolkit, DCS is working gain.
Probably there is some incompatible openXR setting in my toolkit config.

 

 

In case you were running mbucchia's DFR for the Aero, you need to have the Toolkit disabled. You can run one or the other, but not both.

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

8 hours ago, Bishop8371 said:

I just did a reinstall of Varjo Base and its working again, did you try that?

yea, tried reinstalling varjo base.  I was not running the dfr mod, but I am running openxr toolkit.  Going to try removing it and see what that does.

EDIT: Looks like that was it.  So for some reason this new version of DCS doesn't like OpenXR Toolkit.   Thank you all!


Edited by MackTheKnight
Link to comment
Share on other sites

8 hours ago, dburne said:

 

In case you were running mbucchia's DFR for the Aero, you need to have the Toolkit disabled. You can run one or the other, but not both.

hhm ok, yes I had Foveated Rendering enabled, which gave me quite some performance improvements. But it is part of the OpenXR tookit, so there was no third party app I was running in parallel. Will do some more testing with XR toolkit today...

 

Edit: Just saw, that for DCS World and Aero you need this OpenXR-InstanceExtensionsWrapper listed on the compatibility page when running OpenXR tookit. Will give that a try.


Edited by OG84

Favorite module: F16C 💥
Currently learning F15E 👨‍🏫
13900k - RTX 4090 - 64GB DDR5 - Varjo Aero - TM Warthog Hotas - Pedals

Link to comment
Share on other sites

2 hours ago, OG84 said:

hhm ok, yes I had Foveated Rendering enabled, which gave me quite some performance improvements. But it is part of the OpenXR tookit, so there was no third party app I was running in parallel. Will do some more testing with XR toolkit today...

 

Edit: Just saw, that for DCS World and Aero you need this OpenXR-InstanceExtensionsWrapper listed on the compatibility page when running OpenXR tookit. Will give that a try.

 

NO.

That link you posted is for foveated rendering, not Varjo dynamic foveated rendering with eye tracking for the Aero.

Listen to me and go read his website, with the Aero you can not run both Toolkit and DFR or you will have trouble, it is one or the other. DFR is not part of the Toolkit it is seperate. And you definitiely do not need the extension wrapper any longer, do not use it.

Excerpt from his instructions:

Quote

Prerequisites

This software only works with Varjo headsets (Aero, VR-3 and XR-3 were tested).

You must use the Varjo OpenXR support (enabled from Varjo Base, under the 'System' tab). SteamVR OpenXR is not supported, due to its lack of quad views support.

Make sure that in Varjo Base you have enabled calibration under 'Headset' -> 'Foveated rendering' and performed calibration of your eye tracker.

Varjo quad views is incompatible with OpenXR Toolkit. You must disable OpenXR Toolkit first. You can use the 'OpenXR Toolkit Companion app' (available from your Desktop or the Start Menu) to either disable it specifically for 'DCS World - dcs.exe' or disable it for the whole system.

If you previously used OpenXR-InstanceExtensionsWrapper to disable the Varjo quad views capability, you will need to remove that by following the removal instructions on the page linked.

 

Please read all: https://github.com/mbucchia/Varjo-Foveated/wiki

Do as instructed and you will have a very pleasurable DFR Eye Tracked experience in DCS with your Aero.


Edited by dburne
  • Like 1

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

ok thx. seems like there were quite some changes with native DFR which I wasn't aware of. That's why I couldn't fully make sense of what you were saying. Thanks for explaining.

Favorite module: F16C 💥
Currently learning F15E 👨‍🏫
13900k - RTX 4090 - 64GB DDR5 - Varjo Aero - TM Warthog Hotas - Pedals

Link to comment
Share on other sites

49 minutes ago, OG84 said:

ok thx. seems like there were quite some changes with native DFR which I wasn't aware of. That's why I couldn't fully make sense of what you were saying. Thanks for explaining.

 

:thumbup:

Also please note no need for Open Composite any longer either, if you have that you do not need it anymore at least for DCS.

  • Thanks 1

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

Okay, in an attempt to fix this I have done a format and fresh install of windows 11. A fresh install of DCS, and Varjo Base.

MT simply won't launch in VR for some of us Aero users. 

I have spent a good deal of time in the Varjo Discord with folks way smarter than me on VR and DFR etc. No joy for any of us, and the list is growing each day.

I feel like we are going to need ED at this point to see what got borked.

 

  • Like 1
Link to comment
Share on other sites

On 6/23/2023 at 11:02 AM, OG84 said:

Probably there is some incompatible openXR setting in my toolkit config.

This has been said quite a few times, but DCS MT enables OpenXR by default, which on Varjo will automatically enable a mode called "quad views". This mode is incompatible with OpenXR Toolkit. This is listed on my website: Compatibility | OpenXR Toolkit (mbucchia.github.io)

You can either

- disable "quad views" by using something called OpenXR-InstanceExtensionsWrapper,

- embrace quad views and enhance it via Home · mbucchia/Varjo-Foveated Wiki (github.com) in order to take advantage of eye tracking

This account is now inactive and not monitored.

Link to comment
Share on other sites

I have same issue but for me I can run the game after I boot the PC. But every other run I end up with: 

"2023-06-23 17:14:19.414 ERROR   VISUALIZER (Main): OpenXR exception: runtime is not available"

nothing helps other than full PC reboot and I can run MT in VR but only for the first time. I'm attaching mbuchas comment on discord regarding this issue. 

Untitled.png

Link to comment
Share on other sites

Also working with Matthieu on this and the error I get in dcs.log is: 
2023-06-27 01:56:40.764 ERROR   VISUALIZER (Main): OpenXR exception: runtime is not available
    Source: Projects\Visualizer\Source\OpenXR\openxr_program.cpp:322

MSFS2020 works fine. Previous 41066 build works just fine consistently (rolled back 4 times so far during testing). 41363 build fails consistently with the above error. Appears that some have this error inconsistently out on Varjo Discord.

We ran OpenXR debug and Fred Demotts OpenXR Tracing tool. From what we can tell it is not even trying to load OpenXR on my system at all.  I opened a support ticket.

I would love to know what and where that source path is. I have yet to find it.


Edited by daddio007
  • Like 1
Link to comment
Share on other sites

On thing that seems to be common, but I haven't been able to prove out, is it sounds like people with symmetric CPUs don't seem to be having the issue. 

So, has does anyone who has this issue also have a symmetric CPU? (9900k, 5800X3D, 7950X non-X3D)

Second question is, for the folks having this issue, what happens if you disable the E-cores in Alder Lake/Raptor Lake or the non X3D chiplette in the 7950X3D?

Link to comment
Share on other sites

On 6/27/2023 at 1:07 AM, mbucchia said:

This has been said quite a few times, but DCS MT enables OpenXR by default, which on Varjo will automatically enable a mode called "quad views". This mode is incompatible with OpenXR Toolkit. This is listed on my website: Compatibility | OpenXR Toolkit (mbucchia.github.io)

You can either

- disable "quad views" by using something called OpenXR-InstanceExtensionsWrapper,

- embrace quad views and enhance it via Home · mbucchia/Varjo-Foveated Wiki (github.com) in order to take advantage of eye tracking

yep thanks, I already fixed it by using the native quad views and your Varjo Foveated enhancement.
Performance is really nice. Better than anytime in the past.

Favorite module: F16C 💥
Currently learning F15E 👨‍🏫
13900k - RTX 4090 - 64GB DDR5 - Varjo Aero - TM Warthog Hotas - Pedals

Link to comment
Share on other sites

I was having this same problem (crashing on game launch) after returning from a two week trip away from my PC.

During my time away my PC needed to make various updates such as Windows, Nvidia GPU, DCS (obviously), Vario base and HMD firmwear.

DCS crashed on launch everytime after these updates, and after following the suggestions in this thread still I couldn't get it to stat, that was until I reread the instructions on mbucchia's Github for the very excellent foveated enhancement.

The long and short of it is that even though I don't run the OpenXR toolkit comapanion app in DCS, I started the app and checked the 'disable the OpenXR toolkit' box and closed the app.

The next time I started DCS in MT and VR, it started perfectly and looks better than ever (Thanks mbuccia)

Kit: i9 10900k, Rog Strix RTX 4090, Asus Rog strix Z490 Mobo, 64 GB, Varjo Aero HMD running Open VR

       Thrustmaster Warthog Hotas, Thrustmaster Pendular rudder peddles

MODS: Pretty much all of them

 

Link to comment
Share on other sites

On 6/27/2023 at 11:11 PM, Voyager said:

On thing that seems to be common, but I haven't been able to prove out, is it sounds like people with symmetric CPUs don't seem to be having the issue. 

So, has does anyone who has this issue also have a symmetric CPU? (9900k, 5800X3D, 7950X non-X3D)

Second question is, for the folks having this issue, what happens if you disable the E-cores in Alder Lake/Raptor Lake or the non X3D chiplette in the 7950X3D?

I run a 9900k and do not have this issue at all, DCS - MT with eye tracked DFR works beautifully for me in my Aero. Also am running the latest Nvidia drivers 536.40. And yes I have Open XR Toolkit disabled per mbucchia's instructions.


Edited by dburne

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

  • Recently Browsing   0 members

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