[REL] OpenOVR: possible performance boost for Oculus owners.

Discussion in 'General Discussion' started by The Iron Wolf, Sep 25, 2018.

  1. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    This is now working, see here: https://forum.sector3studios.com/in...ce-boost-for-oculus-owners.11535/#post-162806

    --------------------------------------------------------------------------------------------------------

    https://www.reddit.com/r/oculus/comments/9i7s16/openovr_released_play_steamvr_games_without/ This might improve VR performance on Oculus for SVR games by forwarding Steam VR API calls directly to Oculus SDK, with less overhead due to no Vive specific tweaks. rF2 guys made it work already. It might also work for R3E, if it doesn't, Dev is responsive and might fix it, if one has time to try it and report problems. Just thought someone might be interested for both rF2 and R3E.
    reddit
    r/oculus - OpenOVR Released - play SteamVR games without SteamVR!
    411 votes and 202 comments so far on Reddit
    [​IMG]
    Initial results for rF2 look promising, I haven't tried it yet though.
     
    • Like Like x 3
    • Informative Informative x 1
    • Useful Useful x 1
    Last edited: Nov 13, 2018
  2. .OG Isaac

    .OG Isaac Well-Known Member Beta tester

    Joined:
    Feb 17, 2015
    Ratings:
    +173 / 0 / -0
    That's very good, SteamVR is a mess, i'd gladly go directly to Oculus.
     
    • Agree Agree x 2
    • Like Like x 1
  3. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    We will see how well this will end up supported. I was skeptical initially, but folks on rF2 Discord report reduced frametimes, which is exactly what we need. I really hope this flies.
     
  4. Rodent

    Rodent Well-Known Member Beta tester

    Joined:
    Dec 26, 2015
    Ratings:
    +323 / 0 / -0
    Oh wow, looking forward to giving this a shot. SteamVR isn't too bad on my system but if I could get rid of that annoying little steam VR window that always gets in my way at some point during a Raceroom session I'd be a happy camper. Improved performance wouldn't be unwelcome either ofcourse :p
     
    • Agree Agree x 1
  5. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +229 / 0 / -0
    Uncheck the always on top option of the SteamVR window and you're good to go.

    For me it seems that SteamVR doesn't have as much impact as Oculus Home. Disabled the Oculus Home at Startup, so I've only one system up and runing while driving. Very liking the VR Dashboard (disliking the SteamVR Home starting every time...)
    But if there's a speed up, I would be happy as well.
    Yesterday I've thought that the graphics quality is better than before. But I don't know why, hadn't changed anything except that I don't start R3E with the sturtup commands but with the Steam VR settings.
     
  6. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Not very good news guys. It looks like this approach won't work with R3E due to DX9.
     
  7. sherpa25

    sherpa25 Member

    Joined:
    Jul 2, 2018
    Ratings:
    +24 / 0 / -0
    No wonder, tried almost every combination of copying the openvr_api.dll but like you said, nothing worked. Where'd you see it being due to DX9? Works great w/ rF2.
     
  8. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    I spoke to author and looked at code. There are DX11/DX12 related wrappers, but no DX9.
     
    • Like Like x 1
  9. OlivierMDVY

    OlivierMDVY Active Member

    Joined:
    Jan 29, 2015
    Ratings:
    +27 / 0 / -0
    Skill no dx9 wrappers ?
     
  10. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    I am working on it, expect news in next 2 weeks.
     
    • Like Like x 4
  11. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Guys, I implemented Raceroom support in OC (as well as rF2 track loading screen and ability to run scripts on startup), but merge into main binary takes longer than I expected. Stay tuned, I'll update this thread when main binary gets my work.
     
    • Like Like x 2
  12. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +229 / 0 / -0
    I really appreciate your hard work on this! Looks nice.
     
  13. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Just so that you know - do not expect miracles. OC did not make much difference in R3E (although there's difference in anti aliasing). But ability to uninstall SVR alone is worth it to me :)
     
    • Like Like x 1
    • Agree Agree x 1
    • Informative Informative x 1
  14. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Latest instructions here: https://forum.sector3studios.com/in...st-for-oculus-owners.11535/page-2#post-165848

    enableCubemap should be False for Raceroom.

    -----original post---

    Latest version of OC supports Raceroom! I liked the idea behind OC, and I always liked computer graphics, so, as a fun challenge, I decided to try adding Raceroom support. I worked with OC developer ZNix and successfully made OC work with R3E.

    Note that I am not seeing much improvement/difference compared to SVR, but to me just the fact that SVR no longer starts is worth it.

    Binary provided as is, use at your own risk.

    Get it here: https://gitlab.com/znixian/OpenOVR

    To install:
    • Back up original open_ovr.dll under "Steam\SteamApps\common\raceroom racing experience\Game\x64\" folder
    • Drop OC's implementation of open_ovr.dll into Raceroom\x64 folder.
    * Create opencomposite.ini next to open_ovr.dll and place those lines into it:

    supersampleRatio=2.0
    enableAudio=false
    useViewportStencil=true
    threePartSubmit=true
    enableLayers=true
    dx10Mode=true


    * Adjust supersampleRatio to your liking.

    • Feel free to join OC Discord for news and updates: https://discordapp.com/invite/zYA6Tzs

    Known issues/limitations:
    - in theory, you need Win8 or Win7 with KB2670838 or later OS for this to work, but I only tried Win10 x64 1809
    - To me it seems that there's some difference between SVR SS and OC SS (PPD) visually, so you might have to review your settings.

    One more interesting thing is to see how those two settings affect Raceroom:
    threPartSubmit=true/false
    useViewportStencil=true/false
    Share your findings!

    Enjoy R3E Oculus without Steam VR! And if you like how it works spread the word.
     
    • Winner Winner x 1
    • Creative Creative x 1
    Last edited: Jan 22, 2019
  15. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Make sure to set enableLayers=true
    On opencomposite.ini
     
  16. sherpa25

    sherpa25 Member

    Joined:
    Jul 2, 2018
    Ratings:
    +24 / 0 / -0
    Thanks! Are these also put in opencomposite.ini?
    Works well in rF2, hope it does too here in R3E, will test soon.

    Oh, BTW, Discord invite appears invalid.
     
  17. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    https://discordapp.com/invite/zYA6Tzs
    I tested it works in merged branch, but there are still some merge issues, I'll let this thread know when it is done done :)
     
    • Like Like x 1
  18. sherpa25

    sherpa25 Member

    Joined:
    Jul 2, 2018
    Ratings:
    +24 / 0 / -0
    Clarification... I've maintained supersampling under launch options (-vr 1.9). Should we maintain it here, or just in the .ini file, or it doesn't matter?

    Thanks.
     
    Last edited: Nov 12, 2018
  19. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    I don't think game's switches will work. You have to use OC's ini file, here's mine:
    supersampleRatio=2.0
    enableAudio=false
    useViewportStencil=true
    threePartSubmit=true
    enableLayers=true

    opencomposite.ini next to .dll.

    Please note, that this .ini is not final, there's a regression caused during the merge, so I will keep this thread posted if .ini will change.
     
    • Like Like x 1
  20. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +130 / 0 / -0
    Important update:
    For Raceroom, you have to also use:
    dx10Mode=true

    flag.