Skip to contentSkip to conversation

frequent x crashes with gen6/sna

DISCUSSION Nicolas Kalkhof 1 participant 1 message Oct 13, 2011

lore
Share & tools
lore
#0 lore raw

Hi Daniel,

any advice what else to grab besides /sys/kernel/debug/dri/0/i915_error_state and dmesg?
after the crash resulting in the forcewake warning (X was gone and I had a completely black screen, had to ssh from a remote machine) the i915_error_state was empty (i.e. no error state collected). Still waiting for the next hang ;). I'll post more debug info asap.

Thx and regards,
Dieter

-----Ursprüngliche Nachricht-----
Von: "Daniel Vetter" <[email protected]>
Gesendet: Oct 13, 2011 6:24:34 PM
An: "Dieter Mummenschanz" <[email protected]>
Betreff: Re: [Intel-gfx] frequent x crashes with gen6/sna

Quoted 88 lines

The attached log shouldn't result in a dead X server - it's the rather harmless forcewake warning when reading certain debugfs files. Please grab the next hang.

Thanks, Daniel

Quoted 68 lines · Dieter Mummenschanz

hi daniel,

roger that. the last x death however was not preceeded by a gpu hang (see message log, dmesg.log also attached). Maybe I ran into something different than experienced before.No i915_error_state was logged. I remember I ran into something similar a couple of days ago and someone provided a patch that seemed to work. however I have no idea if the patch has been included in the latest Dave's latest drm-next git.

Oct 13 16:40:22 gonzo kernel: WARNING: at drivers/gpu/drm/i915/i915_drv.c:354 gen6_gt_force_wake_get+0x1f/0x3c [i915]()
Oct 13 16:40:22 gonzo kernel: Hardware name: 4236NGG
Oct 13 16:40:22 gonzo kernel: Modules linked in: i915 fbcon font bitblit softcursor drm_kms_helper drm fb fbdev snd_hda_codec_conexant thinkpad_acpi nvram e1000e iwlagn intel_agp cfbcopyarea intel_gtt video snd_hda_intel backlight agpgart snd_hda_codec cfbimgblt cfbfillrect
Oct 13 16:40:22 gonzo kernel: Pid: 5164, comm: cat Not tainted 3.1.0-rc4+ #1
Oct 13 16:40:22 gonzo kernel: Call Trace:
Oct 13 16:40:22 gonzo kernel: [<ffffffff8102fcf2>] ? warn_slowpath_common+0x78/0x8c
Oct 13 16:40:22 gonzo kernel: [<ffffffffa00ff484>] ? gen6_gt_force_wake_get+0x1f/0x3c [i915]
Oct 13 16:40:22 gonzo kernel: [<ffffffffa0108d0e>] ? i915_rstdby_delays+0x2e/0x77 [i915]
Oct 13 16:40:22 gonzo kernel: [<ffffffff810ba9d1>] ? seq_read+0x16e/0x355
Oct 13 16:40:22 gonzo kernel: [<ffffffff810a1eaa>] ? vfs_read+0xac/0x126
Oct 13 16:40:22 gonzo kernel: [<ffffffff810a1f69>] ? sys_read+0x45/0x6e
Oct 13 16:40:22 gonzo kernel: [<ffffffff813b3c7b>] ? system_call_fastpath+0x16/0x1b
Oct 13 16:40:22 gonzo kernel: ---[ end trace 056b0c70c095c365 ]---

Regards,
Dieter

-------- Original-Nachricht --------

Quoted 40 lines

Datum: Thu, 13 Oct 2011 16:00:23 +0200
Von: Daniel Vetter <[email protected]>
An: Dieter Mummenschanz <[email protected]>
CC: [email protected]
Betreff: Re: [Intel-gfx]  frequent x crashes with gen6/sna

Quoted 3 lines · Dieter Mummenschanz

hello,

using latest drm-core-next git from Dave Airlie as well as the latest

xf86-video-intel git my system (Sandybridge Mobile (GT2+)) still hangs frequently right before X dies. This happens every time the GPU is under considerable stress, like decoding a va-api stream and running OpenGL apps at the same time.

Quoted 3 lines

syslog records the hang:

kernel: [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed...

GPU hung

Quoted 1 line

kernel: [drm] capturing error event; look for more information in

/debug/dri/0/i915_error_state

Quoted 1 line

kernel: [drm:i915_wait_request] *ERROR* i915_wait_request returns -11

(awaiting 3263296 at 3263293, next 3263297)

Quoted 2 lines

after 3-4 seconds the system resumes normal following the X crash a

couple of minutes later:

Quoted 5 lines

kernel: [drm:ironlake_update_pch_refclk] *ERROR* enabling SSC on PCH
kernel: [drm:ironlake_update_pch_refclk] *ERROR* enabling SSC on PCH

gpu related module opts are:
i915.i915_enable_rc6=1 pcie_aspm=force i915.i915_enable_fbc=1

i915.lvds_downclock=1

Quoted 4 lines

at least rc6 enabled is mandatory for me since I ran a mobile gpu.

any ideas?

We have (unfortunately) still a few outstanding issues. To check whether yours is new, please attach the full dmesg and the i915_error_state of the gpu hang.

Quoted 5 lines

Thanks, Daniel
--
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48

Quoted 10 lines

--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Quoted 7 lines

--
Daniel Vetter
[email protected] - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx