Bug 683029

Summary: GPU hang when playing video
Product: [Fedora] Fedora Reporter: Emmanuele Bassi <ebassi>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, mcepl, pbrobinson, xgl-maint, zkabelac
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-29 13:56:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
proposed patch none

Description Emmanuele Bassi 2011-03-08 11:30:02 UTC
Description of problem: random GPU hangs when playing video using Totem, under GNOME Shell.

Version-Release number of selected component (if applicable): xorg-x11-drv-intel-2.14.0-3.fc16

according to Chris Wilson, this could very well be the result of:

https://bugs.freedesktop.org/show_bug.cgi?id=34017

I'll have to verify the next time the hang appears.

Comment 1 Emmanuele Bassi 2011-03-08 11:43:16 UTC
ugh, forgot to add: my GPU is a GM45

lspci -v:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 20e4
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 1800 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

Comment 2 Zdenek Kabelac 2011-03-08 21:02:58 UTC
Driver really needs rebuild with this patch included:

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=23f9b14df7c102c1036134835dd5d1a508059858

It's causing ugly GPU deadlocks when i.e. mplayer is started:

[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 1691077 at 1691076, next 1691078)
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000 head 00000000 tail 00000000 start 00000000
[drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 1691080 at 1691076, next 1691084)
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000 head 00000000 tail 00000000 start 00000000
[drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 1691168 at 1691076, next 1691172)
[drm:i915_reset] *ERROR* GPU hanging too fast, declaring wedged!
[drm:i915_reset] *ERROR* Failed to reset chip.
mutter[23287]: segfault at 70 ip 00007f279f2cb86d sp 00007fff70f9e188 error 6 in libc-2.13.90.so[7f279f19f000+192000]
X[1260]: segfault at 9a ip 00007f496afd3224 sp 00007fff8de742c0 error 4 in

Comment 3 Matěj Cepl 2011-03-10 01:00:00 UTC
Are you able to reproduce this issue with the latest upgrades from F15 updates-testing (or equivalents from Rawhide)? I had this problem during test day (especially with Xv video driver), and it is gone now.

Comment 4 Matěj Cepl 2011-03-10 01:01:14 UTC
Created attachment 483331 [details]
proposed patch

Comment 5 Emmanuele Bassi 2011-03-10 04:46:40 UTC
(In reply to comment #3)
> Are you able to reproduce this issue with the latest upgrades from F15
> updates-testing (or equivalents from Rawhide)? I had this problem during test
> day (especially with Xv video driver), and it is gone now.

I'm experiencing it with the very latest package according to yum and koji, i.e. http://koji.fedoraproject.org/koji/buildinfo?buildID=231185

Comment 6 Peter Robinson 2011-11-29 12:55:07 UTC
Emmanuele: is this still an issue?

Comment 7 Emmanuele Bassi 2011-11-29 13:52:11 UTC
no, and in the meantime I updated to f16.

I think we can safely close it.