BabylonJS / BabylonNative

Build cross-platform native applications with the power of the Babylon.js JavaScript framework
MIT License
761 stars 131 forks source link

XR_FAILED using Oculus OpenXR libraries with Oculus Rift #379

Closed bnolan closed 2 days ago

bnolan commented 4 years ago

Ok, so still getting XR_FAILED. This time however, I'm running on a desktop PC, windows 10 with a a gtx 970 and oculus rift. The rift runs fine with openxr with this sample:

https://github.com/maluoi/OpenXRSamples

I can compile and run the BabylonNative playground, but when it tries to enter vr mode (let vr = true), it starts rendering in 2d mode for ~5 seconds, but then crashes on trying to enter VR mode.

Here are my logs:

'Playground.exe' (Win32): Loaded 'C:\Users\bnola\Projects\BabylonNative\Build\Apps\Playground\Debug\Playground.exe'. Symbols loaded.
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\Chakra.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\D3DCompiler_47.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\icuuc.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\icuuc.dll'
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\ucrtbased.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\icuin.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\icuin.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\icuin.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\icuuc.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\icu.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\pdm.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\UIAutomationCore.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\msdbg2.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'. 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (3449): BGFX Init...
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (3456): BGFX Version 1.108.7318 (commit: 22df26ab70acb3f36018796fbe952751fa91a9f8)
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1838): BGFX Multithreaded renderer is disabled.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1842): BGFX Running in single-threaded mode
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\nvapi64.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\mscms.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\coloradapterclient.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreCommonProxyStub.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\StructuredQuery.dll'. 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\nvapi.cpp (160): BGFX GeForce GTX 970
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\nvapi.cpp (176): BGFX WARN NVAPI supported.
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\d3d9.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\DXGIDebug.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryPS.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (197): BGFX Adapter #0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (201): BGFX     Description: NVIDIA GeForce GTX 970
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (207): BGFX     VendorId: 0x000010de, DeviceId: 0x000013c2, SubSysId: 0x29743842, Revision: 0x000000a1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (212): BGFX     Memory: 4239917056 (video), 0 (system), 8562823168 (shared)
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (251): BGFX     Output #0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (255): BGFX                    DeviceName: \\.\DISPLAY1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (261): BGFX            DesktopCoordinates: 0, 0, 3440, 1440
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (262): BGFX             AttachedToDesktop: 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (263): BGFX                      Rotation: 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (274): BGFX                  BitsPerColor: 8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (277): BGFX                   Color space: RGB,    0-255, 2.2,  Image, BT.709,  n/a (colorspace, range, gamma, sitting, primaries, transform)
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (278): BGFX                    RedPrimary: 0.639648, 0.330078
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (279): BGFX                  GreenPrimary: 0.299804, 0.599609
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (280): BGFX                   BluePrimary: 0.150390, 0.059570
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (281): BGFX                    WhitePoint: 0.313476, 0.329101
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (282): BGFX                  MinLuminance: 0.500000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (283): BGFX                  MaxLuminance: 270.000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (284): BGFX         MaxFullFrameLuminance: 270.000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (285): BGFX                   HDR support: false
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (197): BGFX Adapter #1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (201): BGFX     Description: Microsoft Basic Render Driver
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (207): BGFX     VendorId: 0x00001414, DeviceId: 0x0000008c, SubSysId: 0x00000000, Revision: 0x00000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (212): BGFX     Memory: 0 (video), 0 (system), 8562823168 (shared)
'Playground.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.1016_none_9e7a36bbe461dae4\comctl32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_db678424d2641c3d\nvldumdx.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.Search.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\mssprxy.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_db678424d2641c3d\nvwgf2umx.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\cldapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\edputil.dll'. 
'Playground.exe' (Win32): Unloaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\nvspcap64.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\d3d11_3SDKLayers.dll'. 
The thread 0xa8c has exited with code 0 (0x0).
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (912): BGFX WARN Direct3D11 device feature level 12.1.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (347): BGFX DXGI device 11.3, hr 0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (410): BGFX Graphics debugger is not present.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (498): BGFX DXGI swap chain 4, hr 0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (505): BGFX Color space support:
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (517): BGFX      0: "RGB,    0-255, 2.2, ", 0x00000001, supported
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (517): BGFX      1: "RGB,    0-255, 1.0, ", 0x00000000, -
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (517): BGFX     12: "RGB,    0-255, 2084,", 0x00000001, supported
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (562): BGFX Display specs:
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (563): BGFX              BitsPerColor: 8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (566): BGFX               Color space: RGB,    0-255, 2.2,  Image, BT.709,  n/a (colorspace, range, gamma, sitting, primaries, transform)
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (567): BGFX                RedPrimary: 0.639648, 0.330078
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (568): BGFX              GreenPrimary: 0.299804, 0.599609
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (569): BGFX               BluePrimary: 0.150390, 0.059570
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (570): BGFX                WhitePoint: 0.313476, 0.329101
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (571): BGFX              MinLuminance: 0.500000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (572): BGFX              MaxLuminance: 270.000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\dxgi.cpp (573): BGFX     MaxFullFrameLuminance: 270.000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC4x4.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC4x4.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC5x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC5x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC6x6.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC6x6.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC8x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC8x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC8x6.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC8x6.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format ASTC10x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1483): BGFX CheckFeatureSupport failed with 80004005 for sRGB format ASTC10x5.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (1407): BGFX CheckFeatureSupport failed with 80004005 for format R1.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1528): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1532): BGFX Detected GPUs (2):
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1533): BGFX     +----------------   Index
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1534): BGFX     |  +-------------   Device ID
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'. 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1535): BGFX     |  |    +--------   Vendor ID
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1545): BGFX     0: 13c2 10de
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1545): BGFX     1: 008c 1414
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1548): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1554): BGFX Supported renderer backends (6):
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - Noop
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - Direct3D 9
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - Direct3D 11
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - Direct3D 12
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - OpenGL 2.1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1557): BGFX     - Vulkan
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1560): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1561): BGFX Sort key masks:
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1562): BGFX       View     3fc0000000000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1563): BGFX       Draw bit 0020000000000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1565): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1566): BGFX    D  Type     0018000000000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1568): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1569): BGFX    D0 Blend    0006000000000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1570): BGFX    D0 Program  0001ff0000000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1571): BGFX    D0 Depth    000000ffffffff00
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1573): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1574): BGFX    D1 Depth    0007fffffff80000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1575): BGFX    D1 Blend    0000000000060000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1576): BGFX    D1 Program  000000000001ff00
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1578): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1579): BGFX    D2 Seq      0007ffff80000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1580): BGFX    D2 Blend    0000000060000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1581): BGFX    D2 Program  000000001ff00000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1583): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1584): BGFX     C Seq      001ffffe00000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1585): BGFX     C Program  00000001ff000000
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1587): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1592): BGFX Capabilities (renderer Direct3D 11, vendor 0x10de, device 0x13c2):
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_ALPHA_TO_COVERAGE
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_BLEND_INDEPENDENT
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_COMPUTE
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_CONSERVATIVE_RASTER
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_DRAW_INDIRECT
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_FRAGMENT_DEPTH
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_FRAGMENT_ORDERING
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_GRAPHICS_DEBUGGER
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_HDR10
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_HIDPI
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_INDEX32
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_INSTANCING
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_OCCLUSION_QUERY
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_RENDERER_MULTITHREADED
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_SWAP_CHAIN
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_2D_ARRAY
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_3D
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_BLIT
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_COMPARE_ALL
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_COMPARE_LEQUAL
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_CUBE_ARRAY
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [ ] BGFX_CAPS_TEXTURE_DIRECT_ACCESS
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_TEXTURE_READ_BACK
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_VERTEX_ATTRIB_HALF
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_VERTEX_ATTRIB_UINT10
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1598): BGFX    [x] BGFX_CAPS_VERTEX_ID
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1601): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1602): BGFX Limits:
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1604): BGFX    maxDrawCalls                 65535
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1605): BGFX    maxBlits                      1024
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1606): BGFX    maxTextureSize               16384
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1607): BGFX    maxTextureLayers              2048
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1608): BGFX    maxViews                       256
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1609): BGFX    maxFrameBuffers                128
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1610): BGFX    maxFBAttachments                 8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1611): BGFX    maxPrograms                    512
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1612): BGFX    maxShaders                     512
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1613): BGFX    maxTextures                   4096
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1614): BGFX    maxTextureSamplers              16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1615): BGFX    maxComputeBindings              16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1616): BGFX    maxVertexLayouts                64
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1617): BGFX    maxVertexStreams                32
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1618): BGFX    maxIndexBuffers               4096
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1619): BGFX    maxVertexBuffers              4096
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1620): BGFX    maxDynamicIndexBuffers        4096
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1621): BGFX    maxDynamicVertexBuffers       4096
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1622): BGFX    maxUniforms                    512
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1623): BGFX    maxOcclusionQueries            256
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1624): BGFX    maxEncoders                      1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1625): BGFX    minResourceCbSize            65536
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1626): BGFX    transientVbSize            6291456
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1627): BGFX    transientIbSize            2097152
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1630): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1631): BGFX Supported texture formats:
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1632): BGFX     +----------------   2D: x = supported / * = emulated
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1633): BGFX     |+---------------   2D: sRGB format
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1634): BGFX     ||+--------------   3D: x = supported / * = emulated
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1635): BGFX     |||+-------------   3D: sRGB format
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1636): BGFX     ||||+------------ Cube: x = supported / * = emulated
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1637): BGFX     |||||+----------- Cube: sRGB format
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1638): BGFX     ||||||+---------- vertex format
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1639): BGFX     |||||||+--------- image
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1640): BGFX     ||||||||+-------- framebuffer
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1641): BGFX     |||||||||+------- MSAA framebuffer
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1642): BGFX     ||||||||||+------ MSAA texture
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1643): BGFX     |||||||||||+----- Auto-generated mips
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1644): BGFX     ||||||||||||  +-- name
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxl      ] BC1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxl      ] BC2
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxl      ] BC3
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x       ] BC4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x       ] BC5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x       ] BC6H
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxl      ] BC7
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ETC1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ETC2
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ETC2A
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ETC2A1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC12
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC14
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC12A
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC14A
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC22
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] PTC24
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ATC
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ATCE
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ATCI
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC4x4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC5x5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC6x6
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC8x5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC8x6
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] ASTC10x5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [            ] R1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x  if+mM] A8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R8I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R8U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R8S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R16I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R16U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R16F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R16S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R32I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] R32U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] R32F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG8I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG8U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG8S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG16I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG16U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG16F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG16S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG32I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RG32U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG32F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] RGB8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] RGB8I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] RGB8U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [* * *       ] RGB8S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x       ] RGB9E5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxlvif+mM] BGRA8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxlvif+mM] RGBA8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxlvif+m ] RGBA8I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [xlxlxlvif+m ] RGBA8U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGBA8S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGBA16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RGBA16I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RGBA16U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGBA16F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGBA16S
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RGBA32I
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+m ] RGBA32U
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGBA32F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x   f+mM] R5G6B5
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x       ] RGBA4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x   f+mM] RGB5A1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RGB10A2
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x x x vif+mM] RG11B10F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D24
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D24S8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D32
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D16F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D24F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D32F
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1665): BGFX    [x   x   f+  ] D0S8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1670): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1674): BGFX NDC depth [0, 1], origin top left.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (1676): BGFX 
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   0) bgfx_clear_depth
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   1) bgfx_clear_color
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4188): BGFX Texture   0: R8 (requested: R8), layers 1, 2048x24.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Vertex Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  predefined: u_modelViewProj (mat4), num  0, r.index   0, r.count  4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 64
D3D11 WARNING: ID3D11VertexShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 0
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (528): BGFX VertexLayout 74c34f26 (d443ed7f), stride 28
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  0: Attrib::Position     num 3, type 4, norm [ ], asint [ ], offset  0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 12
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  5: Attrib::Color1       num 4, type 0, norm [x], asint [ ], offset 16
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset 20
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Vertex Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_depth (vec4), num  0, r.index   0, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 16
D3D11 WARNING: ID3D11VertexShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: bgfx_clear_color (vec4), num  8, r.index   0, r.count  8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 128
D3D11 WARNING: ID3D11PixelShader::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (528): BGFX VertexLayout aaaa40da (e0896034), stride 8
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (3463): BGFX Init complete.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD880.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF40.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF40.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF40.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2F1E00.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2F1B90.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FD870.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF30.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF40.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCF40.
BJS - [11:13:15]: Babylon Native (v4.2.0-alpha.33) launched
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCC70.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2FCC70.
BJS - [11:13:15]: Loaded
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2F4990.
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x0000001C1D2F3690.
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   2) vLightData0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   3) vLightDiffuse0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   4) vLightGround0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   5) vLightSpecular0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   6) view
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   7) viewProjection
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   8) world
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle   9) vAmbientColor
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle  10) vDiffuseColor
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle  11) vEmissiveColor
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle  12) vEyePosition
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle  13) vSpecularColor
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx_p.h (4636): BGFX Creating uniform (handle  14) visibility
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Vertex Shader consts 7
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightData0 (vec4), num  0, r.index   0, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightDiffuse0 (vec4), num  0, r.index  16, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightGround0 (vec4), num  0, r.index  32, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightSpecular0 (vec4), num  0, r.index  48, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: view (mat4), num  0, r.index  64, r.count  4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: viewProjection (mat4), num  0, r.index 128, r.count  4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: world (mat4), num  0, r.index 192, r.count  4
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 256
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3915): BGFX Fragment Shader consts 10
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vAmbientColor (vec4), num  0, r.index   0, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vDiffuseColor (vec4), num  0, r.index  16, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vEmissiveColor (vec4), num  0, r.index  32, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vEyePosition (vec4), num  0, r.index  48, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightData0 (vec4), num  0, r.index  64, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightDiffuse0 (vec4), num  0, r.index  80, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightGround0 (vec4), num  0, r.index  96, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vLightSpecular0 (vec4), num  0, r.index 112, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: vSpecularColor (vec4), num  0, r.index 128, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (3987): BGFX  user: visibility (vec4), num  0, r.index 144, r.count  1
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\renderer_d3d11.cpp (4055): BGFX  CB size: 160
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (528): BGFX VertexLayout 5593a40b (43cff366), stride 12
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  0: Attrib::Position     num 3, type 4, norm [ ], asint [ ], offset  0
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (528): BGFX VertexLayout f86a94bc (220ff409), stride 12
C:\Users\bnola\Projects\BabylonNative\Dependencies\bgfx.cmake\bgfx\src\bgfx.cpp (548): BGFX     attr  1: Attrib::Normal       num 3, type 4, norm [ ], asint [ ], offset  0
BJS - [11:13:18]: FPS: 60
BJS - [11:13:19]: FPS: 60
BJS - [11:13:20]: FPS: 60
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Web.Http.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\wininet.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\OnDemandConnRouteHelper.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\FirewallAPI.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\fwbase.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dpapi.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\mlang.dll'. 
'Playground.exe' (Win32): Loaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
'Playground.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. 
25/08 11:13:20.624 {INFO}    [CAPI] OVRInterface plugin library location: D:\Oculus\Support\oculus-runtime\client-plugins\x64
25/08 11:13:20.624 {INFO}    [CAPI] OVRInterface plugin libraries:
  <none>

25/08 11:13:20.624 {INFO}    [CAPI] OVRInterface classes and interfaces:
    Class Id: 0xb00b00067332ab1, class Name: OVRExtensionAddition
      Interface Id: 0xb00b00053345520
    Class Id: 0xb00b000538d08ac1, class Name: OpenXRExtensionAddition
      Interface Id: 0xb00b000538d08ac0

25/08 11:13:20.625 {INFO}    [CAPI] LibOVR module is located at D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll
25/08 11:13:20.627 {INFO}    [Client] Connected to the server running version (prod = 1).1.52.0(build = 0) feature version = 0. Client runs version (prod = 1).1.52.0(build = 0) feature version = 0
25/08 11:13:20.629 {DEBUG}   [HMDState] Using default profile default
25/08 11:13:20.629 {INFO}    [HMDState] IAD changed to %.1fmm63.872
25/08 11:13:20.629 {DEBUG}   [HMDRenderState] UpdateGeneratedState: IPD = 0.063872, IAD = 0.063872, screen_sep = 0.069542
25/08 11:13:20.629 {DEBUG}   [SharedMemory] Creating factory
25/08 11:13:20.634 {DEBUG}   [HMDState] Using default profile default
25/08 11:13:20.634 {INFO}    [HMDState] IAD changed to %.1fmm63.872
25/08 11:13:20.634 {DEBUG}   [HMDRenderState] UpdateGeneratedState: IPD = 0.063872, IAD = 0.063872, screen_sep = 0.069542
25/08 11:13:20.640 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::initialize 1
25/08 11:13:20.640 {DEBUG}   [KMTSyncObject] Creating KMTHandle 0xca08d700
25/08 11:13:20.641 {DEBUG}   [KMTSyncObject] Creating KMTHandle 0xca08d480
25/08 11:13:20.641 {DEBUG}   [KMTSyncObject] KMTHandle::Create hDevice=0x400007c0
25/08 11:13:20.641 {DEBUG}   [KMTSyncObject] KMTHandle::Create hContexts[0] = 1073744832
25/08 11:13:20.641 {DEBUG}   [KMTSyncObject] KMTHandle::Create hContexts[1] = 1073745152
25/08 11:13:20.642 {INFO}    [D3D11_CliCompositorClient] CliD3D11CompositorClient initialized
25/08 11:13:20.644 {DEBUG}   [OXR] SetSessionState from XR_SESSION_STATE_UNKNOWN to XR_SESSION_STATE_IDLE
25/08 11:13:20.645 {INFO}    [OXR] xrCreateSession 0x1005d9400000001
25/08 11:13:20.645 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 2
25/08 11:13:20.646 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 3
25/08 11:13:20.648 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 4
25/08 11:13:20.649 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 5
25/08 11:13:20.650 {WARNING} [OXR] OXRSessionData::AttachSessionActionSets using shallow copy for bound action sets (fixme!)
Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000001C1D2FDEA0.
The thread 0x65fc has exited with code 0 (0x0).
The thread 0x5df0 has exited with code 0 (0x0).
The thread 0x6164 has exited with code 0 (0x0).
The thread 0xd64 has exited with code 0 (0x0).
The thread 0x4bb0 has exited with code 0 (0x0).
The thread 0x5cc0 has exited with code 0 (0x0).
The thread 0x4f2c has exited with code 0 (0x0).
The thread 0x38ec has exited with code 0 (0x0).
bnolan commented 4 years ago

If I put on the rift it says 'playground loading' but never finishes loading.

bnolan commented 4 years ago

This is the logs from the SingleFileExample OpenXR app:

'SingleFileExample.exe' (Win32): Loaded 'C:\Users\bnola\Documents\GitHub\OpenXRSamples\SingleFileExample\x64\Debug\SingleFileExample.exe'. Symbols loaded.
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\D3DCompiler_47.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\msvcrt.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Users\bnola\Documents\GitHub\OpenXRSamples\SingleFileExample\x64\Debug\openxr_loader.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\dbghelp.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\SHCore.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\profapi.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\umpdc.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\powrprof.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\windows.storage.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\shell32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\shlwapi.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\opengl32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\glu32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\msasn1.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\crypt32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\wintrust.dll'
'SingleFileExample.exe' (Win32): Unloaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'
'SingleFileExample.exe' (Win32): Loaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\SHCore.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\profapi.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\umpdc.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\powrprof.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\windows.storage.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\shell32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\shlwapi.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\opengl32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\glu32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\msasn1.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\crypt32.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\wintrust.dll'
'SingleFileExample.exe' (Win32): Unloaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'
'SingleFileExample.exe' (Win32): Loaded 'D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
25/08 11:20:11.447 {INFO}    [CAPI] OVRInterface plugin library location: D:\Oculus\Support\oculus-runtime\client-plugins\x64
25/08 11:20:11.447 {INFO}    [CAPI] OVRInterface plugin libraries:
  <none>

25/08 11:20:11.447 {INFO}    [CAPI] OVRInterface classes and interfaces:
    Class Id: 0xb00b00067332ab1, class Name: OVRExtensionAddition
      Interface Id: 0xb00b00053345520
    Class Id: 0xb00b000538d08ac1, class Name: OpenXRExtensionAddition
      Interface Id: 0xb00b000538d08ac0

25/08 11:20:11.447 {INFO}    [CAPI] LibOVR module is located at D:\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. 
25/08 11:20:11.452 {INFO}    [Client] Connected to the server running version (prod = 1).1.52.0(build = 0) feature version = 0. Client runs version (prod = 1).1.52.0(build = 0) feature version = 0
xrCreateDebugUtilsMessengerEXT: Completed loader terminatorxrCreateDebugUtilsMessengerEXT: Completed loader trampoline25/08 11:20:11.455 {DEBUG}   [HMDState] Using default profile default
25/08 11:20:11.456 {INFO}    [HMDState] IAD changed to %.1fmm63.8902
25/08 11:20:11.456 {DEBUG}   [HMDRenderState] UpdateGeneratedState: IPD = 0.0638902, IAD = 0.0638902, screen_sep = 0.0695602
25/08 11:20:11.456 {DEBUG}   [SharedMemory] Creating factory
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_db678424d2641c3d\nvldumdx.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_db678424d2641c3d\nvwgf2umx.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'. 
'SingleFileExample.exe' (Win32): Unloaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\nvspcap64.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. 
'SingleFileExample.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. 
The thread 0x2758 has exited with code 0 (0x0).
25/08 11:20:11.540 {DEBUG}   [HMDState] Using default profile default
25/08 11:20:11.541 {INFO}    [HMDState] IAD changed to %.1fmm63.8902
25/08 11:20:11.541 {DEBUG}   [HMDRenderState] UpdateGeneratedState: IPD = 0.0638902, IAD = 0.0638902, screen_sep = 0.0695602
25/08 11:20:11.554 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::initialize 1
25/08 11:20:11.554 {DEBUG}   [KMTSyncObject] Creating KMTHandle 0x27db4410
25/08 11:20:11.578 {DEBUG}   [KMTSyncObject] Creating KMTHandle 0x27db4d70
25/08 11:20:11.578 {DEBUG}   [KMTSyncObject] KMTHandle::Create hDevice=0x40000080
25/08 11:20:11.578 {DEBUG}   [KMTSyncObject] KMTHandle::Create hContexts[0] = 1073742976
25/08 11:20:11.578 {DEBUG}   [KMTSyncObject] KMTHandle::Create hContexts[1] = 1073743296
25/08 11:20:11.579 {INFO}    [D3D11_CliCompositorClient] CliD3D11CompositorClient initialized
25/08 11:20:11.581 {DEBUG}   [OXR] SetSessionState from XR_SESSION_STATE_UNKNOWN to XR_SESSION_STATE_IDLE
25/08 11:20:11.581 {INFO}    [OXR] xrCreateSession 0x10059d800000001
25/08 11:20:11.581 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 2
25/08 11:20:11.583 {DEBUG}   [D3D11_CliCompositorClient] CliD3D11CompositorClient::addD3DRef 3
25/08 11:20:11.585 {WARNING} [OXR] OXRSessionData::AttachSessionActionSets using shallow copy for bound action sets (fixme!)

It seems to run fine.

bnolan commented 4 years ago

I've done some debugging and the runtime error is here:

Screenshot (6)

It seems to trigger on all the files, and I cannot see what the javascript error message is - but I'm guessing it's something do with the OpenXR support, since it always crashed once the timeout to create the xr experience fires.

chrisfromwork commented 4 years ago

I haven't personally tested out oculus openxr support but we have definitely seen some weird behaviors when running openxr support on hololens.

It might be worth changing your visual studio exception settings to break when this is occurring: Exception thrown at 0x00007FFFACFBA719 in Playground.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000001C1D2FDEA0. https://docs.microsoft.com/en-us/visualstudio/debugger/managing-exceptions-with-the-debugger?view=vs-2019#tell-the-debugger-to-break-when-an-exception-is-thrown

Seeing what call stack is causing this runtime error may help us better understand what portion of babylon native's OpenXR code is causing this exception.

On another note, it looks like your xr session may be transitioning to an idle state (XR_SESSION_STATE_IDLE). I know I have seen some HoloLens issues where poor frame rates/a lot of scene content can cause the application to transition to an idle state. When in an idle state, i have seen exceptions thrown based on submitting frames even though the xr session has been torn down: https://github.com/BabylonJS/BabylonNative/issues/375

Do you know what commit you are trying for the BabylonNative repo? Recently we moved this repo to a reference newer OpenXR-SDK commit to pick up more content. Itd be interesting to see whether this issue repros with more up to do date versions of the openxr sdk. Do you know what version of openxr is being used in the openxr samples project?

syntheticmagus commented 4 years ago

@bnolan The runtime error you're seeing here is probably (not guaranteed, but likely) misleading. N-API's handling of errors is a little strange -- many times they're stored, then thrown the next time you use N-API, not the time they actually occurred. Depending on the circumstances, though, it may be possible to catch whatever the real error was in the debugger.

If the error was in JavaScript, we may be in luck because (I'm guessing) your build is using the Chakra JavaScript engine, and Chakra debugging is relatively easy on Windows at the moment. In your Visual Studio solution explorer, right-click the Playground app and open Properties. In the left-most panel of the project properties, select Debugging, then from the options change Debugger Type to "Script." Now if you run again and JavaScript throws an error, the debugger should automatically break on the error and let you see where it came from. You can also set breakpoints and inspect values in JavaScript, as with normal Visual Studio debugging.

If the error was in C++, it might be a little trickier to find, but it shouldn't be too bad. If your debugger didn't break on it before, you may need to enable more kinds of C++ exceptions. In your solution's Exception Settings, enable all C++ exceptions, then run again. Unfortunately this will be a little tricky (at least when using Chakra) because the first few exceptions you'll encounter are all expected behaviors and don't represent real problems. Thankfully, it should be pretty easy to tell with the Playground XR experience when you've gotten through the expected errors because they'll all happen before the ordinary 2D window starts rendering. Just F5 through the errors until the cube pops up, then wait for the XR experience to launch. If the debugger catches an error then, it's almost certainly related to whatever the problem is.

bghgary commented 4 years ago

At some point, we need to make error handling better. This is captured by #224 and is something we should address to make it less painful.

bghgary commented 2 days ago

Closing in favor of #231