[Intel-gfx] GPU hung? Please run intel_gpu_dump

Carl Worth cworth at cworth.org
Thu Apr 16 22:42:21 CEST 2009

For anybody that has encountered GPU hangs, with Intel graphics, here's
the best thing you can do to help: Run intel_gpu_dump and send us the

Below is some text I recently posted to a bug report. I'll likely paste
this into many more bug reports as they come in reporting hangs.

Gordon, could you get text along these lines add to the page here:


And I'll send a free virtual beverage of your choice to the first person
to email us intel_gpu_dump output from a system with a hung GPU! :-)


I know it's not much fun for you, but I'm delighted that you have such a
repeatable way to cause your GPU to hang.

For this case, we've developed a new tool that will provide us ver useful
information for debugging the hang. The tool is called intel_gpu_dump and is
contained within the intel-gpu-tools repository which you can obtain as

git clone git://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools

(Eric has been threatening to make a tar-file release of that, so if getting it
via git is a problem, let me know and I'll pester him to do that.)

The one trick to getting intel_gpu_dump to work is that it requires some code
only very recently added to the i915 kernel driver. The easiest way to get this
is with the recently released 2.6.30-rc2 version of Linux. If you can run that,
then running intel_gpu_dump should give a nice dump of the commands
most-recently submitted to the GPU. (If the GPU is not hung, the output is
often almost empty, but when it's hung, then you should definitely get some

If you could run that tool and send us the output, then that will be very
helpful for us to identify and fix the bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090416/c981d15e/attachment.sig>

More information about the Intel-gfx mailing list