1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenComposite OpenXR

Discussion in 'Automobilista 2 - General Discussion' started by NuScorpii, May 15, 2022.

  1. TheMattyOnline

    TheMattyOnline Active Member AMS2 Club Member

    Joined:
    May 31, 2019
    Messages:
    247
    Likes Received:
    176
    No, its unfortunately an AMS2 problem, and a PC2 problem before that.
    If the game detects an Oculus headset, it simply will not allow the game to load up in SteamVR mode. And without that, OpenXR won't work.
    I'm sure it must be a relatively straightfoward fix, given that every other sim or game i own can launch into SteamVR with my Rift S.
    From the launch of AMS2 to this day however, VR issues are pretty much on a very low priority. I can only assume no one on the dev team runs VR so don't push these issues to the top.

    That said of course, its easy to forget that VR useage is still probably quite a low percentage of AMS2 users, so maybe priorities are already correct.
     
  2. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,276
    Likes Received:
    697
    First, thanks for your work.
    What are the advantages of using OpenEXR vs SteamVR with AMS2? FPS gain, clarity, ease of use?
     
  3. sdeups

    sdeups Member AMS2 Club Member

    Joined:
    Oct 1, 2019
    Messages:
    57
    Likes Received:
    36
    Sorry but that's not correct, I'm on Quest PRO and I can run AMS2 in SteamVR mode!
     
  4. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    266
    Likes Received:
    75
    Your logic is a little flawed.
     
  5. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    266
    Likes Received:
    75
    Can you precisely define 'run AMS2 in SteamVR mode'?

    There is a significant difference between these two statements:
    When I select 'Launch Automobilista 2 in Steam VR mode'', AMS2 launches in VR.
    and
    When I select 'Launch Automobilista 2 in Steam VR mode', SteamVR and AMS2 both launch and AMS2 is running through SteamVR.
     
  6. sdeups

    sdeups Member AMS2 Club Member

    Joined:
    Oct 1, 2019
    Messages:
    57
    Likes Received:
    36
    either way, both work. if I launch SteamVR before or if everything is launched at the same time, it works, in the same way as if I launch in oculus
     
    • Informative Informative x 1
  7. UrsineSaturn9

    UrsineSaturn9 Member

    Joined:
    Sep 2, 2022
    Messages:
    92
    Likes Received:
    22
    Please explain how
     
  8. Champrt78

    Champrt78 Member

    Joined:
    May 30, 2022
    Messages:
    33
    Likes Received:
    1
    I have a 3080 ad G2, been using openxr for a while, always tweaking settings. Anyone have good settings to share?
     
  9. Andy

    Andy Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    104
    Likes Received:
    27
    Hi folks.
    I have open composite and the open xr compatibility tool running perfectly on my machine.

    I have tried to help a mate set this up, and ive set it up exactly the same as mine, but he has a problem.

    When launching the game in steam vr mode (having switched to openxr, an error message pops up as below.


    IMG_20230718_171704046_MFNR.jpg


    Ive tried everything I can find on the main support page, ms distributables etc, but just cant get it working.

    Ive pulled the log off his machine, wondering if anyone has any ideas?

    I have also tried manually inserting the dll into AMS2, but same error.

    Many thanks




    [2023-07-18 19:17:24.724] Config::Config:212 - Checking for global config file...
    [2023-07-18 19:17:24.725] wini_parse:172 - No config file found at D:\OpenComposite\Runtime\bin\opencomposite.ini
    [2023-07-18 19:17:24.725] Config::Config:231 - Checking for app specific config file...
    [2023-07-18 19:17:24.725] wini_parse:172 - No config file found at D:\SteamLibrary\steamapps\common\Automobilista 2\opencomposite.ini
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_win32_convert_performance_counter_time
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_D3D11_enable
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_D3D12_enable
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_composition_layer_depth
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_composition_layer_color_scale_bias
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_unbounded_reference_space
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_spatial_anchor
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_perception_anchor_interop
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_win32_appcontainer_compatible
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_conformance_automation
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_composition_layer_reprojection
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_spatial_graph_bridge
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_spatial_anchor_persistence
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_palm_pose
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_active_action_set_priority
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_scene_understanding
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_scene_understanding_serialization
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFTX_scene_marker
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_FB_display_refresh_rate
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_eye_gaze_interaction
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_hand_interaction
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_hand_interaction
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_hand_tracking
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_hand_joints_motion_range
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_hand_tracking_mesh
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_MSFT_controller_model
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_KHR_visibility_mask
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_samsung_odyssey_controller
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_hp_mixed_reality_controller
    [2023-07-18 19:17:24.912] DrvOpenXR::CreateOpenXRBackend:104 - Extension: XR_EXT_debug_utils
    [2023-07-18 19:17:24.913] DrvOpenXR::CreateOpenXRBackend:109 - Num layers available: 1
    [2023-07-18 19:17:24.914] DrvOpenXR::CreateOpenXRBackend:117 - Layer: XR_APILAYER_MBUCCHIA_toolkit
    [2023-07-18 19:17:24.914] DrvOpenXR::GetXRAppName:54 - Setting application name to OpenComposite_AMS2AVX
    [2023-07-18 19:17:25.019] oovr_abort_raw_va:205 - Abort!
    [2023-07-18 19:17:25.019] DrvOpenXR::CreateOpenXRBackend:201 - OpenXR Call failed, aborting. C:\projects\openovr\DrvOpenXR\DrvOpenXR.cpp:201 CreateOpenXRBackend. Error code: -6
    xrCreateInstance(&createInfo, &xr_instance)
     
  10. Champrt78

    Champrt78 Member

    Joined:
    May 30, 2022
    Messages:
    33
    Likes Received:
    1
    Does anyone edit the graphicsconfigopenvrdx11.xml file ? Trying to squeeze the most I can out of my 3080 and Reverb G2
     
  11. Ryan9118

    Ryan9118 New Member

    Joined:
    Aug 7, 2023
    Messages:
    1
    Likes Received:
    0
    So just to be clear, there's no way to get the OpenXR toolkit to work when using a Quest 2 or Quest Pro, right? Eye tracked foveated rendering would be a god send in AMS 2.
     
    • Agree Agree x 1
  12. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,254
    Likes Received:
    1,783
    I’ve never tried openxr, but it seems like it doesn’t work. I’ve good a quest 2 and really want AMS2 to look good with my headset, but I’ve never gotten to that point
     
  13. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    266
    Likes Received:
    75
    That's right - no way to force AMS2 into SteamVR mode in a way that will allow you to bypass SteamVR and make use of the OpenXR Toolkit. That said, foveated rendering doesn't save a lot of performance in AMS2. For it to work without artifacts you have to run MSAA high so it's more a way of improving quality - you cancel out the hit of high MSAA with the savings from not rendering the whole view at full res.
     
  14. DaWorstPlaya

    DaWorstPlaya Active Member

    Joined:
    Aug 5, 2020
    Messages:
    355
    Likes Received:
    153
    DFR is not supported with AMS2 when using OpenXR toolkit. Only a few DX12 games support DFR.
    Eye Tracking
     
    • Agree Agree x 1
  15. Jeroen Borghuis

    Jeroen Borghuis New Member

    Joined:
    Oct 21, 2021
    Messages:
    2
    Likes Received:
    0
    can anyone confirm that Opencomposite is still online? I'm installing on an brand new PC and can't get Opencomposite .. When i click the download link on Github it's not opening the webpage or downloading the opencomposite file. I do have that file on my old PC , downloaded it a few weeks ago, but when i unpack that on my new PC and open Opencomposite the switch doesn't work. When i click switch to opencomposite it says: error 404 not found etc etc. So i cant get it to work.. Hopefully someone can help me..
     
  16. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    266
    Likes Received:
    75
    Their download site is down, and no word on when it'll be back up, unfortunately. However, there is a workaround. Head to the OpenComposite Discord for details:
    Discord - A New Way to Chat with Friends & Communities
     
  17. Jeroen Borghuis

    Jeroen Borghuis New Member

    Joined:
    Oct 21, 2021
    Messages:
    2
    Likes Received:
    0
    ah, at least now i know why this is, thank you very much! I will try the workaround!
     
  18. Virindi

    Virindi New Member

    Joined:
    Jun 6, 2023
    Messages:
    15
    Likes Received:
    6
    Hi everyone. I am using a Pimax Crystal VR headset, eye tracking is finally available but does not work on AMS2 (and other games)
    Is it something that had to be supported by the game or does it come from OpenXR / Opencomposite?
     
  19. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    266
    Likes Received:
    75
    Needs to be supported by the game - it's not going to work through most games coming through OpenComposite, as the toolkit needs to be able to differentiate between left and right eye images.
    There is a compatibility list here: Eye Tracking
     
    • Like Like x 1
  20. GogglesPaesano

    GogglesPaesano Member AMS2 Club Member

    Joined:
    Oct 8, 2020
    Messages:
    37
    Likes Received:
    21
    Eye tracking and DFR is not compatible with AMS2 unfortunately.
     
    • Like Like x 2

Share This Page