agi icon indicating copy to clipboard operation
agi copied to clipboard

vkCmdEndRenderPass2KHR causes replay crash

Open rjonaitis opened this issue 2 years ago • 3 comments

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

  1. Capture frame profiler trace of the attached .apk "AGI_VulkanBug" or use attached .gfxtrace from Pixel 5
  2. Open and replay the trace with AGI
  3. 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

rjonaitis avatar Sep 28 '22 10:09 rjonaitis

I will look into this.

yalcinmelihyasin avatar Sep 29 '22 15:09 yalcinmelihyasin

Same issue here. Unity Vulkan, Galaxy Note S20 Qualcomm Adreno (TM) 650 Android 12 API 31

Cliwo avatar Oct 04 '22 09:10 Cliwo

Can confirm I encountered the exact same issue with Google Pixel 4, Android Version 13. AGI version 2023-3.3.0.

N7RX avatar Jul 12 '23 19:07 N7RX