[Intel-gfx] Supporting Intel GPU tracing in gpuvis

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 6 09:09:08 UTC 2017


Quoting Daniel Vetter (2017-09-06 08:46:50)
> Hi Pierre,
> 
> On Tue, Sep 5, 2017 at 11:15 PM, Pierre-Loup A. Griffais
> <pgriffais at valvesoftware.com> wrote:
> > Hi Daniel,
> >
> > In the past couple of months we've been working on gpuvis, a GPU tracing
> > tool similar to GPUView on Windows. It's lower level than other API-based
> > tracing tools and lets you debug system-wide GPU scheduling issues, eg.
> > interaction between several processes using the GPU, which is pretty
> > critical for VR usecases.
> >
> > It's all based on ftrace; we've initially developped it with support for
> > amdgpu, and had to patch the kernel code there to change what tracing events
> > are reported and how. Now that we have a good idea of what's needed and it's
> > more or less proven in production, we were wondering if you had any interest
> > in adding a similar set of events for Intel GPUs so we could read them and
> > present them the same way? We have pretty specific requirements, but this
> > work-in-progress documentation should give a good idea of what they are:
> >
> > https://github.com/mikesart/gpuvis/wiki/Overview

We already have those tracepoint equivs and a script to generate a
similar visualisation: intel-gpu-tools/scripts/trace.pl, but only
looking at the scheduling issue from the gpu pov. But it's really only a
dev toy atm, plugging the gap between userspace and the gpu has been on
the perennial wishlist.
-Chris


More information about the Intel-gfx mailing list