Open Try opened 1 month ago
Can't quite test DX12 - unable to get it to crash, even on purpose. Leaving minimal implementation of DRED for now.
Page-fault logging on Mac:
---crashlog(DeviceLostException(Error Domain=MTLCommandBufferErrorDomain Code=3 "Caused GPU Address Fault Error (0000000b:kIOGPUCommandBuff)---
GPU: Apple M1
---gpulog begin---
<errorState: MTLCommandEncoderErrorStateCompleted, label: Visibility, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: (null), debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: (null), debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: (null), debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: HiZ-occluders, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: HiZ-mip, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: Visibility, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateFaulted, label: (null), debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateFaulted, label: ShadowMap #0, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateFaulted, label: ShadowMap #1, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: Exposure, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: DirectSunLight, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: Stash scene, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateAffected, label: GWater, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateAffected, label: Sun&Moon, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: Reflections, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: Tonemapping, debugSignposts: (null)>
<errorState: MTLCommandEncoderErrorStateCompleted, label: UI, debugSignposts: (null)>
---gpulog end ---
Vulkan VK_EXT_device_fault
Metal: https://developer.apple.com/documentation/metal/mtlcommandbuffer/1443040-error?language=objc
DirectX12: https://microsoft.github.io/DirectX-Specs/d3d/DeviceRemovedExtendedData.html