Re: intel graphic card hanging (Hangcheck timer elapsed... GPU hung)

From: Takashi Iwai
Date: Mon May 31 2010 - 02:46:12 EST


At Sun, 30 May 2010 21:44:50 -0300,
Leandro Lucarella wrote:
>
> > Dear all,
> > (please Cc)
> >
> > I am running 2.6.34-rc2 + git 01e7770 commit (yesterday) with KMS on
> > Debian/sid:
> > xserver-xorg: 7.5+5
> > video-intel: 2.9.1-3
> >
> > Running D2X-xl (self compiled) (descent2 open source code) X suddenly
> > died,
> > and after that gdm could not be restarted because after a few secs
> > it went dead again.
> >
> > In the logs I see:
> > kernel: [ 2486.341227] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck
> > timer elapsed... GPU hung
> > kernel: [ 2486.341240] render error detected, EIR: 0x00000000
> > kernel: [ 2486.341278] [drm:i915_do_wait_request] *ERROR*
> > i915_do_wait_request returns -5 (awaiting 113671 at 113604)
> > kernel: [ 2486.669008] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck
> > timer elapsed... GPU hung
> > kernel: [ 2486.669012] render error detected, EIR: 0x00000000
> > kernel: [ 2486.669522] [drm:i915_do_wait_request] *ERROR*
> > i915_do_wait_request returns -5 (awaiting 113672 at 113604)
> > kernel: [ 2487.524230] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck
> > timer elapsed... GPU hung
> > kernel: [ 2487.524243] render error detected, EIR: 0x00000000
> > kernel: [ 2487.524284] [drm:i915_do_wait_request] *ERROR*
> > i915_do_wait_request returns -5 (awaiting 113673 at 113604)
> > kernel: [ 2487.912237] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck
> > timer elapsed... GPU hung
> > kernel: [ 2487.916175] render error detected, EIR: 0x00000000
> > kernel: [ 2487.920137] [drm:i915_do_wait_request] *ERROR*
> > i915_do_wait_request returns -5 (awaiting 113674 at 113604)
> > Stopping gdm and restarting didn't help to get the graphics card back to
> > normal.
> >
> > If you have any ideas how to fix/track/debug that please let me know,
> > same if you need more information.
>
> Hi. I just wanted to say that I was hitting this bug too. It seems to be
> a problem associated with xscreensaver and/or OpenGL. Looking for
> information on the web I found some bug report that said something about
> OpenGL (I can't find it now) so I tried deactivating xscreensaver and
> the system is working very stable, no GPU hungs in 10 days of uptime.
> When I had xscreensaver active the X server crashed in a couple of days
> and sometime I got the GPU hung error in dmesg but X didn't crashed.

We've seen a similar hang with PineView when GLknots screensaver mode
is running. Run /usr/lib/xscreensaver/glknots, and the screen gets
frozen immediately (mouse works, so the rendering simply doesn't
work), and no way to recover until reboot.

Reported at:
https://bugs.freedesktop.org/show_bug.cgi?id=28274


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/