Frame capture results in application crashing (original) (raw)
January 20, 2025, 3:06am 1
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.
AYan January 20, 2025, 7:28am 2
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
AYan January 20, 2025, 9:42am 3
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
logix3 January 20, 2025, 12:06pm 4
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.
AYan January 21, 2025, 6:04am 5
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
logix3 January 21, 2025, 1:22pm 7
Happy to hear that, thanks!
AYan April 7, 2025, 10:52am 8
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
logix3 April 7, 2025, 3:13pm 9
I believe it did fix it. Thanks!
system Closed April 21, 2025, 3:14pm 10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.