[Intel-gfx] [Bug 51061] GPU Hang using VAAPI

Angela angela.schmid at wolke7.net
Thu Jun 21 00:22:43 CEST 2012


> 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:[<ffffffffa010f87f>]  [<ffffffffa010f87f>]
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]  [<ffffffffa0121b7c>] intel_unpin_fb_obj+0x3c/0x40 [i915]
[  603.890164]  [<ffffffffa012524c>] intel_crtc_disable+0x8c/0xb0 [i915]
[  603.890183]  [<ffffffffa00ef6a5>]
drm_helper_disable_unused_functions+0x115/0x190 [drm_kms_helper]
[  603.890207]  [<ffffffffa00f10de>] drm_crtc_helper_set_config+0xa6e/0xb00
[drm_kms_helper]
[  603.890229]  [<ffffffff8111d055>] ? __generic_file_aio_write+0x235/0x440
[  603.890252]  [<ffffffffa006335e>] drm_framebuffer_cleanup+0xfe/0x180
[drm]
[  603.890275]  [<ffffffffa011e621>]
intel_user_framebuffer_destroy+0x21/0x80 [i915]
[  603.890298]  [<ffffffffa0066d4b>] drm_mode_rmfb+0xfb/0x100 [drm]
[  603.890317]  [<ffffffffa00564cc>] drm_ioctl+0x47c/0x540 [drm]
[  603.890332]  [<ffffffff8103ea39>] ? default_spin_lock_flags+0x9/0x10
[  603.890353]  [<ffffffffa0066c50>] ? drm_mode_addfb2+0x690/0x690 [drm]
[  603.890371]  [<ffffffff81179972>] ? do_sync_write+0xd2/0x110
[  603.890386]  [<ffffffff811b8272>] ? fsnotify+0x1d2/0x2b0
[  603.890400]  [<ffffffff8118b9e8>] do_vfs_ioctl+0x98/0x550
[  603.890414]  [<ffffffff8118bf31>] sys_ioctl+0x91/0xa0
[  603.890428]  [<ffffffff8162e669>] 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  [<ffffffffa010f87f>] i915_gem_object_unpin+0x4f/0x60
[i915]
[  603.890521]  RSP <ffff8801d3985b48>
[  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]  [<ffffffff8105061f>] warn_slowpath_common+0x7f/0xc0
[  634.871793]  [<ffffffff8105067a>] warn_slowpath_null+0x1a/0x20
[  634.871810]  [<ffffffff81124732>] __alloc_pages_nodemask+0x2f2/0x930
[  634.871828]  [<ffffffff81326de0>] ? number.isra.2+0x2a0/0x390
[  634.871843]  [<ffffffff81326e95>] ? number.isra.2+0x355/0x390
[  634.871861]  [<ffffffff8115d346>] alloc_pages_current+0xb6/0x120
[  634.871878]  [<ffffffff811205ee>] __get_free_pages+0xe/0x40
[  634.873147]  [<ffffffff81165cbf>] kmalloc_order_trace+0x3f/0xd0
[  634.874417]  [<ffffffff8119b7a6>] ? seq_read+0x1a6/0x400
[  634.875681]  [<ffffffff81166529>] __kmalloc+0x189/0x1a0
[  634.876931]  [<ffffffff811289ac>] ? put_page+0x2c/0x40
[  634.878169]  [<ffffffff8119b7bd>] seq_read+0x1bd/0x400
[  634.879402]  [<ffffffff8117a3e0>] vfs_read+0xb0/0x180
[  634.880631]  [<ffffffff8117a4fa>] sys_read+0x4a/0x90
[  634.881861]  [<ffffffff8162e669>] 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




More information about the Intel-gfx mailing list