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. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    Ok, so i followed carefully five times the instructions, but i cannot see openXR toolkit overlay pressing Ctrl+F2 in my Quest 2 connected via AirLink, so i am missing something.

    1. Installed latest OpenXR runtime from MS Store.

    upload_2022-11-28_1-9-38.png

    OpeXR Runtime is oculus:

    upload_2022-11-28_1-10-31.png

    2. installed latest OpenComposite DLL from gitLab, copied the dll in X64 folder over the original openvr_api.dll:

    upload_2022-11-28_1-18-5.png

    3. creted opencomposite.ini file with the string admitUnknownProps=enabled in x64 folder.

    4. Installed latest OpenXR Toolkit 1.2.2:

    upload_2022-11-28_1-20-20.png

    Stat Oculus app.
    Launch Airlink connection.
    Launch AMSAVX.exe

    Game loads in VR.
    I cannot see the openxr toolkit menu pressing ctrl+f2.

    What's wrong? Maybe i am not even running openXR.
    Any help would be really appreciated!!
    Thanks!!

    EDIT: Actually i am quite sure im not using openXR api. The openXR toolkit log folder is empty.....
     

    Attached Files:

    Last edited: Nov 28, 2022
  2. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,425
    Likes Received:
    1,448
    openXR toolkit seems to not work with every game.
    On my HP Reverb Ctrl-F2 is too not workinging with AMS2, though it does with some other games
     
  3. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    But i read on oculus it works.
    And as i wrote i don't see any log in the folder. So i think AMS2 is not only not using the toolkit, but not even OpenComposite-XR apis-dlls.
     
  4. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,425
    Likes Received:
    1,448
    openXR is in development, every day there are things that can change.
    How old is the message, that it works ? ;)
     
  5. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    o_O
    i think official compatibility game list should be quite reliable...
    OpenComposite
    Automobilista 2 - OpenComposite: YES - OpenXR Toolkit: YES
     
  6. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    I still can't make AMS2 use opencomposite-openxr.
    If there's no one could help me, i'm going to give up.
    Thanks for any help
     
  7. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Are you sure? Even this bit?
    OpenComposite

    Not saying it's going to fix your problem. Some Oculus users simply can't get AMS2 to launch in SteamVR mode even if they choose it on startup, but it may help.
     
  8. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    I've got no issues with Reverb G2 running in AMS2 - in what way is it 'not working'? Are you using system wide install / per-game? Do you get any errors? What do the logs show?
    Logs are in:
    %localappdata%\OpenComposite\logs
    %localappdata%\OpenXR-Toolkit\logs
     
  9. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,425
    Likes Received:
    1,448
    openXR works good. but dont get the toolkit overlay
     
    • Like Like x 1
  10. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Anything in the openxr toolkit logs to show it's actually running? If it is, then maybe set it to safe mode in the companion app and see if it comes up then.
     
  11. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    i tried to delete logs
    %localappdata%\OpenComposite\logs
    %localappdata%\OpenXR-Toolkit\logs
    started AM2 and i have NO LOGS at all.
    if i start another vr game with opencomp dll, then the logs are created, as expected.
    but starting AMS2 logs are empty.
    o_O
     
  12. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    So the most likely explanation is that even though you choose SteamVR on startup, it's still going to Oculus mode. Unfortunately, I haven't seen anyone come up with a solution to that problem. You should still uninstall those WMR tools if you don't have a WMR headset, as they can cause problems with other sims.
     
  13. TheMattyOnline

    TheMattyOnline Active Member AMS2 Club Member

    Joined:
    May 31, 2019
    Messages:
    249
    Likes Received:
    179
    I can only speak for myself, but i run a Rift S and i'm using both Open Composite and the Toolkit.

    The issue, specifically for AMS2 and Oculus headsets ( and i think applies to PC2 as well) is that after replacing the OpenVR.dll with the OpenComposite one, you need to launch in SteamVR mode, at which point the OpenXR takes over and bypasses SteamVR.
    The main hurdle here, is that that game ignores any request to launch in SteamVR, and launches through the Oculus SDK no matter what you click on in Steam.

    I have managed to get round that by installing OVR advanced settings (free on steam). If you look in the OVR advanced settings menu, you can select start automatically, and more importantly, disable Oculus SDK, force SteamVR.
    I then set SteamVR as OpenXR runtime in Steam settings (developer menu).

    To start the sim, i start SteamVR, which automatically opens OVR advanced settings. Then launch AMS2 in SteamVR mode. This will then allow OpenComposite/OpenXR to be used bypassing both SteamVR and the Oculus SDK.
    You can then press ctrl-F2 to activate the Toolkit menu in your headset.

    I hope that's vaguely clear !
     
    Last edited: Nov 28, 2022
  14. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    This doesn't sound like you're bypassing SteamVR at all; you're just using the SteamVR OpenXR interface, rather than OpenVR. You do get to use OpenXR Toolkit, with the upscaling and FFR, but you miss out on the benefit of actually bypassing SteamVR altogether and going straight to the Oculus runtime. It's still a net gain, but not quite a full solution.
     
  15. TheMattyOnline

    TheMattyOnline Active Member AMS2 Club Member

    Joined:
    May 31, 2019
    Messages:
    249
    Likes Received:
    179
    Yes, of that i'm not sure and have yet to find anyone provide me an actual answer.

    I have the OpenComposite.dll in the X64 folder. OpenXR Toolkit works, and all the functions open to me also work like upscaling and all the post processing stuff etc. But SteamVR is open, although i'm unsure if its using OpenVR, or indeed OpenXR through SteamVR's OpenXR runtime.

    All i can say, is it works well.
     
  16. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    OpenXR in this context is just an API - the SteamVR runtime is still being used whether you're using OpenVR or its OpenXR API. Ideally, you want OpenComposite to bypass SteamVR and talk to the Oculus OpenXR API. Pictures and better explanations than I can give in here; just substitute WMR for 'Oculus' in the pictures and hopefully you get the idea:
    OpenComposite

    But, as you say, it's working well for you - you can still use FSR/NIS and FFR to get an uplift in performance.
     
    • Like Like x 1
  17. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,425
    Likes Received:
    1,448
    Thank you. Using it since months, carefully reading both well known discords ;)
    Also am aware of the logs and different modes and registry entries
    it is running.
    But as i said i get no overlay in AMS2.
    In iRacing, in ACC, in AC and some others with no problem
    I can tweak settings for AMS2 direct in Toolkits registry settings , but NO OVERLAY.
     
  18. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Ok, very strange.
    Reason I suggested safe mode was just in case you'd accidentally set legacy menu mode or the overlay/menu offsets, but sounds like you're across all that.
     
  19. tonaz

    tonaz New Member

    Joined:
    Jul 4, 2020
    Messages:
    20
    Likes Received:
    0
    i have absolutely nothing related to WMR installed on my system.
    Only OpenXR (see first post of this page).
    I will try method proposed by TheMattyOnline
     
  20. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    The first line and screenshot of your original post suggest otherwise

    'Installed latest OpenXR runtime from MS Store.'
    This is WMR software.

    OpenXR is a standard; it's not software in its own right.

    You don't install OpenXR; when you install WMR, it includes 'OpenXR for WMR', or when you install Oculus, it includes 'OpenXR for Oculus'.
     
    Last edited: Nov 29, 2022

Share This Page