I’m having a few crashes that are driving me crazy, wondering if this gives any insight to anyone, as to what is failing and where. Or where I should be looking for more info?
It appears to be OpenXR and DX12 related. I have forced DX12 Debug from the commandline: It has shown a bit more info, but beyond my depth.
Any help would be appreciated.
-
d3d12: swapchain present failed (887a0005).
-
Device removed reason (887a0006).
-
d3d12: CreateResource for buffer failed.
-
d3d12: failed to create a buffer of size 65536
-
BufferD3D12 : Unexpected null accessor on Buffer
-
d3d12: DXGI_ERROR_DEVICE_REMOVED reason (887a0006).
-
d3d12: DRED CommandList: (null)
-
d3d12: DRED CommandQueue: (null)
-
d3d12: DRED BreadCrumb count: 0
-
d3d12: DRED Command History (last is suspect):0 0 0 0 0 0 0 0 0 0
[XR] [OpenXR Input]: Application space recovered
XRTextureManager::RequestCreateTexture
XRTextureManager::SetupRenderTextureFromXRRequest (id: 3 col: 000002763C13F400 d: 0000000000000000)
RenderTexture::Create (id: 3)
IVRDeviceCallback_CreateEyeTextureResources 000002763C13F400
d3d12: swapchain present failed (887a0005).
d3d12: swapchain present failed (887a0005).
Device removed reason (887a0006).
GfxDevice was not out of Local memory
Local memory usage:
Budget: 11927552000
CurrentUsage: 4969684992
AvailableForReservation: 67108864
CurrentReservation: 6097993728
GfxDevice was not out of Non-Local memory
Non-Local memory usage:
Budget: 33524613120
CurrentUsage: 227389440
AvailableForReservation: 0
CurrentReservation: 16896524288
Set -force-d3d12-debug for more information on device removal
d3d12 : CreateCommittedResource 'BufferD3D12::CreateBufferResource() Buffer' (65536 x 1) format 0 failed (887a0005).
Device Remove Reason (HRESULT): 0x887a0006
Device Memory Stats:
Local AvailableForReservation: 5815 MB, Budget: 11375 MB, CurrentUsage: 4739 MB, CurrentReservation: 64 MB
Non-local AvailableForReservation: 16113 MB, Budget: 31971 MB, CurrentUsage: 216 MB, CurrentReservation: 0 MB
d3d12: CreateResource for buffer failed.
d3d12: failed to create a buffer of size 65536
BufferD3D12 : Unexpected null accessor on Buffer
BufferD3D12 : Unexpected null accessor on Buffer
BufferD3D12 : Unexpected null accessor on Buffer
Crash!!!
[XR] [31636] [14:31:49.897][Info ] ==== OpenXR Swapchain Details ====
[XR] [31636] [14:31:49.897][Info ]
[XR] [31636] [14:31:49.897][Info ] Render Mode: Single Pass Instanced
[XR] [31636] [14:31:49.897][Info ] Depth Submission Mode: None
[XR] [31636] [14:31:49.897][Info ]
[XR] [31636] [14:31:49.897][Info ] Swapchain Formats: [c:29] 91 2 10 24 40 55 45 20
[XR] [31636] [14:31:49.897][Info ] Creating swapchain for view 0 with dimensions Width=1964 Height=2040 SampleCount=1
[XR] [31636] [14:31:49.897][Info ]
[XR] [31636] [14:31:49.897][Info ] ==== Last 20 non-XR_SUCCESS returns ====
[XR] [31636] [14:31:49.897][Info ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (2x)
[XR] [31636] [14:31:49.897][Info ] [SUCCESS] xrPollEvent: XR_EVENT_UNAVAILABLE (2x)
[XR] [31636] [14:31:49.897][Info ]
[XR] [31636] [14:31:49.897][Info ] ==== Last 20 Events ====
[XR] [31636] [14:31:49.897][Info ] OpenXRSession::HandleSessionStateChangedEvent: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
[XR] [31636] [14:31:49.897][Info ] OpenXRSession::HandleSessionStateChangedEvent: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
[XR] [31636] [14:31:49.897][Info ] OpenXRSession::HandleSessionStateChangedEvent: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
[XR] [31636] [14:31:49.897][Info ] OpenXRSession::HandleSessionStateChangedEvent: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
[XR] [31636] [14:31:49.897][Info ] OpenXRSession::HandleSessionStateChangedEvent: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED
[XR] [31636] [14:31:49.897][Info ]
==== End Unity OpenXR Diagnostic Report ====
And then the last bit of the ‘seemingly’ relevant.
[XR] [OpenXR Input]: Application space recovered
XRTextureManager::RequestCreateTexture
XRTextureManager::SetupRenderTextureFromXRRequest (id: 3 col: 00000245AB6E1B10 d: 0000000000000000)
RenderTexture::Create (id: 3)
IVRDeviceCallback_CreateEyeTextureResources 00000245AB6E1B10
[XR] [OpenXR Input]: [xrLocateSpace] Failed to locate view space relative to app space at time <36155194747620103> [ErrorCode: XR_ERROR_TIME_INVALID]
[XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <devicePose> SubPath </user/hand/left> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
[XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <pointer> SubPath </user/hand/left> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
[XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <devicePose> SubPath </user/hand/right> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
[XR] [OpenXR Input]: [xrLocateSpace] Failed to locate space for ActionSet <oculustouchcontroller> Action <pointer> SubPath </user/hand/right> at Time <> [ErrorCode: XR_ERROR_TIME_INVALID]
TrimDiskCacheJob: Current cache size 495mb
Error on graphics thread: 1
XRTextureManager::RequestDestroyTexture
XRTextureManager::RequestDestroyTexture
XRTextureManager::RequestDestroyTexture
d3d12: swapchain present failed (887a0005).
d3d12: swapchain present failed (887a0005).
Device removed reason (887a0006).
GfxDevice was not out of Local memory
Local memory usage:
Budget: 11927552000
CurrentUsage: 4248125440
AvailableForReservation: 67108864
CurrentReservation: 6097993728
GfxDevice was not out of Non-Local memory
Non-Local memory usage:
Budget: 33524613120
CurrentUsage: 296316928
AvailableForReservation: 0
CurrentReservation: 16896524288
d3d12: DXGI_ERROR_DEVICE_REMOVED reason (887a0006).
d3d12: DRED CommandList: (null)
d3d12: DRED CommandQueue: (null)
d3d12: DRED BreadCrumb count: 0
d3d12: DRED Command History (last is suspect):0 0 0 0 0 0 0 0 0 0