All of lore.kernel.org
 help / color / mirror / Atom feed
* Pageflip failure on SNB devices running 3.13.3
@ 2014-02-25 14:52 Simon Farnsworth
  2014-02-25 16:52 ` Chris Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Farnsworth @ 2014-02-25 14:52 UTC (permalink / raw)
  To: intel-gfx

Hello,

I'm seeing pageflips give up on me on SNB hardware - Celeron 847, i5-2400S - 
where the CRTC becomes unexpectedly busy and never recovers.

When I'm failed, I can see interrupts coming in (Interrupts received in 
/sys/kernel/debug/dri/0/i915_gem_interrupt increments), but the queued flip 
never happens:

 # cat /sys/kernel/debug/dri/0/i915_gem_pageflip 
Flip queued on pipe A (plane A)
Stall check enabled, 1 prepares
Old framebuffer gtt_offset 0x01354000
New framebuffer gtt_offset 0x0093c000
No flip due on pipe B (plane B)

 # cat /sys/kernel/debug/dri/0/i915_gem_interrupt 
North Display Interrupt enable:         8eb48585
North Display Interrupt identity:       00000000
North Display Interrupt mask:           734bfa7a
South Display Interrupt enable:         ffffffff
South Display Interrupt identity:       00000000
South Display Interrupt mask:           f114ffff
Graphics Interrupt enable:              00401001
Graphics Interrupt identity:            00000000
Graphics Interrupt mask:                ffffffff
Interrupts received: 1006958
Graphics Interrupt mask (render ring):  ffffffff
Current sequence (render ring): 1472838
Graphics Interrupt mask (bsd ring):     ffffffff
Current sequence (bsd ring): 1271460
Graphics Interrupt mask (blitter ring): ffffffff
Current sequence (blitter ring): 1472839

I'm running packages from Fedora 20:

# rpm -q mesa-libGL kernel xorg-x11-server-Xorg xorg-x11-drv-intel libva-
intel-driver libdrm
mesa-libGL-9.2.5-1.20131220.fc20.x86_64
kernel-3.13.3-201.fc20.x86_64
xorg-x11-server-Xorg-1.14.4-90.fc20.x86_64
xorg-x11-drv-intel-2.21.15-5.fc20.x86_64
libva-intel-driver-1.2.1-1.fc20.x86_64
libdrm-2.4.50-1.fc20.x86_64

I've put a dmesg from a failed system at http://90.155.96.198/sfarnsworth/flip-fail.txt - it's 11.3MB, so can't be attached. I've spotted the MCH_SSKPD 
message, but I also get the failures on systems that don't output that 
message.

Any ideas? Or should I file a bug?
-- 
Simon Farnsworth
Software Engineer
ONELAN Ltd
http://www.onelan.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pageflip failure on SNB devices running 3.13.3
  2014-02-25 14:52 Pageflip failure on SNB devices running 3.13.3 Simon Farnsworth
@ 2014-02-25 16:52 ` Chris Wilson
  2014-02-25 17:13   ` Simon Farnsworth
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2014-02-25 16:52 UTC (permalink / raw)
  To: Simon Farnsworth; +Cc: intel-gfx

On Tue, Feb 25, 2014 at 02:52:00PM +0000, Simon Farnsworth wrote:
> I've put a dmesg from a failed system at http://90.155.96.198/sfarnsworth/flip-fail.txt - it's 11.3MB, so can't be attached. I've spotted the MCH_SSKPD 
> message, but I also get the failures on systems that don't output that 
> message.
> 
> Any ideas? Or should I file a bug?

Let's capture as much as possible in a bug. Can you try the stall
detection w/a (if it is not already enabled)?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pageflip failure on SNB devices running 3.13.3
  2014-02-25 16:52 ` Chris Wilson
@ 2014-02-25 17:13   ` Simon Farnsworth
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Farnsworth @ 2014-02-25 17:13 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]

On Tuesday 25 February 2014 16:52:59 Chris Wilson wrote:
> On Tue, Feb 25, 2014 at 02:52:00PM +0000, Simon Farnsworth wrote:
> > I've put a dmesg from a failed system at http://90.155.96.198/sfarnsworth/flip-fail.txt - it's 11.3MB, so can't be attached. I've spotted the MCH_SSKPD 
> > message, but I also get the failures on systems that don't output that 
> > message.
> > 
> > Any ideas? Or should I file a bug?
> 
> Let's capture as much as possible in a bug. Can you try the stall
> detection w/a (if it is not already enabled)?
> -Chris
> 
Filed as https://bugs.freedesktop.org/show_bug.cgi?id=75502

I'm not sure what you mean by "stall detection w/a"; I've not deliberately
disabled anything, so it should be in its default state. We can follow
through on the bug if there's something I need to turn on, though.
-- 
Simon Farnsworth
Software Engineer
ONELAN Ltd
http://www.onelan.com

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-25 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 14:52 Pageflip failure on SNB devices running 3.13.3 Simon Farnsworth
2014-02-25 16:52 ` Chris Wilson
2014-02-25 17:13   ` Simon Farnsworth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.