Frame capture results in application crashing

I have this repo GitHub - AlpineIce/PaperRenderer: Ray Tracing and Raster Vulkan Abstraction running Vulkan which seems to run perfectly fine on its own, but crashes whenever I try to do frame captures. Using the trace profiler seem to work fine and has never had any issues, but doing a frame capture almost always results in the application crashing, where it says “refreshing event timings”. This has been an ongoing issue for months that I’ve always just kinda worked around, doing debugging in more difficult ways, but I guess I’m turning here now for any possible help with it since it may save me in the future from a big headache.

The example included in the repo should build fine on linux (currently developing on Arch) as long as the dependencies listed are met, but I have no idea if it will build on Windows since its been months since I’ve even tried it and MSVC seems to be different enough that I usually have to fix a few things when I do try to compile on Windows.

Hi logix3,

Thank you for using Nsight Graphics and providing your feedback. I just tried to clone your repository, and it failed to build on Windows. According to your comment, the issue happens only on Arch Linux, right? What’s your version of Arch Linux?

Thanks
An

Hi logix3,

I take some try on my Arch Linux, but I don’t think I can run your sample smoothly:

$ cmake -B build -S .
$ cd build
$ make
$ cd example
$ ./PaperRendererExample 
PaperRendererExample: 
/xxx/PaperRenderer/example/lib/imgui/backends/imgui_impl_vulkan.cpp:1028: bool ImGui_ImplVulkan_CreateDeviceObjects(): Assertion `v->DescriptorPoolSize > (1)' failed.
Aborted (core dumped)

I am sorry but I can’t give any advice since the sample app will crash even without Nsight Graphics.

PS, I do have Vulkan SDK to be installed on the Arch machine.

Thanks
An

Building it in release mode should ignore the assert controlled by ImGui if you’d be nice enough to try it again, but I personally just have it commented out since it broke after ImGui changed something. Also I’m using the lastest Arch updates from pacman.

Hi logix3,

Thanks for your share, and I think I can reproduce your issue, and an internal case has been created to track this.

Thanks
An

Happy to hear that, thanks!

Hi logix3,

Could you take a try of the latest release of Nsight Graphics 2025.2? That should contain the fix of the crash.

Thanks
An

I believe it did fix it. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.