agi
agi copied to clipboard
vkCmdEndRenderPass2KHR causes replay crash
Environment information:
- AGI version: 2022-3.0.1:d7f82c3dda2df3d81e7b67157da8668c4242511c
- Host OS: Windows 10 Enterprise If tracing on Android:
- Device model: Google Pixel 5, and any other Android devices
- Android Version: 12
Bug description
AGI is unable to replay and profile Unity Vulkan applications when vkCmdEndRenderPass2KHR
is used to end render passes. GAPID crashes during replay. Replay is working fine when vkCmdEndRenderPass
is used instead of vkCmdEndRenderPass2KHR
.
Reproduction steps
- Capture frame profiler trace of the attached .apk "AGI_VulkanBug" or use attached .gfxtrace from Pixel 5
- Open and replay the trace with AGI
- AGI fails to replay because gapir crashes on device
09-28 12:30:38.600 12893 12919 E GAPID : gapir [gapir/cc/interpreter.cpp:146] --- CRASH DURING REPLAY ---
09-28 12:30:38.600 12893 12919 E GAPID : gapir [gapir/cc/interpreter.cpp:147] LAST COMMAND: 10980
09-28 12:30:38.600 12893 12919 E GAPID : gapir [gapir/cc/interpreter.cpp:148] LAST INSTRUCTION: 132442
Stacktrace
Additional debugging information logcat.txt com.DefaultCompany.VulkanBug_20220928_1222.gfxtrace.zip AGI_VulkanBug.apk
I will look into this.
Same issue here. Unity Vulkan, Galaxy Note S20 Qualcomm Adreno (TM) 650 Android 12 API 31
Can confirm I encountered the exact same issue with Google Pixel 4, Android Version 13. AGI version 2023-3.3.0.