From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Angela" Subject: Re: [Bug 51061] GPU Hang using VAAPI Date: Thu, 21 Jun 2012 00:22:43 +0200 Message-ID: <044b01cd4f33$36cd8f20$a468ad60$@wolke7.net> References: <021d01cd4d80$d9ddd940$8d998bc0$@wolke7.net> <035601cd4ead$e9a2ed10$bce8c730$@wolke7.net> <20120620073331.GA4835@phenom.ffwll.local> <042001cd4f0a$f26f7370$d74e5a50$@wolke7.net> <20120620180832.GM7170@phenom.ffwll.local> <043401cd4f19$d8466080$88d32180$@wolke7.net> <20120620192921.GO7170@phenom.ffwll.local> <043501cd4f1d$218ee070$64aca150$@wolke7.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by gabe.freedesktop.org (Postfix) with SMTP id 11E6B9E839 for ; Wed, 20 Jun 2012 15:22:50 -0700 (PDT) In-Reply-To: Content-Language: en-us List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: 'Daniel Vetter' Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org > No need to bisect, we've dug out the issue on latest > drm-intel-next-queued: One of Jesse Barnes' patches that shouldn't have > affected anything else than unreleased hw blew up snb & ivb. I've updated > the branch, it should work now. What should work, VAAPI or the error_state ? git reset --hard HEAD git checkout -b mine35031 git merge daniel/for-angela git merge drm-intel/drm-intel-next-queued Running with VAAPI still has the same result. Angela cat: /sys/kernel/debug/dri/0/i915_error_state: Cannot allocate memory [ 603.833161] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung [ 603.833163] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state [ 603.889576] ------------[ cut here ]------------ [ 603.889589] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:3257! [ 603.889605] invalid opcode: 0000 [#1] SMP [ 603.889616] CPU 2 [ 603.889643] Modules linked in: xts gf128mul autofs4 dm_crypt binfmt_misc ipt_MASQUERADE snd_hda_codec_hdmi snd_hda_codec_realtek xt_conntrack iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi tda18271c2dd snd_rawmidi snd_seq_midi_event arc4 ath9k snd_seq mac80211 btusb ath9k_common ath9k_hw snd_timer snd_seq_device snd drxk ath soundcore ddbridge psmouse mei bluetooth snd_page_alloc hid_generic coretemp cfg80211 eeepc_wmi dvb_core asus_wmi lpc_ich sparse_keymap lp serio_raw microcode parport usbhid hid usb_storage uas ghash_clmulni_intel aesni_intel firewire_ohci firewire_core cryptd crc_itu_t 8139too 8139cp aes_x86_64 mxm_wmi i915 ahci libahci drm_kms_helper xhci_hcd drm e1000e i2c_algo_bit video wmi [last unloaded: kvm] [ 603.889802] [ 603.889809] Pid: 4429, comm: Xorg Not tainted 3.5.0-rc3-mine353+ #10 System manufacturer System Product Name/P8Z68-V PRO [ 603.889843] RIP: 0010:[] [] i915_gem_object_unpin+0x4f/0x60 [i915] [ 603.889865] RSP: 0018:ffff8801d3985b48 EFLAGS: 00010246 [ 603.889878] RAX: 00000000000000ff RBX: ffff88020f7fb800 RCX: ffffffffa016014d [ 603.889895] RDX: 00000000014204ff RSI: 0000000000070008 RDI: ffff8801d998c200 [ 603.889912] RBP: ffff8801d3985b48 R08: ffffffffa0154d60 R09: 00000000000002bc [ 603.889929] R10: ffffffffa0154cc0 R11: 0000000000000000 R12: ffff88020f6e2020 [ 603.889946] R13: ffff88020ed38000 R14: ffff88020f6e2000 R15: ffff8801d3985c98 [ 603.889963] FS: 00007fc0075e9880(0000) GS:ffff88021f280000(0000) knlGS:0000000000000000 [ 603.889982] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 603.889996] CR2: 0000000000bbd7e0 CR3: 00000001d9a49000 CR4: 00000000000407e0 [ 603.890013] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 603.890030] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 603.890047] Process Xorg (pid: 4429, threadinfo ffff8801d3984000, task ffff8801dcc816f0) [ 603.890066] Stack: [ 603.890074] ffff8801d3985b58 ffffffffa0121b7c ffff8801d3985b88 ffffffffa012524c [ 603.890092] ffff88020f6e2438 ffff88020f7fb800 ffffffffa01665e0 ffff88020f6e2468 [ 603.890111] ffff8801d3985bb8 ffffffffa00ef6a5 ffff8801d3985fd8 ffff88020f7fb800 [ 603.890128] Call Trace: [ 603.890143] [] intel_unpin_fb_obj+0x3c/0x40 [i915] [ 603.890164] [] intel_crtc_disable+0x8c/0xb0 [i915] [ 603.890183] [] drm_helper_disable_unused_functions+0x115/0x190 [drm_kms_helper] [ 603.890207] [] drm_crtc_helper_set_config+0xa6e/0xb00 [drm_kms_helper] [ 603.890229] [] ? __generic_file_aio_write+0x235/0x440 [ 603.890252] [] drm_framebuffer_cleanup+0xfe/0x180 [drm] [ 603.890275] [] intel_user_framebuffer_destroy+0x21/0x80 [i915] [ 603.890298] [] drm_mode_rmfb+0xfb/0x100 [drm] [ 603.890317] [] drm_ioctl+0x47c/0x540 [drm] [ 603.890332] [] ? default_spin_lock_flags+0x9/0x10 [ 603.890353] [] ? drm_mode_addfb2+0x690/0x690 [drm] [ 603.890371] [] ? do_sync_write+0xd2/0x110 [ 603.890386] [] ? fsnotify+0x1d2/0x2b0 [ 603.890400] [] do_vfs_ioctl+0x98/0x550 [ 603.890414] [] sys_ioctl+0x91/0xa0 [ 603.890428] [] system_call_fastpath+0x16/0x1b [ 603.890457] Code: e2 ff 1f fe ff c1 e8 0d 83 c0 0f 83 e0 0f 89 c1 83 e1 0f c1 e1 0d 09 ca 84 c0 89 97 f0 00 00 00 75 07 80 a7 f2 00 00 00 f7 5d c3 <0f> 0b 0f 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 [ 603.890504] RIP [] i915_gem_object_unpin+0x4f/0x60 [i915] [ 603.890521] RSP [ 634.871488] ------------[ cut here ]------------ [ 634.871516] WARNING: at mm/page_alloc.c:2298 __alloc_pages_nodemask+0x2f2/0x930() [ 634.871545] Hardware name: System Product Name [ 634.871588] Modules linked in: xts gf128mul autofs4 dm_crypt binfmt_misc ipt_MASQUERADE snd_hda_codec_hdmi snd_hda_codec_realtek xt_conntrack iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi tda18271c2dd snd_rawmidi snd_seq_midi_event arc4 ath9k snd_seq mac80211 btusb ath9k_common ath9k_hw snd_timer snd_seq_device snd drxk ath soundcore ddbridge psmouse mei bluetooth snd_page_alloc hid_generic coretemp cfg80211 eeepc_wmi dvb_core asus_wmi lpc_ich sparse_keymap lp serio_raw microcode parport usbhid hid usb_storage uas ghash_clmulni_intel aesni_intel firewire_ohci firewire_core cryptd crc_itu_t 8139too 8139cp aes_x86_64 mxm_wmi i915 ahci libahci drm_kms_helper xhci_hcd drm e1000e i2c_algo_bit video wmi [last unloaded: kvm] [ 634.871749] Pid: 4739, comm: cat Not tainted 3.5.0-rc3-mine353+ #10 [ 634.871765] Call Trace: [ 634.871777] [] warn_slowpath_common+0x7f/0xc0 [ 634.871793] [] warn_slowpath_null+0x1a/0x20 [ 634.871810] [] __alloc_pages_nodemask+0x2f2/0x930 [ 634.871828] [] ? number.isra.2+0x2a0/0x390 [ 634.871843] [] ? number.isra.2+0x355/0x390 [ 634.871861] [] alloc_pages_current+0xb6/0x120 [ 634.871878] [] __get_free_pages+0xe/0x40 [ 634.873147] [] kmalloc_order_trace+0x3f/0xd0 [ 634.874417] [] ? seq_read+0x1a6/0x400 [ 634.875681] [] __kmalloc+0x189/0x1a0 [ 634.876931] [] ? put_page+0x2c/0x40 [ 634.878169] [] seq_read+0x1bd/0x400 [ 634.879402] [] vfs_read+0xb0/0x180 [ 634.880631] [] sys_read+0x4a/0x90 [ 634.881861] [] system_call_fastpath+0x16/0x1b [ 634.883056] ---[ end trace 7f3efcd7ec9d9765 ]--- [ 663.852119] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 1, t=15002 jiffies) [ 663.853277] INFO: Stall ended before state dump start