google / gapid

Graphics API Debugger
https://gapid.dev
Apache License 2.0
2.21k stars 328 forks source link

Error during replay: "Failed to create VkInstance with validation layers and debug report extension, drop them and try again" #3853

Closed pauloAndroid closed 4 years ago

pauloAndroid commented 4 years ago

Environment information:

Bug description The frambebuffer tab never loads for any frame and the frame preview does not display anything for frames higher than 10 on Vulkan app. The report tab shows: Error during replay: "Failed to create VkInstance with validation layers and debug report extension, drop them and try again".

Reproduction steps

Screenshots gapid-vulkan-hello-triangle

hevrard commented 4 years ago

Thanks @paulogsamsung for reporting this. In general, there is no active development on GAPID, and we recommend to switch to AGI.

Now if you want to stick with GAPID, you might want to try the latest dev-release which may well fix your issue: https://github.com/google/gapid-dev-releases/releases/tag/v1.7.0-dev-20200211

If you still have issues with this, you can try to edit the vulkan samples source to prevent them from loading any validation layers. During a "report" replay, GAPID try and loads its own version of the validation layers, and there used to be shenanigans on handling the old multiple validation layers and/or the new unified one.

pauloAndroid commented 4 years ago

With the latest release the framebuffer tab does load. Thank you :)

pauloAndroid commented 4 years ago

Galaxy S20 5G is currently not supported by AGI, so I can't use AGI for this work.