LunarG / gfxreconstruct

Graphics API Capture and Replay Tools for Reconstructing Graphics Application Behavior
https://vulkan.lunarg.com/doc/sdk/latest/linux/capture_tools.html
MIT License
398 stars 110 forks source link

[capture] Crash in Sascha's geometry shader sample #1472

Open bradgrantham-lunarg opened 4 months ago

bradgrantham-lunarg commented 4 months ago

Using --swapchain offscreen --offscreen-swapchain-frame-boundary on Android

bradgrantham-lunarg commented 4 months ago

geometry_shader10_20.zip

bradgrantham-lunarg commented 4 months ago

@fabian-lunarg I've added you to this to take a look. Mostly since you have desktop so far I'd like to know if you can duplicate a crash in geometryshader with "--swapchain offscreen --offscreen-swapchain-frame-boundary" on desktop. Just more data.

fabian-lunarg commented 4 months ago

compiled and captured Sascha's geometry-shader sample (https://github.com/SaschaWillems/Vulkan/tree/master/examples/geometryshader). gfxrecon-replay plays back without any issues with&without using --swapchain offscreen --offscreen-swapchain-frame-boundary flags (using ubuntu LTS 22.04 / nvidia-driver 550.67)

edit:

bradgrantham-lunarg commented 4 months ago

@yaman-lunarg since you have Android running GFXR, would you please capture Sascha's geometry shader sample on your device and see if you encounter a problem replaying it with --swapchain offscreen --offscreen-swapchain-frame-boundary?

yaman-lunarg commented 4 months ago

Replay on S23-Ultra:

  1. No options replay fails due to lack of shaderInt64 support vanilla.txt

  2. With --remove-unsupported, I observed image on the phone removeUnsupported.txt

  3. With --remove-unsupported --swapchain offscreen --offscreen-swapchain-frame-boundary, I did not observe image on the phone requested.txt

bradgrantham-lunarg commented 4 months ago

Was that using the "geometry_shader10_20.zip" capture attached above?

yaman-lunarg commented 4 months ago

Yes. Would you like me to build Sascha's repo on S23-Ultra?

bradgrantham-lunarg commented 4 months ago

Yes, please! Capture the app on S23-Ultra and replay it and see if you see the same issue.