Bug 83916 - [BYT ppgtt] GPU HANG: ecode -1:0x00000000 Piglit/Ogles3conform/Webglc cases sporadically cause GPU hang
Summary: [BYT ppgtt] GPU HANG: ecode -1:0x00000000 Piglit/Ogles3conform/Webglc cases s...
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: All Linux (All)
: medium enhancement
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 08:10 UTC by lu hua
Modified: 2015-05-13 07:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (125.15 KB, text/plain)
2014-09-16 08:10 UTC, lu hua
no flags Details

Description lu hua 2014-09-16 08:10:59 UTC
Created attachment 106358 [details]
dmesg

System Environment:
--------------------------
Platform: BYT
Libdrm:	(master)libdrm-2.4.56-21-g8c2ae1695913990cbe6c6a8aa294f354eba33bd0
Mesa:	(master)dbc2d81d2ba12354876eb67c79e8a71e57e97f3c
Xserver:(master)xorg-server-1.16.0-176-gd3427717f2c6a473dc3d20631dff653e4e37228e
Xf86_video_intel:(master)2.99.916-39-g11444619457aa8121efc937291f1d944ac42265d
Libva:	(master)e0d25ece01e7aba819c910e98c4fb4706cdab055
Libva_intel_driver:(master)bc2e06ef0f89b264fe968fbff4f06e425385c3d8
Kernel:   (drm-intel-nightly)43df30da20447e2856b2761215ff274886a9f931

Bug detailed description:
---------------------------
Run all Webglc cases, GPU hang appears sporadically. It happens on different case when run multiple cycles. Fail rate:2/3. 
If this issue occurs, run reboot, system is no response. 
Add i915.enable_ppgtt=1 on latest nightly kernel, run 3 cycles, it works well.

Reproduce steps:
-------------------------
1. xinit
2. go to https://www.khronos.org/registry/webgl/conformance-suites/1.0.2/webgl-conformance-tests.html run all webglc cases.
Comment 1 Chris Wilson 2014-09-16 08:35:20 UTC
What's the browser config? firefox or chromium, any tweaks to settings?
Comment 2 lu hua 2014-09-16 08:42:17 UTC
(In reply to comment #1)
> What's the browser config? firefox or chromium, any tweaks to settings?

Google Chrome, version: 33.0.175.152, with default settings.
Comment 3 Chris Wilson 2014-09-17 13:10:00 UTC
I think I can reproduce this one. Looks similar to bug 81326.
Comment 4 lu hua 2014-09-28 06:09:16 UTC
This bug is not confined to Webglc.
Piglit and Ogles3conform also have this issue on automation testing, but I can't reproduce it manually.
 
Piglit log:
@test: Piglit/spec_amd_shader_trinary_minmax_compiler_built-in-functions_max3-float-float-float.vert
info: @@@Returncode: 1

Cannot_connectX
test case start at: Sat Sep 27 16:27:01 2014
test case end at:   Sat Sep 27 16:27:01 2014

Errors:
piglit: error: waffle_display_connect failed due to WAFFLE_ERROR_UNKNOWN: XOpenDisplay failed


Dmesg:<6>[43733.365715] [drm] no progress on blitter ring
<6>[43733.373268] [drm] GPU HANG: ecode -1:0x00000000, reason: Ring hung, action: reset
<3>[43733.373408] [drm:intel_pipe_set_base] *ERROR* pin & fence failed
Comment 5 Kaveh 2014-10-21 00:07:51 UTC
Damien, do you have a Baytrail to reproduce and debug this?
Comment 6 Damien Lespiau 2014-10-21 06:13:19 UTC
I don't have a BYT device setup to debug this. I'm also still in the middle of addressing/debugging the SKL review comments and issues, hopefully for 3.19.
Comment 7 lu hua 2014-11-07 03:36:27 UTC
# cat /sys/module/i915/parameters/enable_ppgtt
1

Default enable_ppgtt is 1, this issue goes away, decreasing priority.
Comment 8 Jesse Barnes 2015-03-02 21:33:15 UTC
No full PPGTT on pre-gen8.


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.