[Intel-gfx] xrandr crashes X with a "GPU hung" in the i915 driver
bfreed at chromium.org
Fri Nov 5 11:51:36 PDT 2010
Ah. I see 9f54107f866a25cf670f81f7c52b8c108728c6a5 in git://
anongit.freedesktop.org/xorg/driver/xf86-video-intel, but that change looks
i830-specific. We are running i915.
My i915_error_state looks like this in a few test runs this morning:
localhost ~ # cd /sys/kernel/debug/dri/0/
localhost 0 # cat i915_error_state
Time: 1288979468 s 955942 us
Time: 1288979853 s 607750 us
Time: 1288979982 s 718955 us
I see these values come pretty much straight from the registers.
Unfortunately, my documentation (from
http://intellinuxgraphics.org/documentation.html) is incomplete. I see G45
and G35 documentation there, but not G33 which is what i915 appears to be
(based on what I see in the kernel driver code). The register addresses are
different, and who knows what else.
On Fri, Nov 5, 2010 at 2:16 AM, Chris Wilson <chris at chris-wilson.co.uk>wrote:
> On Thu, 4 Nov 2010 17:12:31 -0700, Bryan Freed <bfreed at chromium.org>
> > I have a situation where unplugging an external monitor and running an
> > xrandr sequence to return the screen to the internal display sometimes
> > causes the i915 driver to wig out.
> > In perusing the intel-gfx archives, I see
> > http://lists.freedesktop.org/archives/intel-gfx/2010-May/006957.htmlmakes a
> > reference to "commit 9f54107f866a25cf670f81f7c52b8c108728c6a5", but I do
> > see that commit in the drm-intel kernel. I am looking at git://
> > git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git. Is this
> > the right repo?
> That's in the DDX to fix up an X crash in swapbuffers. To debug GPU hangs
> you'll want to decode /sys/kernel/debug/dri/0/i915_error_state.
> Chris Wilson, Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Intel-gfx