Hi, while my work on vaapi support for xine lib i face the following problem : [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 1833878 at 1833876, next 1833879) [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 1833879 at 1833876, next 1833880) Software : Archlinux x86:64, kernel 2.6.38. intel git driver, libdrm git, libva git. Xinelib is using the included VAAPI support in ffmpeg for decoding. The output is done by my own VAAPI output plugin for xine. Hardware : 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82578DM Gigabit Network Connection (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1a.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1a.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1a.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1d.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1d.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06) 00:1d.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02) 02:00.0 Network controller: Ralink corp. RT2860 03:00.0 SATA controller: JMicron Technology Corp. JMB360 AHCI Controller (rev 02) CPU : i3-540 The hang only apears on decode MPEG2 Videos, h264 seems so far to be fine.
Created attachment 44729 [details] gpu dump
Created attachment 44730 [details] gpu dump 1
Can you reproduce this issue with all MPEG2 videos? Could you try other movie players such as mplayer vaapi(mplayer -vo vaapi -va vaapi url), VLC(vlc --ffmpeg-hw url) etc.?
I can't say if every MPEG2 stream crashes. At the moment i test with one local satelite Transponder where i discovered the problem. With that stream it crashes all the time. Aditional, the reproduction is not that easy. Sometimes i decode for 45 minutes till a crash, sometimes 5 minutes.
I actually get very similar issues when i enable deinterlacing in xbmc using vaapi. Without deinterlacing it works fine. Could this be the same thing? Perhaps xine enables deinterlacing at some point in that stream, and then it crashes?
Could you please provide a sample? Patches are now available in libva-driver-intel master and v1.0-branch branches. FFmpeg/libAV patches were submitted this weekend. The FFmpeg part will be pushed next week.
No response from user for a long time so closing as WORKSFORME, Feel free to reopen this bug if you still experience the issue
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.