Bug 89569

Summary: Papo & Yo crash on startup [HSW]
Product: Mesa Reporter: Tapani Pälli <lemody>
Component: Drivers/DRI/i965Assignee: Tapani Pälli <lemody>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix the issue

Description Tapani Pälli 2015-03-13 11:42:35 UTC
When loading level "Papo & Yo" hits following assertion:

PYGame-Linux: brw_eu_emit.c:473: brw_set_src1: Assertion `brw_inst_src0_reg_file(brw, inst) != 3' failed.

I've bisected this to following commit:
--------- 8< ---------------------------

commit bb33a31c3830945ae768ebdaeb686291bdf897fa
Author: Matt Turner <mattst88@gmail.com>
Date:   Sun Nov 9 17:27:52 2014 -0800

    i965/fs: Add algebraic optimizations for MAD.
    
    total instructions in shared programs: 5764176 -> 5763808 (-0.01%)
    instructions in affected programs:     25121 -> 24753 (-1.46%)
    helped:                                164
    HURT:                                  2
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Comment 1 Tapani Pälli 2015-03-13 13:18:17 UTC
Created attachment 114286 [details] [review]
patch to fix the issue

with great help of Curro I produced attached patch to fix this
Comment 2 Tapani Pälli 2015-03-17 06:01:10 UTC
fix pushed to master

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.