Summary: | [BDW]Some Piglit and Ogles2conform cases cause GPU hang | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i965 | Assignee: | Kenneth Graunke <kenneth> |
Status: | VERIFIED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | eero.t.tamminen, intel-gfx-bugs, james.ausmus |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
dmesg
/sys/class/drm/card0/error dmesg(glsl-fs-raytrace-bug27060) |
Description
lu hua
2014-02-25 06:13:16 UTC
Created attachment 94700 [details]
dmesg
Created attachment 94701 [details]
/sys/class/drm/card0/error
(GLES20)GL_functions_mat4_empty_inout_mat4_array_vert.test and (GLES20)GL_sin_sin_vec3_frag_xvary.test also cause GPU hang. Webglc case conformance_ogles_mustpass.run.txt also causes GPU hang. Ogles2conform cases cause system no response, So file new Bug 75591. Created attachment 95910 [details] dmesg(glsl-fs-raytrace-bug27060) Test on latest -nightly kernel and Mesa master branch. Some Piglit cases still have this issue. run Ogles2conform cases, this issue goes away. glsl-fs-raytrace-bug27060 has this issue. Decreasing priority. It only reports GPU hang on dmesg. System no response issue goes away. I've looked at these extensively, and I have no clue. It appears to be a hang in the shader; converting IF/ELSE/ENDIF to NOP makes the tests not hang. I've also tried adding lots of "switch" flags, and that doesn't help either. Maybe somebody else will have an idea. Fixed by this patch: http://article.gmane.org/gmane.comp.video.mesa3d.devel/77713 Fixed by: commit 9584959123b0453cf5313722357e3abb9f736aa7 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Thu May 8 16:44:37 2014 -0700 i965: Fix GPU hangs on Broadwell in shaders with some control flow. According to the documentation, we need to set the source 0 register type to IMM for flow control instructions that have both JIP and UIP. Fixes GPU hangs in approximately 10 Piglit tests, 5 es3conform tests, Unigine Crypt, a WebGL raytracer demo, and several Steam titles. Topi, Kristian, and I all verified the fix. Verified.Fixed. |
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.