VR Performance Tweaks & Tips

Discussion in 'General Discussion' started by Thomas Jansen, Apr 19, 2019.

  1. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    @neil Can you tell us more on what you mean ? Are you talking about your CPU Over Clocking ? or Open Composite app ?
     
  2. neil

    neil Member

    Joined:
    Sep 18, 2016
    Ratings:
    +10 / 0 / -0
    The openvr_api.dll created by open composite this is stopping steam vr working i'm just stuck in the 'void' the game itself seems to have loaded as i can see it on my monitor. I replaced the original back & it works again.
     
  3. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    Ok, the behavior is expected, the dll replaces Steam VR, it is the whole purpose of it, it is to bypass steam VR and redirect to Oculus, this is mostly where the performance boost comes from.
    What can be wrong is your opencomposite.ini settings it must contain the following:

    supersampleRatio=1.0
    enableLayers=true
    enableCubemap=false
    threePartSubmit=true
    useViewportStencil=true
    dx10Mode=true

    Also please note that the opencomposite.ini file should be in the same folder than the openvr_api.dll file, and that is in the same folder than RRRE64.exe.
     
  4. neil

    neil Member

    Joined:
    Sep 18, 2016
    Ratings:
    +10 / 0 / -0
    Yes i forgot that important bit that it does use steamvr, but the game was working ok with open composite before I have correct ini settings. Maybe its because i'm launching from within steam?
     
  5. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    If it was still launching Steam VR then the dll wasn't in the right place, and your game therefore wasn't using OpenComposite.
    It doesn't use Steam VR, it completely replaces it.
    RaceRoom can only work with OpenComposite if the dll and the ini file are in the same folder than the RRRE64.exe file and the ini is configured as Thomas and I said.
     
  6. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    This is the exact same problem I have when trying to use OC. I've yet to find a fix.

    Are you saying that OC worked for you before you created the ini file?
     
  7. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
  8. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    Yep, that's the one I've been trying to use.
     
  9. neil

    neil Member

    Joined:
    Sep 18, 2016
    Ratings:
    +10 / 0 / -0
    No i mean everything has been working properly 'without steam vr' using OC following the instructions as described on the first page but it has now randomly stopped working today & i have changed nothing. I thought maybe the game has updated & over written something but it hasn't.
     
  10. sherpa25

    sherpa25 Member

    Joined:
    Jul 2, 2018
    Ratings:
    +24 / 0 / -0
    FWIW, just tried running R3E with OC and works fine.
     
  11. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    Ok, could you check the content of openovr_log file please? File is in the same folder as openvr_api.dll and contains the log of the API.

    Proper startup contains this:
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:136 - Wolf's Open Composite (TIWM fork) version: 1.0.0.0
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:138 - Requested configuration:
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:139 - supersampleRatio=1.000000
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:140 - enableLayers=true
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:141 - enableCubemap=false
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:142 - threePartSubmit=true
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:143 - useViewportStencil=true
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:144 - postInitCmd=""
    00:50:19.733 TID:0x3404 TraceStatrtupMsg Line:145 - dx10Mode=true
    00:50:26.444 TID:0x3404 VR_InitInternal2 Line:319 - Runtime initialized successfully.
    00:50:26.444 TID:0x3404 CVRSystem_012::CVRSystem_012 Line:279 - Created.
    00:50:26.444 TID:0x3404 CVRRenderModels_005::CVRRenderModels_005 Line:1046 - Created.
    00:50:26.444 TID:0x3404 CVRCompositor_016::CVRCompositor_016 Line:20 - Created.
    00:50:29.313 TID:0x3404 CVROverlay_013::CVROverlay_013 Line:572 - Created.
    00:50:29.313 TID:0x3404 BaseOverlay::CreateOverlay Line:116 - New texture overlay created "overlay.Menu" "Menu"
    00:50:29.313 TID:0x3404 BaseOverlay::CreateOverlay Line:116 - New texture overlay created "overlay.HUD" "HUD"
    00:50:31.004 TID:0x3404 BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor
    00:50:31.006 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    00:50:31.012 TID:0x3404 BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor
    00:50:31.012 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    00:50:31.014 TID:0x3404 BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor for layer use
    00:50:31.014 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    00:52:49.799 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    00:52:49.799 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    00:52:49.799 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    00:52:49.799 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    00:52:49.801 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    00:52:49.801 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    00:52:49.801 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    00:52:49.801 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    00:53:32.157 TID:0x3e24 BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor for layer use
    00:53:32.157 TID:0x3e24 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    02:32:24.967 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    02:32:24.967 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    02:32:24.967 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    02:32:24.967 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    02:32:24.970 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    02:32:24.970 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    02:32:24.970 TID:0x3404 DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    02:32:24.970 TID:0x3404 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    02:32:29.721 TID:0x3404 VR_ShutdownInternal Line:353 - Shutting down.
     
  12. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    @Sebastien Brunier, it seems that I'm getting some errors around the "Creating new Hybrid DX11 Compositor" sections. Do you have any idea what would be causing that?

    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:132 - Wolf's Open Composite (TIWM fork) version: 1.0.0.0_AVX2+PGO

    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:138 - Requested configuration:
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:139 - supersampleRatio=1.000000
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:140 - enableLayers=true
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:141 - enableCubemap=false
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:142 - threePartSubmit=true
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:143 - useViewportStencil=true
    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:144 - postInitCmd=""

    11:09:16.669 TID:0x229c TraceStatrtupMsg Line:145 - dx10Mode=true
    11:09:23.952 TID:0x229c VR_InitInternal2 Line:319 - Runtime initialized successfully.

    11:09:23.952 TID:0x229c CVRSystem_012::CVRSystem_012 Line:279 - Created.
    11:09:23.952 TID:0x229c CVRRenderModels_005::CVRRenderModels_005 Line:1046 - Created.
    11:09:23.952 TID:0x229c CVRCompositor_016::CVRCompositor_016 Line:20 - Created.
    11:09:27.829 TID:0x229c CVROverlay_013::CVROverlay_013 Line:572 - Created.
    11:09:27.829 TID:0x229c BaseOverlay::CreateOverlay Line:116 - New texture overlay created "overlay.Menu" "Menu"
    11:09:27.829 TID:0x229c BaseOverlay::CreateOverlay Line:116 - New texture overlay created "overlay.HUD" "HUD"
    11:09:29.409 TID:0x229c BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor
    11:09:29.409 TID:0x229c DX11HybridCompositor: DX11HybridCompositor Line:45 - DX Call failed with: 0x80070057
    11:09:29.410 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:09:29.417 TID:0x229c BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor
    11:09:29.417 TID:0x229c DX11HybridCompositor: DX11HybridCompositor Line:45 - DX Call failed with: 0x80070057
    11:09:29.417 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:09:29.419 TID:0x229c BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor for layer use
    11:09:29.419 TID:0x229c DX11HybridCompositor: DX11HybridCompositor Line:45 - DX Call failed with: 0x80070057
    11:09:29.419 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:02.284 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    11:11:02.284 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    11:11:02.284 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    11:11:02.284 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:02.290 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    11:11:02.290 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    11:11:02.290 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    11:11:02.290 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:08.155 TID:0x20c8 BaseCompositor::CreateCompositorAPI Line:362 - Creating new Hybrid DX11 Compositor for layer use
    11:11:08.155 TID:0x20c8 DX11HybridCompositor: DX11HybridCompositor Line:45 - DX Call failed with: 0x80070057
    11:11:08.155 TID:0x20c8 DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:23.130 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    11:11:23.130 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    11:11:23.130 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    11:11:23.130 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:23.137 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:173 - Resource mismatch: Width
    11:11:23.137 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:174 - Resource mismatch: Height
    11:11:23.137 TID:0x229c DX11HybridCompositor::CheckChainCompatible Line:176 - Resource mismatch: Format
    11:11:23.137 TID:0x229c DX11HybridCompositor::Invoke Line:74 - Generating new swap chain
    11:11:26.534 TID:0x229c VR_ShutdownInternal Line:353 - Shutting down.
     
  13. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    I see you use the Intel "optimized" version of the DLL 1.0.0.0_AVX2+PGO I use the regular version 1.0.0.0 (I have a Ryzen processor).

    Dev says in his post "If above version crashes, here's regular DLL version." Try the other DLL I guess as you clearly have some kind of "crashing"
     
  14. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    Unfortunately that's the very first thing I tried when it didn't work for me weeks ago, and it makes no difference at all. Tried it again now to be sure... still no picture in my headset, and the log is exactly the same.
     
  15. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    o_O
    What headset GPU and CPU are you using?
     
  16. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    Oculus Rift
    Intel i7-6700
    GeForce GTX 1060 6GB
     
  17. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    Should work...
    I suggest you try to join their Discord channel and ask in #Support because your issue is really different from all I've seen so far.
    https://discord.gg/U9nysc
     
    • Like Like x 1
  18. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    Ok thanks, I'll give it a try.
     
  19. Bull Shark

    Bull Shark Well-Known Member

    Joined:
    Mar 14, 2019
    Ratings:
    +162 / 0 / -0
    I get an error when running PPDO.txt.

    Today I tried the bat files etc but for me it is not working.
    It does not recognise the exit command..
    Capture.PNG


    R3E.bat
    Code:
    "C:\Program Files\Oculus\Support\oculus-diagnostics\OculusDebugToolCLI.exe" --file "D:\Program Files (x86)\Steam\steamapps\common\raceroom racing experience\PPDO.txt"
    "D:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe"
    "D:\Program Files (x86)\Steam\Steam.exe" -applaunch 211500 -vr
    timeout /t 10>nul
    wmic process where name="RRRE64.exe" CALL setpriority "above normal"
    wmic process where name="OVRServer_x64.exe" CALL setpriority "above normal"
    PPDO.txt
    Code:
    service set-pixels-per-display-pixel-override 1.2
    server:disableUsbPowerMgmt
    server:asw.Off
    exit
     
  20. Goffik

    Goffik Well-Known Member

    Joined:
    Jun 30, 2017
    Ratings:
    +170 / 0 / -0
    And once again SVR has somehow corrupted itself and won't start. God how I wish this thing worked for me. :cry: