exokitxr / exokit

Native VR/AR/XR engine for JavaScript 🦖
MIT License
997 stars 117 forks source link

Error creating Oculus GL Color Swap Chain #1415

Open luciedefraiteur opened 5 years ago

luciedefraiteur commented 5 years ago

What i did: (windows 10, core i7, rtx 2070, oculus rift s)

nvm install 12.2.0 nvm use 12.2.0

git clone https://github.com/exokitxr/exokit.git cd exokit npm install

cd scripts

.\exokit.cmd -h


C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts>setlocal

C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts>set home=C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\

C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts>set node=C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\node\node.exe

C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts>set code=C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\src\index.js

C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts>IF EXIST "C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\node\node.exe" ("C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\node\node.exe" "C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\src\index.js" -h )  ELSE (node "C:\Users\gonza\Downloads\nvm-noinstall\exokit\scripts\..\src\index.js" -h )
THREE.WebGLRenderer 105
LibOVR: OVR Error:
  Code: -1005 -- ovrError_InvalidParameter
  Description: Null chain pointer provided.
  OVRTime: 181785.810876
  Time: 2019-11-18 22:22:57 [894:568:700]

Error creating Oculus GL Color Swap Chain
LibOVR: OVR Error:
  Code: -1005 -- ovrError_InvalidParameter
  Description: Null chain pointer provided.
  OVRTime: 181785.823135
  Time: 2019-11-18 22:22:57 [906:827:200]

Error creating Oculus GL Depth Swap Chain
LibOVR: OVR Er
avaer commented 5 years ago

You might want to play around with the parameters here: https://github.com/exokitxr/exokit/blob/master/deps/oculus/src/ovrsession.cpp#L552