[Intel-gfx] bad render errors (Re: Page flipping not working as expected for compositing - engineering resource available to help fix it)
Simon Farnsworth
simon.farnsworth at onelan.com
Fri May 7 17:32:48 CEST 2010
On Friday 7 May 2010, Andrew Lutomirski <luto at mit.edu> wrote:
> On Fri, May 7, 2010 at 9:07 AM, Simon Farnsworth
>
> <simon.farnsworth at onelan.com> wrote:
> > Hello,
>
> I don't know exactly what this program is supposed to do, but here's
> what it does right now, on GM45 and F13 with -linus
> be1066bbcd443a65df312fdecea7e4959adedb45 (approx 2.6.34-rc6).
If it's working perfectly (I run it as the only X client, no window manager or
anything else running), you should see alternating frames of yellow and pink
at the frame rate on the screen, with no "tearing" visible (tearing would be
visible as a frame that's part pink, part yellow).
Assuming your refresh rate is 60Hz, you should also have text output once a
second, printing lines like "Last 60 frames rate 59.99 fps". If it's failing
to maintain 60 frames a second, you will see messages where the first line is
either "Frames too fast" or "Frames too slow", and the second line is an fps
number.
Simon
>
> (Note: I have an extra patch to turn off all digital outputs except
> LVDS -- I still need that to use my laptop reliably.)
>
> compiz, no -indirect: solid color.
> metacity, no -indirect: annoying flashing.
> metacity, -indirect: annoying flashing.
> compiz, -indirect: solid color.
>
> But last time I ran it, X blew up quite thoroughly - no caps lock, no
> VT switching, and no sysrq+r response. sysrq+k killed X, but after a
> couple rounds, X wouldn't respond without lagging after restarting it.
> dmesg had:
>
>
> [61997.737046] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [61997.737057] render error detected, EIR: 0x00000000
> [61997.737414] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415947 at 1415940)
> [61998.890100] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [61998.890105] render error detected, EIR: 0x00000000
> [61998.890129] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415949 at 1415940)
> [61999.741248] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [61999.741260] render error detected, EIR: 0x00000000
> [61999.741317] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415953 at 1415940)
> [61999.963257] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [61999.963261] render error detected, EIR: 0x00000000
> [62000.331262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62000.331272] render error detected, EIR: 0x00000000
> [62000.950043] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62000.950048] render error detected, EIR: 0x00000000
> [62000.950210] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415964 at 1415940)
> [62001.413288] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62001.413293] render error detected, EIR: 0x00000000
> [62001.413306] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415969 at 1415940)
> [62001.509261] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62001.509270] render error detected, EIR: 0x00000000
> [62001.631262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62001.631272] render error detected, EIR: 0x00000000
> [62002.006281] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62002.006291] render error detected, EIR: 0x00000000
> [62002.982266] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62002.982279] render error detected, EIR: 0x00000000
> [62002.982327] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415975 at 1415940)
> [62003.079261] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62003.079271] render error detected, EIR: 0x00000000
> [62003.201262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62003.201272] render error detected, EIR: 0x00000000
> [62003.323012] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62003.323022] render error detected, EIR: 0x00000000
> [62003.567013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62003.567023] render error detected, EIR: 0x00000000
> [62003.691262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62003.691272] render error detected, EIR: 0x00000000
> [62004.425263] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62004.425273] render error detected, EIR: 0x00000000
> [62004.915013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62004.915023] render error detected, EIR: 0x00000000
> [62005.660013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62005.660023] render error detected, EIR: 0x00000000
> [62006.404052] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62006.404063] render error detected, EIR: 0x00000000
> [62006.404146] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415987 at 1415940)
> [62006.504011] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62006.504021] render error detected, EIR: 0x00000000
> [62006.638013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62006.638023] render error detected, EIR: 0x00000000
> [62007.652288] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62007.652300] render error detected, EIR: 0x00000000
> [62007.652615] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1415994 at 1415940)
> [62007.748262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62007.748272] render error detected, EIR: 0x00000000
> [62007.998012] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62007.998023] render error detected, EIR: 0x00000000
> [62008.120257] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62008.120261] render error detected, EIR: 0x00000000
> [62008.842262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62008.842272] render error detected, EIR: 0x00000000
> [62008.964013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62008.964023] render error detected, EIR: 0x00000000
> [62009.210007] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62009.210012] render error detected, EIR: 0x00000000
> [62010.323247] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62010.323259] render error detected, EIR: 0x00000000
> [62010.323310] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1416001 at 1415940)
> [62010.419261] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62010.419271] render error detected, EIR: 0x00000000
> [62011.162247] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62011.162258] render error detected, EIR: 0x00000000
> [62011.162632] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1416007 at 1415940)
> [62011.259012] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62011.259022] render error detected, EIR: 0x00000000
> [62011.383262] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62011.383272] render error detected, EIR: 0x00000000
> [62011.752012] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62011.752022] render error detected, EIR: 0x00000000
> [62011.788969] phy1: device no longer idle - scanning
> [62011.873248] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62011.873259] render error detected, EIR: 0x00000000
> [62011.873633] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1416012 at 1415940)
> [62014.193257] phy1: device now idle
> [62033.247257] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62033.247262] render error detected, EIR: 0x00000000
> [62033.401008] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62033.401012] render error detected, EIR: 0x00000000
> [62033.528014] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62033.528024] render error detected, EIR: 0x00000000
> [62033.653012] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62033.653022] render error detected, EIR: 0x00000000
> [62034.021263] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62034.021273] render error detected, EIR: 0x00000000
> [62034.143013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62034.143023] render error detected, EIR: 0x00000000
> [62034.798482] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
> elapsed... GPU hung
> [62034.798487] render error detected, EIR: 0x00000000
> [62034.798511] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
> returns -5 (awaiting 1416022 at 1415940)
>
> This is F134
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
--
Simon Farnsworth
Software Engineer
ONELAN Limited
http://www.onelan.com/
More information about the Intel-gfx
mailing list