|
50 | 50 | ], |
51 | 51 | "features": { |
52 | 52 | "settings": [ |
| 53 | + { |
| 54 | + "key": "triggers", |
| 55 | + "label": "Crash Dump Triggers", |
| 56 | + "description": "Additional crash detection methods beyond a VK_ERROR_DEVICE_LOST error", |
| 57 | + "type": "GROUP", |
| 58 | + "expanded": true, |
| 59 | + "settings": [ |
| 60 | + { |
| 61 | + "key": "trigger_timeline_semaphore", |
| 62 | + "env": "CDL_TRIGGER_TIMELINE_SEMAPHORE", |
| 63 | + "label": "Timeline Semaphore", |
| 64 | + "description": "Using timeline semaphore to detect device lost before entering into a host wait that might never finishes.", |
| 65 | + "detailed": "This feature is requiring Vulkan timeline semaphore, either Vulkan 1.2 or VK_KHR_timeline_semaphore support. Due to VK_EXT_device_fault specification, using this feature will generate a VUID-vkGetDeviceFaultInfoEXT-device-07336 errors on a crash.", |
| 66 | + "type": "BOOL", |
| 67 | + "default": true |
| 68 | + }, |
| 69 | + { |
| 70 | + "key": "trigger_watchdog_timeout", |
| 71 | + "env": "CDL_TRIGGER_WATCHDOG_TIMEOUT", |
| 72 | + "label": "Watchdog Timeout", |
| 73 | + "description": "This will trigger if the application fails to submit new commands within a set time (in milliseconds) and a log will be created as if the a lost device error was encountered.", |
| 74 | + "type": "BOOL", |
| 75 | + "default": true, |
| 76 | + "settings": [ |
| 77 | + { |
| 78 | + "key": "watchdog_timeout_ms", |
| 79 | + "env": "CDL_WATCHDOG_TIMEOUT_MS", |
| 80 | + "label": "Watchdog Timeout (ms)", |
| 81 | + "description": "If set to a non-zero number, a watchdog thread will be created.", |
| 82 | + "type": "INT", |
| 83 | + "default": 30000, |
| 84 | + "range": { |
| 85 | + "min": 1 |
| 86 | + }, |
| 87 | + "dependence": { |
| 88 | + "mode": "ALL", |
| 89 | + "settings": [ |
| 90 | + { |
| 91 | + "key": "trigger_watchdog_timeout", |
| 92 | + "value": true |
| 93 | + } |
| 94 | + ] |
| 95 | + } |
| 96 | + } |
| 97 | + ] |
| 98 | + } |
| 99 | + ] |
| 100 | + }, |
53 | 101 | { |
54 | 102 | "key": "state", |
55 | 103 | "label": "State Tracking", |
56 | 104 | "description": "Control of state tracking.", |
57 | 105 | "type": "GROUP", |
58 | 106 | "expanded": true, |
59 | 107 | "settings": [ |
| 108 | + { |
| 109 | + "key": "instrument_all_commands", |
| 110 | + "env": "CDL_INSTRUMENT_ALL_COMMANDS", |
| 111 | + "label": "Add markers on each Vulkan command", |
| 112 | + "description": "Include completion markers around every vulkan command", |
| 113 | + "detailed": "This may allow more accuratute fault locations at the expense of larger command buffers and reduced performance", |
| 114 | + "type": "BOOL", |
| 115 | + "default": false |
| 116 | + }, |
| 117 | + { |
| 118 | + "key": "track_semaphores", |
| 119 | + "env": "CDL_TRACK_SEMAPHORES", |
| 120 | + "label": "Track semaphores", |
| 121 | + "description": "Include semaphore state reporting in runtime logging and dump files", |
| 122 | + "detailed": "VK_AMD_buffer_marker is required for this feature", |
| 123 | + "type": "BOOL", |
| 124 | + "default": true |
| 125 | + }, |
60 | 126 | { |
61 | 127 | "key": "sync_after_commands", |
62 | 128 | "env": "CDL_SYNC_AFTER_COMMANDS", |
|
109 | 175 | } |
110 | 176 | } |
111 | 177 | ] |
112 | | - }, |
113 | | - { |
114 | | - "key": "instrument_all_commands", |
115 | | - "env": "CDL_INSTRUMENT_ALL_COMMANDS", |
116 | | - "label": "Add markers on each Vulkan command", |
117 | | - "description": "Include completion markers around every vulkan command", |
118 | | - "detailed": "This may allow more accuratute fault locations at the expense of larger command buffers and reduced performance", |
119 | | - "type": "BOOL", |
120 | | - "default": false |
121 | | - }, |
122 | | - { |
123 | | - "key": "track_semaphores", |
124 | | - "env": "CDL_TRACK_SEMAPHORES", |
125 | | - "label": "Track semaphores", |
126 | | - "description": "Include semaphore state reporting in runtime logging and dump files", |
127 | | - "detailed": "VK_AMD_buffer_marker is required for this feature", |
128 | | - "type": "BOOL", |
129 | | - "default": true |
130 | | - }, |
131 | | - { |
132 | | - "key": "watchdog_timeout_ms", |
133 | | - "env": "CDL_WATCHDOG_TIMEOUT_MS", |
134 | | - "label": "Watchdog timeout (ms)", |
135 | | - "description": "If set to a non-zero number, a watchdog thread will be created.", |
136 | | - "detailed": "This will trigger if the application fails to submit new commands within a set time (in milliseconds) and a log will be created as if the a lost device error was encountered.", |
137 | | - "type": "INT", |
138 | | - "default": 30000, |
139 | | - "range": { |
140 | | - "min": 1 |
141 | | - } |
142 | 178 | } |
143 | 179 | ] |
144 | 180 | }, |
|
0 commit comments