[Mesa-dev] [PATCH 00/15] Gallium ddebug module: Pipelined GPU hang detection

Marek Olšák maraeo at gmail.com
Sat Jul 23 00:14:23 UTC 2016


Hi,

This is for GPU hangs that are hard to reproduce and require interactive
playing for minutes or even hours.

The performance should be at least 50% of the performance without ddebug.
The added CPU overhead is mainly due to recording all states after every
draw call. The added GPU overhead is PS/CS partial flushes and clear_buffer
for writing a user fence. There are no cache flushes between draw calls.

The command is:
  GALLIUM_DDEBUG="pipelined 2000" [executable]

The generated hang report contains everything except the parsed IB and
the buffer list.

My strategy for rare random GPU hangs is to get several hang reports and
see if they have anything in common.

Please review.

Marek


More information about the mesa-dev mailing list