[Intel-gfx] 3.8.2, intel 2.21.5: drm:i915_hangcheck_hung with VAAPI

Jochen Heuer jogi-intel-gfx at planetzork.ping.de
Wed Apr 3 23:30:37 CEST 2013


Hello everyone,

I am running VDR (digital videorecoder) with plugin softhddevice (to output
video via VAAPI to X11) on a second X server (:1.0) and sometimes the video
freezes. Then I see the following messages in dmesg:

   [202828.719109] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed...  GPU hung
   [202828.719112] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state

When I try to fetch the requested info the cat aborts with:

   playstation ~ # cat /debug/dri/0/i915_error_state
   cat: /debug/dri/0/i915_error_state: Cannot allocate memory

and the following error is logged in dmesg:

   [202874.384439] ------------[ cut here ]------------
   [202874.384450] WARNING: at mm/page_alloc.c:2376
   __alloc_pages_nodemask+0x338/0x970()
   [202874.384452] Hardware name:         
   [202874.384453] Modules linked in: vhost_net ip6table_filter ip6_tables
   ebtable_nat ebtables ipt_MASQUERADE ipt_REJECT xt_CHECKSUM w83627ehf hwmon_vid
   xt_conntrack iptable_filter iptable_mangle iptable_nat nf_conntrack_ipv4
   nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables bonding ftdi_sio
   stv6110x(O) lnbp21(O) stv090x(O) coretemp ddbridge(O) lpc_ich cxd2099(O)
   mfd_core dvb_core(O) zfs(PO) zcommon(PO) znvpair(PO) zavl(PO) zunicode(PO)
   spl(O)
   [202874.384484] Pid: 22676, comm: cat Tainted: P           O 3.8.2-gentoo #4
   [202874.384486] Call Trace:
   [202874.384493]  [<ffffffff810b7bba>] warn_slowpath_common+0x7a/0xb0
   [202874.384496]  [<ffffffff810b7c05>] warn_slowpath_null+0x15/0x20
   [202874.384500]  [<ffffffff81161ea8>] __alloc_pages_nodemask+0x338/0x970
   [202874.384504]  [<ffffffff81446bb2>] ? put_dec+0x72/0x90
   [202874.384507]  [<ffffffff81447a44>] ? number.isra.2+0x304/0x330
   [202874.384512]  [<ffffffff81198635>] alloc_pages_current+0xb5/0x170
   [202874.384516]  [<ffffffff8115e389>] __get_free_pages+0x9/0x40
   [202874.384520]  [<ffffffff811a09ea>] kmalloc_order_trace+0x3a/0xc0
   [202874.384549]  [<ffffffff811a19b3>] __kmalloc+0x1a3/0x220
   [202874.384561]  [<ffffffff811a1125>] ? kfree+0x135/0x150
   [202874.384569]  [<ffffffff811d18f5>] seq_read+0x1b5/0x400
   [202874.384573]  [<ffffffff811b0c9b>] vfs_read+0xab/0x170
   [202874.384577]  [<ffffffff811b0dad>] sys_read+0x4d/0x90
   [202874.384586]  [<ffffffff8185e1c9>] ? do_page_fault+0x9/0x10
   [202874.384589]  [<ffffffff818621d2>] system_call_fastpath+0x16/0x1b
   [202874.384592] ---[ end trace 00716d8279da5aa9 ]---

Since the system has been rebooted not so far ago the system still has >10G
free memory.

Is there anything more which I can gather? I am running the following versions
right now:

   playstation ~ # equery l xf86-video-intel mesa libva
    * Searching for xf86-video-intel ...
   [IP-] [  ] x11-drivers/xf86-video-intel-2.21.5:0
   
    * Searching for mesa ...
   [IP-] [  ] media-libs/mesa-9.0.1:0
   
    * Searching for libva ...
   [IP-] [  ] x11-libs/libva-1.0.15:0

Kernel version is:

   playstation ~ # uname -a
   Linux playstation 3.8.2-gentoo #4 SMP Wed Mar 20 22:41:17 CET 2013 x86_64
   Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux

Are there any further infos which I can provide?

Thanks and best regards,

   Jogi



More information about the Intel-gfx mailing list