SDK Code Samples#

Official Nsight Aftermath SDK Samples#

NVIDIA/nsight-aftermath-samples

This repository contains official reference samples for the Nsight Aftermath SDK, maintained and kept up to date by the Aftermath development team.

It shows how to use the SDK to capture GPU crash dumps in both D3D12 and Vulkan, including coverage of the options and callbacks for controlling the level of detail in the dumps.

NVIDIA Nvpro “crash_aftermath” Sample#

nvpro-samples/vk_mini_samples

The crash_aftermath application is part of the “vk_mini_samples” repository, which itself is part of the suite of Nvpro sample Vulkan applications published by NVIDIA. This sample shows a variety of informative crashing and timeout scenarios. It is Vulkan-only, but the scenarios easily translate to D3D12 concepts.

To build this sample with Aftermath support enabled, set the environment variable NSIGHT_AFTERMATH_SDK to point to an installation of the Aftermath SDK, then follow the overall instructions for building the vk_mini_samples.

../_images/crash_aftermath_app.png ../_images/crash_aftermath_dump.png