Bug 87394

Summary: [BSW]Ogles1conform sporadically causes system hang and *ERROR* Timed out: waiting for media to ack
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: high CC: intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
dmesg
none
full dmesg none

Description lu hua 2014-12-17 06:49:27 UTC
Created attachment 110935 [details]
dmesg

==System Environment==
--------------------------
Libdrm:		(master)libdrm-2.4.58-19-gf99522e678dbbaffeca9462a8edcbe900574dc12
Mesa:		(master)873d7351c5a696b6f8493c907eb8c76b8cb632da
Xserver:	(master)xorg-server-1.16.99.901-98-g0f5fdaf600bfeada966aea942cb3e347d4efee30
Xf86_video_intel:(master)2.99.916-177-g99537089346ed7a1bc6b02349fad93845e865bb9
Libva:		(master)8986ec692b19d8dd6bd2aa118b5dffbd05a8f909
Libva_intel_driver:(master)b5d6d9d425a6d539b27d22992bda05f79d1a0622


Regression: not sure, fail rate: ~1/5

Non-working platforms: BSW

==kernel==
--------------------------
drm-intel-nightly/8b7ac3dc495c2d02322bc751322331d2691089e5
commit 8b7ac3dc495c2d02322bc751322331d2691089e5
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Dec 16 18:45:18 2014 +0100

    drm-intel-nightly: 2014y-12m-16d-17h-44m-52s UTC integration manifest


==Bug detailed description==
--------------------------
Run all Ogles1conform, it sporadically causes system hang and *ERROR* Timed out: waiting for media to ack. Run multiple cycles, it happens on different case.

==Reproduce steps==
---------------------------- 
1. xinit
2. run all Ogles1conform cases.
Comment 1 Ben Widawsky 2014-12-22 21:19:33 UTC
This much more likely a kernel bug. Assigning back to INTEL GFX. This test wouldn't be using media, and the dmesg shows nothing to indicate mesa is at fault.
Comment 2 Rodrigo Vivi 2015-01-21 00:04:09 UTC
by the log it seems it was from times where chv were reusing vlv reg force wake range. It change a lot lately.

Please retry with latest nightly. I believe it is fixed already.
Comment 3 lu hua 2015-01-23 07:56:24 UTC
It's sporadically issue.  I will double check it. So update will be late.
Comment 4 lu hua 2015-01-26 08:25:47 UTC
Created attachment 112826 [details]
dmesg

Test on the latest -nightly kernel and Mesa.
It still causes system hang. But I am not meet the error. Attached the demsg.
Comment 5 Rodrigo Vivi 2015-01-27 00:07:03 UTC
Is there any i915_error_state after hang?

Could you please increase buf_log_len or paste a cleaner log?
Comment 6 lu hua 2015-01-27 02:20:47 UTC
Created attachment 112867 [details]
full dmesg

(In reply to Rodrigo Vivi from comment #5)
> Is there any i915_error_state after hang?
> 
The system hang fast, I can't catch i915_error_state. If you have any suggestion, it's welcome.

> Could you please increase buf_log_len or paste a cleaner log?

Attach the full dmesg.
Comment 7 Mika Kuoppala 2015-02-03 18:38:03 UTC
There are no hangs nor timeouts on forcewake acks on the latest dmesg. 

Please verify that the original issue with media acks is resolved.
Comment 8 lu hua 2015-02-04 07:57:39 UTC
Test 10 cycles on the latest -nightly kernel. I don't meet the hang ang error. Close it.
Comment 9 lu hua 2015-02-04 07:58:02 UTC
Verified.Fixed.
Comment 10 Elizabeth 2017-10-06 14:33:00 UTC
Closing old verified.

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.