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

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    A quick look at the code suggests the runtime you set in the configure dialog overrides what you've set in the main window, and then if you have an individual app configured, that will override whatever is in either. Just set them up how you want.
    As for the Steam client itself - I set that to always use SteamVR. It'll more than likely fail trying to go through OC with any OpenVR calls it makes, which will more than likely be just config changes etc. Error code 6 I think is the usual result in that case.
     
  2. T0mek666

    T0mek666 New Member

    Joined:
    May 12, 2024
    Messages:
    7
    Likes Received:
    1
    AMAZING!! THANK YOU MICK!! MUCH OBLIGED MATE!!

    What a great communitiny we have here!

    CHEERS!
     
  3. Magus

    Magus Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    55
    Likes Received:
    16
    I decided to boot up AMS2 today after a few months of not playing and I just boot up to a black screen using HP Reverb G1v2. No issues on Rf2 or MSFS using open composite and Openxr Toolkit. Things I've tried that have made aero difference;
    • I've run an integrity check
    • I've disabled the OpenXR Toolkit
    • I've replaced the OpenXR file by manually downloading it from GitHub (usually use the auto version of Open Composite).
    • I've deleted the openvrsettings file in game save folder
    • I've ran it in SteamVR (works fine) to then try open composite again
    I've only found one reddit post on the net with someone who seems to have had the issue with the game suddenly showing a black screen when it was working fine before. Unfortunately that does not seem to have a solution.

    Before I completely uninstall the game and my save files to start a fresh, anyone have any idea how I might be able to fix this without going down a rabbit hole?
     
  4. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Latest version of OC is buggy. You need to get hold of an older version of the DLLs.

    Try this one.
    Commit 49c4b89579fd49c5b40b72924d6593fcd47c5065 - OpenComposite Builds

    Just download the openvr_api.dll files

    If you want to change the switcher to use this, just rename the openvr_api.dll files to match the vr_client/vr_client_x64 files in the opencomposite/Runtime/bin folder
     
    • Winner Winner x 2
    • Like Like x 1
    • Informative Informative x 1
  5. Magus

    Magus Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    55
    Likes Received:
    16
    Thank you, worked like a charm!
     
  6. Lab Pong

    Lab Pong OG Sim'er

    Joined:
    May 6, 2021
    Messages:
    133
    Likes Received:
    26
    Are you saying the 2 files should be the same thing as the openvr_api.dll, but just named diff?
     
    Last edited: Jun 29, 2024
  7. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Wherever you unzipped the switcher application
     
  8. Lab Pong

    Lab Pong OG Sim'er

    Joined:
    May 6, 2021
    Messages:
    133
    Likes Received:
    26
    Here is my folder contents. I put a new api in my 2 games. Do I just drop it in this switcher folder too?
     

    Attached Files:

  9. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    If you have put the DLL directly in the game folder, then you aren't using the switcher app, so why bother?
    Regardless, you need to copy and rename the DLLs to replace the DLLs already in there; so Win32/openvr_api.dll becomes vrclient.dll and x64/openvr_api.dll becomes vrclient_x64.dll
     
  10. Lab Pong

    Lab Pong OG Sim'er

    Joined:
    May 6, 2021
    Messages:
    133
    Likes Received:
    26
    Ok...got it now...thanks a million!
     
  11. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    148
    Likes Received:
    55
    • Informative Informative x 2
  12. Deviouz

    Deviouz New Member

    Joined:
    Jul 8, 2024
    Messages:
    12
    Likes Received:
    5
    People who are using Quest/Pico headset with Virtual Desktop please go vote this feature request for VD.

    [​IMG]Ability to modify FOV tangent | Feature Requests | Virtual Desktop

    Basically it is the same feature which is available through Oculus Debug tool. It can be used to cut the FOV down and gain ALOT of GPU headroom to push more pixel density which makes the image more crisp. It is the only thing i am missing from Oculus software.

    Since i have moved to VD cause of having performance issues with Oculus software. This feature would be awesome to have to boost performance/visual fidelity even further. :)
     
    • Like Like x 1
  13. peter clayton

    peter clayton New Member

    Joined:
    Feb 24, 2022
    Messages:
    3
    Likes Received:
    0
    please help i tried this method and it didnt work, which dll files did you download
     
  14. peter clayton

    peter clayton New Member

    Joined:
    Feb 24, 2022
    Messages:
    3
    Likes Received:
    0

    please help i tried this method and it didnt work, which dll files did you download
     
  15. Lab Pong

    Lab Pong OG Sim'er

    Joined:
    May 6, 2021
    Messages:
    133
    Likes Received:
    26
    I am using the one at the bottom of the page.
    APPVEYOR BUILD 49983654:
     
  16. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    Please describe exactly what you did, and hopefully it will become apparent what you have or haven't got right. At a high level you need to - 1. Download the DLL(s) 2. Rename the DLL(s) 3. Copy the renamed DLL(s) to the appropriate place.
     
  17. Magus

    Magus Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    55
    Likes Received:
    16
    I downloaded the file:
    Platform: x64 x64/openvr_api.dll 1.84 MiB

    I then renamed it openvr_api.dll

    Go to the folder:
    [DRIVE]:\Program Files\Steam\steamapps\common\Automobilista 2\x64

    And drop it in there, overwriting the file that exists already.
     
  18. peter clayton

    peter clayton New Member

    Joined:
    Feb 24, 2022
    Messages:
    3
    Likes Received:
    0
  19. Michael Roth

    Michael Roth New Member AMS2 Club Member

    Joined:
    Jun 20, 2023
    Messages:
    10
    Likes Received:
    1
    Hello folks,

    With the latest Oculus update I had the problem that Open Composite no longer worked with AMS 2.
     
    Last edited: Jul 30, 2024
    • Dislike Dislike x 1
  20. MickT

    MickT Active Member AMS2 Club Member

    Joined:
    Jun 5, 2021
    Messages:
    271
    Likes Received:
    75
    OpenComposite is fine - the problem is that the Meta update has a bug that breaks OpenXR Toolkit. If you disable the toolkit, it should still work.

    Comment from the OpenXR Toolkit Dev:
    Reddit - Dive into anything

    TLDR:Meta have acknowledged the bug and say it'll be fixed in the next update (v69)
     
    Last edited: Jul 30, 2024

Share This Page