-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing is recorded when (Vulkan) application never presents frames #3255
Comments
Using the in-application API for this is the intended solution for programs where present boundaries do not provide a delineation of frames, and I do not intend to ever support a 'capture everything' mode. Please also note that |
Is there a specific reason for this? Would you accept a PR adding this functionality? Edit: Also, what about, for example, a simple vulkan layer that merely hooks |
It is not how RenderDoc is intended to function as it's a frame-capture based debugger that is built around capturing the a given subset of work. I don't want to take on the support burden or encourage that kind of workflow of capturing an unbounded amount of work. If someone wants to they can use the in-application API to start and stop captures at arbitrary points, but I suspect it is unlikely to scale unless their program is quite small. I would not accept any PR that tries to add that functionality, no. Writing a layer like that I suspect you will run into challenges with layer ordering, and I'm not sure exactly when it will be valid to call the in-application API as it is only intended to be called by applications outside of those functions and not part way through their evaluation. If you wanted to try then you could of course, but you'd be on your own to fix any problems you encounter. In my experience integrating the in-application API has not been an issue for projects before, e.g. the vulkan CTS has the exact kind of integration needed for what you're describing. |
@haasn
And just start test from Renderdoc with queueCapture frame 0. |
Please do not comment on old issues that have been closed. If you are encountering a bug or are requesting a feature please open a new issue. You can reference this issue if you wish, but opening a new issue prevents any confusion of accidentally linking two unrelated issues and means that each issue can be handled in a clean process. |
Description
I am trying to debug my vulkan test suite by making a renderdoc capture, but since this test suite does not render any frames, renderdoc does not record anything.
Steps to reproduce
renderdoccmd capture
itAn example is the https://code.videolan.org/videolan/libplacebo test suite.
Environment
Additional notes
I am aware of the renderdoc frame capture API, but this is too involved for my use case - I simply want to record the entire stream of commands in such a way that I can view it in e.g.
qrenderdoc
, without having to spend half an hour writing boilerplate code for loading the renderdoc DLL, initializing it, and wrapping a start/stop call around my entire application. Never mind that committing such debug code togit master
would be very poor form, and thus this effort would have to be duplicated by all devs.I expect renderdoc to be capable of recording the API calls from headless vulkan applications out of the box, without extensive modification of the application.
The text was updated successfully, but these errors were encountered: