From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dieter Mummenschanz" Subject: Re: [Intel-gfx] frequent x crashes with gen6/sna Date: Tue, 18 Oct 2011 09:52:32 +0200 Message-ID: <20111018075232.25960@gmx.net> References: <20111017202009.183480@gmx.net> <20111017204632.GL2971@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111017204632.GL2971-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libva-bounces+gcfl-libva=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: libva-bounces+gcfl-libva=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Daniel Vetter Cc: intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, libva-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: intel-gfx@lists.freedesktop.org Hi Daniel, I've installed your libva patch: libva: libva version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.32 vainfo: Driver version: Intel i965 driver - 1.0.15.pre1 No Changes. With iommu switched off there are less frequent hangs but there still are :-(. dmesg shows: WARNING: at drivers/gpu/drm/i915/i915_drv.c:354 gen6_gt_force_wake_get+0x1f/0x3c [i915]() Hardware name: 4236NGG Modules linked in: snd_hda_codec_conexant fbcon font bitblit softcursor i915 thinkpad_acpi nvram drm_kms_helper drm fb fbdev cfbcopyarea video iwlagn backlight cfbimgblt cfbfillrect e1000e snd_hda_intel snd_hda_codec intel_agp intel_gtt agpgart Pid: 0, comm: swapper Not tainted 3.1.0-rc4+ #1 Call Trace: [] ? warn_slowpath_common+0x78/0x8c [] ? i915_vblank_swap+0x6/0x6 [i915] [] ? gen6_gt_force_wake_get+0x1f/0x3c [i915] [] ? i915_hangcheck_elapsed+0x109/0x29a [i915] [] ? i915_vblank_swap+0x6/0x6 [i915] [] ? run_timer_softirq+0x195/0x222 [] ? __do_softirq+0x7f/0x106 [] ? call_softirq+0x1c/0x30 [] ? do_softirq+0x31/0x67 [] ? irq_exit+0x44/0xa5 [] ? smp_apic_timer_interrupt+0x85/0x95 [] ? apic_timer_interrupt+0x6b/0x70 [] ? intel_idle+0xcd/0xe9 [] ? intel_idle+0xa9/0xe9 [] ? cpuidle_idle_call+0xa0/0xdb [] ? cpu_idle+0x52/0x75 [] ? start_kernel+0x401/0x40c In this special case the gpu was successfully reset and continued normally. Any other ideas? Regards Dieter -------- Original-Nachricht -------- > Datum: Mon, 17 Oct 2011 22:46:32 +0200 > Von: Daniel Vetter > An: Dieter Mummenschanz > CC: Daniel Vetter , libva-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > Betreff: Re: [Intel-gfx] frequent x crashes with gen6/sna > On Mon, Oct 17, 2011 at 10:20:09PM +0200, Dieter Mummenschanz wrote: > > ok now I got your patch from git and will give it a try asap. Meanwhile > > the intel_iommu=off (with rc6 enabled) switch seems to make the system > > somehow more stable. the gpu hangs don't appear that often but they > > still occur! strangely after the hang/resume, the OpenGL game crashes > > immediately with: > > > > intel_do_flush_locked failed: Input/output error > > and raises the same error when I try to start it up again. > > > > mplayer also bails out with: > > mplayer: dri2_util.c:109: dri2GetRenderingBuffer: Assertion `buffers' > failed. > > MPlayer interrupted by signal 6 in module: flip_page > > > > I have to reboot in order to get mplayer / the game running. > > > > I've never experienced that before. i915 error state attached. > > Well, that usually means that the kernel couldn't reset the gpu after a > hang. You should see a message to that effect in dmesg. > -Daniel > -- > Daniel Vetter > Mail: daniel-/w4YWyX8dFk@public.gmane.org > Mobile: +41 (0)79 365 57 48 -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de