This extension introduces a new command: GetDeviceFaultInfoEXT, which may be called subsequent to a ERROR_DEVICE_LOST error code having been returned by the implementation. This command allows developers to query for additional information on GPU faults which may have caused device loss, and to generate binary crash dumps, which may be loaded into external tools for further diagnosis.
VK_EXT_device_faultVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT
VkDeviceFaultAddressTypeEXT - Page fault access types Description
|
| public static final int | VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT
VkDeviceFaultVendorBinaryHeaderVersionEXT - Encode vendor binary crash dump version Description
|
| public static final String | VK_EXT_DEVICE_FAULT_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_DEVICE_FAULT_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkGetDeviceFaultInfoEXT(VkDevice device, long pFaultCounts, long pFaultInfo)
Unsafe version of: |
| public static int | vkGetDeviceFaultInfoEXT(VkDevice
the logical device from which to query the diagnostic fault information. device, VkDeviceFaultCountsEXT a pointer to a pFaultCounts, VkDeviceFaultInfoEXT VkDeviceFaultCountsEXT structure in which counts for structures describing additional fault information are returned.NULL or a pointer to a VkDeviceFaultInfoEXT structure in which fault information is returned.Reports diagnostic fault information on the specified logical device. |
| VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT VkDeviceFaultAddressTypeEXT - Page fault access types Description
NoteThe instruction pointer values recorded may not identify the specific instruction(s) that triggered the fault. The relationship between the instruction pointer reported and triggering instruction will be vendor-specific. See Also | |
| VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT | back to summary |
|---|---|
| public static final int VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT VkDeviceFaultVendorBinaryHeaderVersionEXT - Encode vendor binary crash dump version Description
See Also
| |
| VK_EXT_DEVICE_FAULT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_DEVICE_FAULT_EXTENSION_NAME The extension name. | |
| VK_EXT_DEVICE_FAULT_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_DEVICE_FAULT_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT Extends Enum values: | |
| EXTDeviceFault | back to summary |
|---|---|
| protected EXTDeviceFault() | |
| nvkGetDeviceFaultInfoEXT | back to summary |
|---|---|
| public static int nvkGetDeviceFaultInfoEXT(VkDevice device, long pFaultCounts, long pFaultInfo) Unsafe version of: | |
| vkGetDeviceFaultInfoEXT | back to summary |
|---|---|
| public static int vkGetDeviceFaultInfoEXT(VkDevice device, VkDeviceFaultCountsEXT pFaultCounts, VkDeviceFaultInfoEXT pFaultInfo) Reports diagnostic fault information on the specified logical device. C SpecificationTo retrieve diagnostic information about faults that may have caused device loss, call:
DescriptionIf If If the vendor-specific crash dumps feature is not enabled, then implementations must set If any If If If any If Valid Usage
Valid Usage (Implicit)
Return Codes
See Also
| |