[Mesa-dev] [PATCH v2 0/4] string-marker support
Ilia Mirkin
imirkin at alum.mit.edu
Wed Jan 20 11:35:45 PST 2016
On Wed, Jan 20, 2016 at 2:32 PM, Rob Clark <robdclark at gmail.com> wrote:
> From: Rob Clark <robclark at freedesktop.org>
>
> Slightly overdue respin of the patchset. Addressing the couple minor
> points from Emil. (Spiffed out commit msg on 3/4 and couple tweaks
> on 1/4), but overall other than rebasing not much has changed.
>
> Note that I need to clean them up a bit and resend, but I have apitrace
> replay patches for emitting draw call name & number when replaying a
> trace, and cffdump (cmdstream decoder) support for the markers emitted
> in the cmdstream. Which, when you know where in the cmdstream the gpu
> crashed (which I have by using some scratch regs to track progress),
> gives you a nice way to map back to the position in the apitrace (and
> what shaders where bound, etc).
Actually I've desperately been wanting this to debug some traces that
misrender for no apparent reason, to try to see if there's something
funky going on in the cmdstream when the relevant draws happen. Having
the ability for the driver to stick markers into the cmdstream would
be immensely useful for that as well.
-ilia
More information about the mesa-dev
mailing list