[Intel-gfx] VAAPI crashes X

Angela Schmid angela.schmid at wolke7.net
Sat Mar 24 10:19:45 CET 2012


I switched to Mythtv 0.25 using VAAPI and playing a recording crashes X immediately, I see following messages, see run.log:

OpenGL: Could not determine whether Sync to VBlank is enabled.

libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0

(WW) intel(0): flip queue failed: Input/output error
(WW) intel(0): Page flip failed: Input/output error
(WW) intel(0): divisor 0 get vblank counter failed: Invalid argument
(EE) intel(0): Detected a hung GPU, disabling acceleration.
(EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.
intel_do_flush_locked failed: Input/output error
/usr/bin/xinit: connection to X server lost

[  663.812879] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[  663.815205] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[  663.821719] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 791 at 785, next 792)
[  663.825652] HDMI hot plug event: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=1
[  663.825690] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
[  664.037996] ------------[ cut here ]------------
[  664.038016] WARNING: at drivers/gpu/drm/i915/i915_gem.c:2397 i915_gem_object_put_fence+0xab/0xc0 [i915]()
[  664.038018] Hardware name: System Product Name
[  664.038019] Modules linked in: dvbloopback(O) rfcomm bnep bluetooth parport_pc ppdev binfmt_misc dm_crypt ipt_MASQUERADE
iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi tda18271c2dd(O) snd_rawmidi arc4 ath9k
snd_seq_midi_event mac80211 snd_seq drxk(O) snd_timer snd_seq_device snd ddbridge(O) dvb_core(O) ath9k_common psmouse ath9k_hw ath
eeepc_wmi asus_wmi sparse_keymap soundcore serio_raw snd_page_alloc cxd2099(O) mei(C) cfg80211 lp parport usbhid hid usb_storage uas
8139too mxm_wmi 8139cp firewire_ohci firewire_core crc_itu_t i915 ahci libahci drm_kms_helper xhci_hcd e1000e drm i2c_algo_bit video
[  664.038054] Pid: 3156, comm: Xorg Tainted: G         C O 3.3.0-rc2-angela2+ #1
[  664.038055] Call Trace:
[  664.038061]  [<ffffffff8104d21f>] warn_slowpath_common+0x7f/0xc0
[  664.038064]  [<ffffffff8104d27a>] warn_slowpath_null+0x1a/0x20
[  664.038072]  [<ffffffffa00db45b>] i915_gem_object_put_fence+0xab/0xc0 [i915]
[  664.038079]  [<ffffffffa00dce93>] i915_gem_object_unbind+0xa3/0x2d0 [i915]
[  664.038090]  [<ffffffffa002a117>] ? drm_mode_object_put+0x47/0x60 [drm]
[  664.038097]  [<ffffffffa00dd0f4>] i915_gem_free_object_tail+0x34/0x150 [i915]
[  664.038105]  [<ffffffffa00dff61>] i915_gem_free_object+0x51/0x60 [i915]
[  664.038112]  [<ffffffffa001fc9a>] drm_gem_object_free+0x2a/0x30 [drm]
[  664.038121]  [<ffffffffa00ed970>] intel_user_framebuffer_destroy+0x70/0x80 [i915]
[  664.038129]  [<ffffffffa002e613>] drm_fb_release+0x83/0xb0 [drm]
[  664.038136]  [<ffffffffa001f810>] drm_release+0x5e0/0x6e0 [drm]
[  664.038139]  [<ffffffff811753ca>] fput+0xea/0x220
[  664.038141]  [<ffffffff81171b36>] filp_close+0x66/0x90
[  664.038143]  [<ffffffff81050d38>] put_files_struct+0x88/0xf0
[  664.038145]  [<ffffffff81050e64>] exit_files+0x54/0x70
[  664.038147]  [<ffffffff8105134a>] do_exit+0x19a/0x8c0
[  664.038150]  [<ffffffff81051dd4>] do_group_exit+0x44/0xa0
[  664.038152]  [<ffffffff81051e47>] sys_exit_group+0x17/0x20
[  664.038155]  [<ffffffff816195e9>] system_call_fastpath+0x16/0x1b
[  664.038156] ---[ end trace 5bed8a9786c4dd85 ]---

cat /sys/kernel/debug/dri/0/i915_error_state
cat: /sys/kernel/debug/dri/0/i915_error_state: Cannot allocate memory

I googled, but didn't find a solution. What is wrong here ?

I don't have an xorg.conf. Have updated xorg-edgers intel drivers.

pkg-config --modversion libdrm

A kernel 3.3.0-rc2, with interlaced patches, from 14.02.2012.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: application/octet-stream
Size: 75371 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120324/c9bf8b5a/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: intel_reg_dumper.txt
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120324/c9bf8b5a/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run.log
Type: application/octet-stream
Size: 8579 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120324/c9bf8b5a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.11.log
Type: application/octet-stream
Size: 39200 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120324/c9bf8b5a/attachment-0002.obj>

More information about the Intel-gfx mailing list