Crash debug

From NVIDIAGameWorks/toolkit-remix · View interactive version

Crash debug is an AI agent skill from the GitHub repository NVIDIAGameWorks/toolkit-remix. Use when investigating RTX Remix Toolkit crashes, Kit minidumps, DXVK/HdRemix logs, Aftermath dumps, GPU device-lost failures, d3d9 crashes, capture-switch repros, or crash handoff bundles.

How to use this skill

Skill file

Crash Debug

Use for RTX Remix Toolkit crash investigations. Keep runs separate, preserve provenance, classify the likely failing

layer only when the evidence supports it, and avoid unsupported root-cause claims.

Workflow

  1. Identify the run: time, run id, trigger, outcome, project/capture names, app path, launch cwd, process id, Toolkit

commit, HdRemix/DXVK version, driver version, GPU, and any dirty repo state.

  1. Draft a dev repro guide early. Include exact launch method, project/capture inputs, UI steps, expected timing,

observed crash signature, and artifact/run ids. Keep updating it as evidence changes.

  1. Check docs_dev/internal/qa-steps.md before using open_project.bat. Use it for quick Runtime bug repros or rapid

testing of specific Runtime issues; do not use it for smoke checks, feature validation, or user-flow bugs because it

bypasses normal UI validation.

  1. Gather artifacts: Kit logs, DXVK/HdRemix logs, minidumps, Aftermath dumps, crash metadata, configs, screenshots,

repro notes, and relevant Windows events. Preserve build/version details for Toolkit, HdRemix/DXVK, GPU driver, and

OS when available.

  1. Bundle artifacts with:

```batch

tools\packman\python.bat tools\crash_debug\bundle_crash_artifacts.py --help

```

  1. Organize bundles under one case root outside the repo by default. Use a user temp directory such as

%TEMP%\lightspeed-kit-crash-artifacts\<case-name> on Windows or $TMPDIR/lightspeed-kit-crash-artifacts/<case-name>

on Linux/macOS. Do not place crash bundles under the repo root unless the user explicitly asks for a repo-local

bundle.

```text

%TEMP%\lightspeed-kit-crash-artifacts\<case-name>\

CASE_MANIFEST.md

RUN-001_<short-title>/

RUN_MANIFEST.md

```

  1. Preserve minidump UUIDs in the run manifest.
  2. Use a new --run-id for each bundle invocation; the bundler refuses existing run ids to avoid rewriting evidence.
  3. When a case has multiple runs, create or update CASE_MANIFEST.md using example-crash-manifest.md as the table

format. Keep root-cause ids stable across runs (RC-01, RC-02, ...), keep unknowns explicit, and do not add

placeholder rows for artifacts that do not exist.

  1. Do not mix logs or dumps from multiple app copies. If multiple Toolkit processes are open, prove which process wrote

each artifact before drawing conclusions.

Classification

Use module names, exception codes, stack frames, log tails, crash metadata, and repro timing together.

lastCommands is supporting evidence only. A visible UI or command event can be last while the failing layer is

elsewhere.

Aftermath

Track Kit-owned and DXVK/HdRemix Aftermath separately:

Kit crash metadata such as aftermath_status describes Kit-owned AF only. It does not prove DXVK/HdRemix AF state.

Aftermath is instrumentation, not a workaround. Missing .nv-gpudmp files do not prove AF setup failed unless the run

actually reached a GPU/device-lost path that AF can report. Do not add AF toggles to crash isolation by default or infer

AF changes behavior without paired runs that isolate AF state as the changed variable.

Reporting

Lead with:

Classification: likely <layer>
Confidence: high/medium/low
Why: <evidence>
Not proven: <remaining ambiguity>
Repro guide: <path or current steps>
Next test: <one-variable test>
Workaround: <only if supported>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.