baldurk / renderdoc

RenderDoc is a stand-alone graphics debugging tool.
https://renderdoc.org
MIT License
9k stars 1.35k forks source link

Rendering commands replay cause GPU crash if the “Ref all Resources” option is checked #3388

Closed iiiwk closed 3 months ago

iiiwk commented 3 months ago

Description

If "Ref all Resources" option is not checked, it's fine.

Steps to reproduce

RefAllResources RefAllResources-DeviceLost

Captured file: GPUDeviceLostOnReplay.zip NoCrashVersion.zip

Environment

Zorro666 commented 3 months ago

Sorry to say unable to reproduce the crash on two different nVidia system. Both systems have newer drivers than used in the capture and this might explain why the crash is not reproducible.

In case, it hasn't been done it would be worth checking your application is free of Vulkan Validation Errors when running outside of RenderDoc. RenderDoc relies upon and requires correct API usage and accidental API mistakes can cause errors and crashes in RenderDoc (and drivers).

There should be no requirement to use "Ref All Resources", be good to know if you are seeing a problem in the working capture that was the rationale for using "Ref All Resources"

iiiwk commented 3 months ago

Thank you very much for your comments and suggestions! I tried installing the latest version of NVIDIA driver 560.70 and the crash doesn't happen anymore. There are no errors reported at the validation layer level, so I think this is indeed an underlying driver issue.