Bug 66562 - [i965] GPU Hung when playing Live TV
Summary: [i965] GPU Hung when playing Live TV
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 21:04 UTC by bugzilla1
Modified: 2013-11-29 02:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (1.01 KB, text/plain)
2013-07-03 21:04 UTC, bugzilla1
Details
Output of dmesg (43.62 KB, text/plain)
2013-07-03 21:04 UTC, bugzilla1
Details
var/log/messages (103.03 KB, text/plain)
2013-07-03 21:05 UTC, bugzilla1
Details
proc/cpuinfo (3.37 KB, text/plain)
2013-07-03 21:06 UTC, bugzilla1
Details
i915_error_state (97 bytes, text/plain)
2013-07-03 21:10 UTC, bugzilla1
Details
New Xorg.0.log (1.01 KB, text/plain)
2013-07-05 07:18 UTC, bugzilla1
Details

Description bugzilla1 2013-07-03 21:04:07 UTC
Created attachment 81983 [details]
Xorg.0.log

Hi guys,

I want to report a bug. :-)

Bug description: 
While watching Live TV in XBMC I experienced a "GPU hung" which can be reproduced. It occurs on watching Live TV after some time (which varies randomly). VAAPI is enabled. The picture is smooth and free of errors. The distribution I use is OpenELEC which automatically starts XBMC on boot. After the GPU hung, the system doesn't react anymore but still can be reached via SSH. A reboot is needed to get the system working again but the error just occurs again after starting Live TV.

System environment:
-- chipset: i965 (Intel Core i3-330M with integrated GPU)
-- system architecture: 64-bit (x86_64)
-- xf86-video-intel: 2.21.11
-- xserver: 1.13.0
-- mesa: 9.1.4
-- libdrm: 2.4.45
-- kernel: 3.9.8
-- Linux distribution: OpenELEC 3.1.1 (TESTING)
-- Machine or mobo model: Fujitsu ESPRIMO Q1510 / MB: OEM (Fujitsu D1008)
-- Display connector: HDMI

Reproducing steps:
Tuning into any channel and waiting for some time. The picture just freezes and the computer stops reacting. At the same time "GPU hung" appears in the logs.

Additional info:
OpenELEC automatically start XBMC on boot.
Comment 1 bugzilla1 2013-07-03 21:04:58 UTC
Created attachment 81984 [details]
Output of dmesg
Comment 2 bugzilla1 2013-07-03 21:05:50 UTC
Created attachment 81985 [details]
var/log/messages
Comment 3 bugzilla1 2013-07-03 21:06:22 UTC
Created attachment 81986 [details]
proc/cpuinfo
Comment 4 Chris Wilson 2013-07-03 21:08:43 UTC
Please attach /sys/kernel/debug/dri/0/i915_error_state
Comment 5 bugzilla1 2013-07-03 21:10:47 UTC
Created attachment 81987 [details]
i915_error_state
Comment 6 bugzilla1 2013-07-03 21:10:59 UTC
(In reply to comment #4)
> Please attach /sys/kernel/debug/dri/0/i915_error_state

Done!
Comment 7 Chris Wilson 2013-07-03 21:24:07 UTC
Ok, this is a new one - completely baffles the error decoder, but I think it is a MEDIA pipeline...
Comment 8 haihao 2013-07-05 05:05:13 UTC
Could you provide a complete Xorg.0.log file ?
Comment 9 bugzilla1 2013-07-05 07:18:35 UTC
Created attachment 82064 [details]
New Xorg.0.log
Comment 10 bugzilla1 2013-07-05 07:19:35 UTC
(In reply to comment #8)
> Could you provide a complete Xorg.0.log file ?

I added a new one but it didn't become longer than the old one. The Xorg.0.log was captured after the hung, the system is still up.
Comment 11 haihao 2013-07-08 01:24:49 UTC
Can you reproduce this issue via palybacking a video file ?
Comment 12 bugzilla1 2013-07-08 07:17:19 UTC
(In reply to comment #11)
> Can you reproduce this issue via palybacking a video file ?

So far not. I played back AVI files in SD up top HD files (1080p) and everything works. This only happens while watching Live TV.

In the #openelec IRC channel, we also found out that my CPU generation does not support VAAPI yet, so the GPU is not used for TV-deinterlacing yet. Maybe this information is helpful.
Comment 13 bugzilla1 2013-07-11 15:47:23 UTC
UPDATE:

Updated to OpenELEC 3.1.2 testing and the error disappeared.

Thie is the changelog from 3.1.1 to 3.1.2:
https://github.com/OpenELEC/OpenELEC.tv/compare/3.1.1...3.1.2
Comment 14 ykzhao 2013-11-29 02:47:49 UTC
As the issue disappears, the bug will be closed and marked as resovled.


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.