Jump to content

Recommended Posts

Posted (edited)

Hey guys,

I am trying to get DCS running while with my Quest 3. After watching a handful of videos, it seems that using OpenXR is the best way to run VR, especially the Quest 3. After initial setup, I was able to get the game setup and running well with OpenXR, however, the game now crashes everytime I try to launch with OpenXR.

I am using the MT launcher with the following in the Target:

--force_enable_VR --force_OpenXR

I will post the files from my most recent crash.

One interesting note, it doesn't always crash if I launch DCS thru the oculus software. However, I then don't have access to the OpenXR tools in game.

Also, I did find some threads discussing crashes on startup in VR, and they solved it by changing the Paging File Size. I did try that, did not work for me.

Thanks!

 

dxdiag.txt dcs.20231201-004351.log dcs.20231201-004350.dmp dcs.20231201-004350.crash

Edited by Chilcix
Posted

The crash is caused by a function called "try_get_HMDcontroller_pos". It's like DCS is not able to determine your HMD device(s) position or status and crashes as a result.

2023-12-01 00:43:49.532 INFO    EDCORE (Main): (dDispatcher)enterToState_:1
2023-12-01 00:43:50.482 INFO    EDCORE (Main): try to write dump information
2023-12-01 00:43:50.484 INFO    EDCORE (Main): # -------------- 20231201-004351 --------------
2023-12-01 00:43:50.484 INFO    EDCORE (Main): DCS/2.9.1.48335 (x86_64; MT; Windows NT 10.0.22621)
2023-12-01 00:43:50.484 INFO    EDCORE (Main): D:\DCS World OpenBeta\bin-mt\Visualizer.dll
2023-12-01 00:43:50.484 INFO    EDCORE (Main): # C0000005 ACCESS_VIOLATION at 00007ffe530cd6d1 00:00000000
2023-12-01 00:43:50.485 INFO    EDCORE (Main): SymInit: Symbol-SearchPath: '.', symOptions: 532, UserName: 'travi'
2023-12-01 00:43:50.485 INFO    EDCORE (Main): OS-Version: 10.0.22621 () 0x300-0x1
2023-12-01 00:43:50.485 INFO    EDCORE (Main): 0x000000000016d6d1 (Visualizer): TransformComponent::validatePositionsTree + 0x5941
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x000000000010e35b (Visualizer): try_get_HMDcontroller_pos + 0xA30B
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000000fabfd (Visualizer): HMD::processUserInput + 0x3D
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000008dace0 (DCS): SW + 0x41A140
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000008985a4 (DCS): SW + 0x3D7A04
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000899ce3 (DCS): SW + 0x3D9143
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000001bb3 (lua-dxguiWin): (function-name not available) + 0x0
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000007195 (lua): luaD_growstack + 0x4B5
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000133c9 (lua): luaS_newlstr + 0x3EE9
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006b5b (lua): lua_setlocal + 0xA0B
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000011c6 (lua): lua_call + 0x26
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000076fe3 (edCore): ED_lua_setsandbox + 0xF3
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000007195 (lua): luaD_growstack + 0x4B5
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000133c9 (lua): luaS_newlstr + 0x3EE9
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006b5b (lua): lua_setlocal + 0xA0B
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x000000000000737f (lua): luaD_growstack + 0x69F
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006d4e (lua): luaD_growstack + 0x6E
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000001c00 (lua): lua_pcall + 0x60
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000076e06 (edCore): ED_lua_pcall + 0x276
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008b6471 (DCS): SW + 0x3F58D1
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008b7836 (DCS): SW + 0x3F6C96
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x000000000009cc2a (edCore): Common::FSM::onSymbol_ + 0x1DA
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008dac56 (DCS): SW + 0x41A0B6
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008985a4 (DCS): SW + 0x3D7A04
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x0000000000899ce3 (DCS): SW + 0x3D9143
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000004a19c0 (DCS): (function-name not available) + 0x0
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000027c2379 (DCS): AmdPowerXpressRequestHighPerformance + 0x1376375
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x0000000000cdddde (DCS): SW + 0x81D23E
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x000000000001257d (KERNEL32): BaseThreadInitThunk + 0x1D
2023-12-01 00:43:50.609 INFO    EDCORE (Main): Minidump created.

 

Try this:

 

---

Posted
6 hours ago, Flappie said:

The crash is caused by a function called "try_get_HMDcontroller_pos". It's like DCS is not able to determine your HMD device(s) position or status and crashes as a result.

2023-12-01 00:43:49.532 INFO    EDCORE (Main): (dDispatcher)enterToState_:1
2023-12-01 00:43:50.482 INFO    EDCORE (Main): try to write dump information
2023-12-01 00:43:50.484 INFO    EDCORE (Main): # -------------- 20231201-004351 --------------
2023-12-01 00:43:50.484 INFO    EDCORE (Main): DCS/2.9.1.48335 (x86_64; MT; Windows NT 10.0.22621)
2023-12-01 00:43:50.484 INFO    EDCORE (Main): D:\DCS World OpenBeta\bin-mt\Visualizer.dll
2023-12-01 00:43:50.484 INFO    EDCORE (Main): # C0000005 ACCESS_VIOLATION at 00007ffe530cd6d1 00:00000000
2023-12-01 00:43:50.485 INFO    EDCORE (Main): SymInit: Symbol-SearchPath: '.', symOptions: 532, UserName: 'travi'
2023-12-01 00:43:50.485 INFO    EDCORE (Main): OS-Version: 10.0.22621 () 0x300-0x1
2023-12-01 00:43:50.485 INFO    EDCORE (Main): 0x000000000016d6d1 (Visualizer): TransformComponent::validatePositionsTree + 0x5941
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x000000000010e35b (Visualizer): try_get_HMDcontroller_pos + 0xA30B
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000000fabfd (Visualizer): HMD::processUserInput + 0x3D
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000008dace0 (DCS): SW + 0x41A140
2023-12-01 00:43:50.486 INFO    EDCORE (Main): 0x00000000008985a4 (DCS): SW + 0x3D7A04
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000899ce3 (DCS): SW + 0x3D9143
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000001bb3 (lua-dxguiWin): (function-name not available) + 0x0
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000007195 (lua): luaD_growstack + 0x4B5
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000133c9 (lua): luaS_newlstr + 0x3EE9
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006b5b (lua): lua_setlocal + 0xA0B
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000011c6 (lua): lua_call + 0x26
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000076fe3 (edCore): ED_lua_setsandbox + 0xF3
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000007195 (lua): luaD_growstack + 0x4B5
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x00000000000133c9 (lua): luaS_newlstr + 0x3EE9
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006b5b (lua): lua_setlocal + 0xA0B
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x000000000000737f (lua): luaD_growstack + 0x69F
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000006d4e (lua): luaD_growstack + 0x6E
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000001c00 (lua): lua_pcall + 0x60
2023-12-01 00:43:50.487 INFO    EDCORE (Main): 0x0000000000076e06 (edCore): ED_lua_pcall + 0x276
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008b6471 (DCS): SW + 0x3F58D1
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008b7836 (DCS): SW + 0x3F6C96
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x000000000009cc2a (edCore): Common::FSM::onSymbol_ + 0x1DA
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008dac56 (DCS): SW + 0x41A0B6
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000008985a4 (DCS): SW + 0x3D7A04
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x0000000000899ce3 (DCS): SW + 0x3D9143
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000004a19c0 (DCS): (function-name not available) + 0x0
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x00000000027c2379 (DCS): AmdPowerXpressRequestHighPerformance + 0x1376375
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x0000000000cdddde (DCS): SW + 0x81D23E
2023-12-01 00:43:50.488 INFO    EDCORE (Main): 0x000000000001257d (KERNEL32): BaseThreadInitThunk + 0x1D
2023-12-01 00:43:50.609 INFO    EDCORE (Main): Minidump created.

 

Try this:

 

Thank you for the suggestion. I seem to be getting the same error.

I do think I am going to complete a fresh install of DCS and see if that helps. Do you have any other suggestions?

Posted
2 hours ago, Flappie said:

Wait, have you at least tried the solution in the linked post?

Hey Flappie,

Haha, I did! Sorry if that wasn't clear in my last message, I sent that a little late last night a may not have been fully awake!

I have DCS reinstalling right now and will try it out soon. For now, here is the list of things I have tried to do:

  • Ran a DCS repair
  • Deleted MissionEditor and bin-mt folders and then ran the repair
    • I found these suggestions somewhere on the forum
  • Launched DCS without OpenXR
    • This worked the first time, but hasn't since
  • Ran OpenXR in safe mode
    • This actually got me in the game briefly!
    • Allowed me to reset my OpenXR settings, assuring that Turbo Mode is not activated
  • Tried changing my Paging File Size
  • Deleted the regedit key as suggested by Flappie

Symptoms I am having:

  • More times than not, the game does not launch and just crashes to desktop
  • If launching with OpenXR, sometimes the game will launch and appear like it is working. Then, I pickup my headset, and the second the headset recognizes that I am putting it on, the game will crash. This then leaves me in a black 3D space with the OpenXR menu floating in the corner of my eye. I can move my head around at this point, but can't navigate the menu.
  • If launching thru Oculus app, similar to what happens with OpenXR, but in my headset I just see an hour glass in the bottom right

DCS launches just fine in 2D. When I performed my initial setup with OpenXR, DCS launched, and I got it running quite well. I was able to relaunched the game multiple times, dialing in my settings. I then was able to fly a brief SP mission in the F-5. For no perceivable reason, the game started crashing on launch during this process. Maybe I enabled Turbo mode?

Another thought, the SSD that I have DCS installed only has about 20 gb left on it (nothing else on this drive). Could having a nearly full drive cause issues like this?

Posted

There's something strange in your last log:

2023-12-03 16:46:19.367 INFO    APP (Main): Command line: "D:\DCS World OpenBeta\bin-mt\DCS.exe" "D:\DCS World OpenBeta\bin-mt/DCS.exe"

And even in the former log:

2023-12-01 00:43:35.066 INFO    APP (Main): Command line: "D:\DCS World OpenBeta\bin-mt\DCS.exe"  

You said you were using --force_enable_VR and --force_OpenXR but they are absent from your log files.

Can you show us how you use these two parameters to start DCS?

---

Posted
2 hours ago, Flappie said:

There's something strange in your last log:

2023-12-03 16:46:19.367 INFO    APP (Main): Command line: "D:\DCS World OpenBeta\bin-mt\DCS.exe" "D:\DCS World OpenBeta\bin-mt/DCS.exe"

And even in the former log:

2023-12-01 00:43:35.066 INFO    APP (Main): Command line: "D:\DCS World OpenBeta\bin-mt\DCS.exe"  

You said you were using --force_enable_VR and --force_OpenXR but they are absent from your log files.

Can you show us how you use these two parameters to start DCS?

Hey Flappie,

Sure, I have them in the "Target:" field in my shortcut to the exe. Check the logs I have attached here, you can see that it is operating correctly. Since I have been getting the same crash reason for every method (OpenXR, Oculus, SteamVR), I was a little careless with which logs I posted.

In my most recent test, I did get DCS to launch using SteamVR. However, it did not run correctly at all. I loaded into the Apache and I while I could see the cockpit and my head moving around in the VR preview on my desktop, my headset was just stuck with the hour glasses spinning, occasionally flashing frames from in the game.

dcs.20231204-014351.crash dcs.20231204-014351.dmp dcs.20231204-014352.log

  • Recently Browsing   0 members

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