Note that this issue is just for those who may encounter the same problem, because I found the fix - see Workaround below.
Thanks a lot for all your work! This project is great and very helpful!
Description
I have App that uses rendering via Vulkan API in headless mode (without GUI). Due to headless mode - I followed the guide about in-app API and added RenderDoc shared library dynamic loading and these two calls:
std::cout << "going to call StartFrameCapture..." << std::endl;
global_rdoc_api->StartFrameCapture(NULL, NULL);
std::cout << "StartFrameCapture() finished!" << std::endl;
...
// my calls to Vulkan API
...
global_rdoc_api->EndFrameCapture(nullptr, nullptr);
After that I tried to capture my rendering - launched my App from the RenderDoc GUI, but sadly I observed that call to StartFrameCapture(NULL, NULL) stuck (i.e. this call never finishes) - I ensured that this is so due to the fact thet the first output is printed ("going to call StartFrameCapture..."), but not the second output (no "StartFrameCapture() finished!" in console).
Steps to reproduce
I cannot share my App, but I already found the fix - so this issue is just for those who may encounter the same problem.
The workaround/The fix
My App always loads Validation layer, and when I disabled Validation layers - everything worked, call to StartFrameCapture(NULL, NULL) now finishes successfully and RenderDoc GUI shows the captured frame.
Note that this issue is just for those who may encounter the same problem, because I found the fix - see Workaround below.
Thanks a lot for all your work! This project is great and very helpful!
Description
I have App that uses rendering via Vulkan API in headless mode (without GUI). Due to headless mode - I followed the guide about in-app API and added RenderDoc shared library dynamic loading and these two calls:
After that I tried to capture my rendering - launched my App from the RenderDoc GUI, but sadly I observed that call to
StartFrameCapture(NULL, NULL)
stuck (i.e. this call never finishes) - I ensured that this is so due to the fact thet the first output is printed ("going to call StartFrameCapture..."), but not the second output (no "StartFrameCapture() finished!" in console).Steps to reproduce
I cannot share my App, but I already found the fix - so this issue is just for those who may encounter the same problem.
The workaround/The fix
My App always loads Validation layer, and when I disabled Validation layers - everything worked, call to
StartFrameCapture(NULL, NULL)
now finishes successfully and RenderDoc GUI shows the captured frame.Environment
RenderDoc version: v1.32 (built from 6a891358)
Operating System: Ubuntu 16.04
Graphics API: Vulkan API
GPU: RTX 3080
Driver: 550.54.14
Validation layers: 1.3.278