← Sun, Oct 4 digest

gpuvis: GPU Trace Visualizer

read article ↗ hn thread ↗

Gpuvis is an open-source GPU trace visualizer designed for analyzing Linux kernel-side GPU scheduling and performance events.

summary is enough The GitHub repository is older, but comment insights on Linux kernel GPU debugging and alternatives make a quick look worthwhile.

summary

Gpuvis is an open-source tool for visualizing GPU traces and kernel-side scheduling events, originally developed at Valve. Although the project has been largely inactive for years, it remains valued for Linux Mesa work involving amdgpu and i915 drivers. Commenters also point to Perfetto as a strong modern alternative for similar tracing needs.

key points

  1. Gpuvis parses ftrace and perf events to provide a detailed timeline of Linux GPU scheduler behavior.
  2. The codebase is MIT-licensed and heavily tied to historic Valve graphics work on Linux.
  3. Perfetto is recommended by users as a modern alternative for similar trace visualization tasks.

who should read it

Graphics and systems developers working on Linux GPU drivers and performance analysis.

discussion positive

consensus

Commenters note that while the project is older, it remains uniquely useful for Linux kernel-side GPU debugging with Mesa drivers, though Perfetto serves as a modern alternative.

pushback

Initial worries that the repository was abandoned or low quality due to broken links were quickly dismissed given the author's background at Valve.

best comment by aiXis ↗

Still one of the better free options for kernel-side GPU debugging on Linux. Reading ftrace/perf events into a timeline gives you a view of the GPU scheduler that neither Chrome tracing nor vendor tools really match. Pairs nicely with perfetto for the system-level picture. The amdgpu/i915 event parsing has aged surprisingly well for Mesa work.

Explains why gpuvis still matters for Linux kernel GPU debugging and Mesa work compared to other tools.

Generated by an LLM from the article and thread. Check the sources before relying on it.