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

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

  1. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    Oops, probably should have mentioned I've tried this already. I've been playing R3E in VR for a year now via SVR, so it's all set up fine. :) Pressing my VR position reset button does nothing, unfortunately. That is what it looks like though, just black empty space as if the menu is hidden somewhere. Seems to be working fine for everybody else so I don't get it. :confused:
     
  2. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    It occurred to me to try loading a track this morning, to confirm if I really am getting no picture in my headset or if it's just a menu position problem. It's the former... track loaded fine, I can hear the audio playing through my Rift headphones, but the headset is still just black. o_O


    Edit: Really weird thing... my monitor is showing what my headset should be showing. I can move the headset around and the view on the monitor moves accordingly, so the headset and game are definitely communicating. So why no headset picture?! :confused:
     
    Last edited: Jan 9, 2019
  3. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +134 / 0
    I only can say, that some people of another forum have the same problem.
    But I cannot provide a solution. Hopefully, @The Iron Wolf can.
     
  4. sherpa25

    sherpa25 Member

    Joined:
    Jul 2, 2018
    Ratings:
    +12 / 0
    FWIW, can you try restarting SVR? I remember having this a few times and restarting the OVR service seems to resolve it. I run a batch file with this:
    Bold items are the essential ones. Oh, don't forget to run this as Admin. I also use TIW's dll.
     
    • Like Like x 1
  5. DreamsKnight

    DreamsKnight Well-Known Member

    Joined:
    Dec 14, 2016
    Ratings:
    +92 / 0
    same problem. and i use it with rf2 without problem
     
  6. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    Thanks for the reply. Unfortunately, this didn't resolve the issue. Still stuck with a black screen. I've tried both of the available TIW dlls with the same result. :(
     
  7. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +109 / 0
    Could you try doing Oculus setup again, or at least reset center position in Oculus software? Make sure you center in the position that's your racing position.

    Also, do you happen to have main OC dll installed globally?
     
    • Like Like x 1
  8. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    @The Iron Wolf

    Thanks for the reply mate. I did the full sensor and playspace setup again, but it didn't help. I can move sideways to activate the Guardian system, showing me that I'm right in the middle of my playspace. But the boundaries are the only thing I can see... the rest is just black space. On my monitor I can see that I am indeed sitting in the driving seat of the car, and the view moves with my head as it should. But for whatever reason the picture shown on my monitor is not reaching the headset, even though it works perfectly for everything else. (Including R3E with Steam VR.)

    I can confirm that I do not have OC installed globally. I only have your version as R3E is the only game I am interested in using it with right now.

    I don't know if it will help at all, but I found a log file which seems to have some errors or something:

    Code:
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:132    - Wolf's Open Composite (TIWM fork) version: 1.0.0.0_AVX2+PGO
    
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:138    - Requested configuration:
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:139    - supersampleRatio=1.500000
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:140    - enableLayers=true
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:141    - enableCubemap=false
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:142    - threePartSubmit=true
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:143    - useViewportStencil=true
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:144    - postInitCmd=""
    
    10:39:38.508 TID:0x1330    TraceStatrtupMsg  Line:145    - dx10Mode=true
    10:40:03.557 TID:0x1330    VR_InitInternal2  Line:319    - Runtime initialized successfully.
    
    10:40:03.557 TID:0x1330    CVRSystem_012::CVRSystem_012  Line:279    - Created.
    10:40:03.557 TID:0x1330    CVRRenderModels_005::CVRRenderModels_005  Line:1046    - Created.
    10:40:03.557 TID:0x1330    CVRCompositor_016::CVRCompositor_016  Line:20    - Created.
    10:40:17.230 TID:0x1330    CVROverlay_013::CVROverlay_013  Line:572    - Created.
    10:40:17.230 TID:0x1330    BaseOverlay::CreateOverlay  Line:116    - New texture overlay created "overlay.Menu" "Menu"
    10:40:17.230 TID:0x1330    BaseOverlay::CreateOverlay  Line:116    - New texture overlay created "overlay.HUD" "HUD"
    10:40:19.726 TID:0x1330    BaseCompositor::CreateCompositorAPI  Line:362    - Creating new Hybrid DX11 Compositor
    10:40:19.727 TID:0x1330    DX11HybridCompositor::DX11HybridCompositor  Line:45    - DX Call failed with: 0x80070057
    10:40:19.728 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:40:19.733 TID:0x1330    BaseCompositor::CreateCompositorAPI  Line:362    - Creating new Hybrid DX11 Compositor
    10:40:19.733 TID:0x1330    DX11HybridCompositor::DX11HybridCompositor  Line:45    - DX Call failed with: 0x80070057
    10:40:19.733 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:40:19.738 TID:0x1330    BaseCompositor::CreateCompositorAPI  Line:362    - Creating new Hybrid DX11 Compositor for layer use
    10:40:19.738 TID:0x1330    DX11HybridCompositor::DX11HybridCompositor  Line:45    - DX Call failed with: 0x80070057
    10:40:19.738 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:41:37.391 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:173    - Resource mismatch: Width
    10:41:37.391 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:174    - Resource mismatch: Height
    10:41:37.391 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:176    - Resource mismatch: Format
    10:41:37.391 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:41:37.400 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:173    - Resource mismatch: Width
    10:41:37.400 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:174    - Resource mismatch: Height
    10:41:37.400 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:176    - Resource mismatch: Format
    10:41:37.400 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:42:16.113 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:173    - Resource mismatch: Width
    10:42:16.113 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:174    - Resource mismatch: Height
    10:42:16.113 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:176    - Resource mismatch: Format
    10:42:16.113 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:42:16.138 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:173    - Resource mismatch: Width
    10:42:16.138 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:174    - Resource mismatch: Height
    10:42:16.138 TID:0x1330    DX11HybridCompositor::CheckChainCompatible  Line:176    - Resource mismatch: Format
    10:42:16.138 TID:0x1330    DX11HybridCompositor::Invoke  Line:74    - Generating new swap chain
    10:42:19.352 TID:0x1330    VR_ShutdownInternal  Line:353    - Shutting down.
    
     
  9. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +109 / 0
    Sorry, but I have absolutely no idea why that would be. I apologize for the obvious question, do you have VR center button mapped? I believe menu layer should re-center on that button press. Unfortunately, I do not have R3E anymore and I am also leaving Oculus (and meanwhile using Oculus Small runtime), so I can't even try your configuration and very soon WOC project will stop. You might have more luck with main OC project author. He merged my DX10 work, but I don't know if that was done right etc.
     
    • Like Like x 1
    Last edited: Jan 14, 2019
  10. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    No worries bud, thanks for trying to help. :) Your efforts seem to be working for the majority, so this is probably some isolated thing on my system. I've just recently developed some other VR related issues (something up with my USB ports, I think), so that might have something to do with it. I'll try again once I've sorted that problem as it's rather more pressing.
     
  11. The Iron Wolf

    The Iron Wolf Well-Known Member

    Joined:
    Mar 18, 2015
    Ratings:
    +109 / 0
    One thing I keep wondering about, you say "playspace setup". I wonder if this is something new in new Oculus software? If so, see if there's "seated" option, and most important make sure height from the ground roughly matches your HMD's distance from the ground, good luck :)
     
  12. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    Oculus has less options than SVR when going through the playspace setup. It asks your height and then asks you to "draw" your space using one of the controllers. No option for seated or standing. And that's it. Once those two things are done you're good to go. My height is fine in all my Oculus games so it's definitely set up right. I'll have another play around when I get some time.
     
  13. Thomas Jansen

    Thomas Jansen Sector3 Developer Beta tester

    Joined:
    Apr 5, 2018
    Ratings:
    +268 / 0
    Tried this just to see if I would gain anything and it seems HUGE on my hardware, with a fairly old 4770k @ 4,4 and 2400mhz memory. My benchmark view had about 5.5ms rendertime with steamVR and 4.2ish with OVR :O
     
    • Like Like x 1
  14. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    I'm going to give this another go, as I've formatted my system and done a few other things since my last try. Hope it works as R3E is literally the only game left that I play which requires SVR...
     
  15. [RWB] FxUK

    [RWB] FxUK Well-Known Member

    Joined:
    Dec 2, 2018
    Ratings:
    +73 / 0
    I have been using this for a short while and whilst I can't say if there's any performance increase, I didn't really want it for that, I can say that it works really well. I used to experience problems with steam vr crashing, not shutting processes down (including raceroom) properly after finishing a gaming session, etc.. I hate steam VR :p

    Thankfully, I don't even have steam vr installed anymore, just use this dll. So for that reason alone, its well worth it.
     
    • Like Like x 1
    • Agree Agree x 1
  16. neil

    neil Member

    Joined:
    Sep 18, 2016
    Ratings:
    +10 / 0
    I wonder if Steam VR will get an overhaul when the index arrives as it really needs it.
     
  17. Goffik

    Goffik Active Member

    Joined:
    Jun 30, 2017
    Ratings:
    +28 / 0
    They quite literally keep making it worse and worse, removing required features, adding useless ones, ruining performance, and continually denying that it's anything to do with SVR itself. I honestly can't see that attitude changing anytime soon, so anything that allows us to bypass SVR entirely is more than welcome. :cool:
     
    • Agree Agree x 1
  18. Thomas Jansen

    Thomas Jansen Sector3 Developer Beta tester

    Joined:
    Apr 5, 2018
    Ratings:
    +268 / 0
    since the instructions are a bit scattered in this thread, would you mind creating a new thread with the latest instructions @The Iron Wolf ? Then I will make sure someone makes it a sticky :D Because this is amazing, should really be highlighted for oculus users!

    I can also make the new thread if you want, but I don't want to take credit for your work :p
     
    • Agree Agree x 2
  19. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +134 / 0
    Unfortunately is VR on my new Device Slower than SteamVR iwth OpenOVR. With my Old system this was a huge performance boost. Don't knnow whats wrong there in this moment.
     
  20. Thomas Jansen

    Thomas Jansen Sector3 Developer Beta tester

    Joined:
    Apr 5, 2018
    Ratings:
    +268 / 0
    I have a suspicion that the supersampling option in the .ini is actually the same as the oculus SS, so 1.5 would be equivalent to 225% in steam and 2.0 to 400%. I could easily run 200% in steamVR, but 2.0 in OVR almost doubles my frametimes, I also don't gain much visual quality above 1.3ish, which would be 170% in steamVR, which is about what i was always running in steamVR
     
    • Agree Agree x 1