Bug 104288

Summary: Steamroll needs allow_glsl_cross_stage_interpolation_mismatch=true
Product: Mesa Reporter: Darius Spitznagel <d.spitznagel>
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: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Steamroll bad - all green
Steamroll good

Description Darius Spitznagel 2017-12-16 13:18:10 UTC
Hello Intel devs,

Steamroll (UE4 game, version 4.12.x) needs "allow_glsl_cross_stage_interpolation_mismatch=true" to run properly.

Please add this to drirc:

<application name="Steamroll" executable="Steamroll-Linux-Shipping">
    <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
</application>
Comment 1 Darius Spitznagel 2017-12-16 13:19:16 UTC
Created attachment 136216 [details]
Steamroll bad - all green
Comment 2 Darius Spitznagel 2017-12-16 13:20:21 UTC
Created attachment 136217 [details]
Steamroll good
Comment 3 Darius Spitznagel 2017-12-16 13:30:31 UTC
"allow_glsl_cross_stage_interpolation_mismatch" was introduced by commit faccbaf3faf9a7cdcda3e4032fafd0f6064459bd from Tapani but did not get into 17.3.0.

I would highly appreciate it, when his commit could also be backported to mesa stable 17.3.
It's not a new feature - only a fix - so why not?

It fixes UE4 Editor, >Observer_ and now Steamroll.
I'm pretty sure there are more broken UE4 games available for linux.

Thanks.
Comment 4 Tapani Pälli 2017-12-20 07:33:14 UTC
I've sent patch to about this and added 'Refunct' game as well. I will also attempt to get this workaround for 17.3.
Comment 5 Tapani Pälli 2017-12-20 08:00:58 UTC
--- 8< ---
commit fcfb42364698647b63eb45fe5ff653cc4372c1bf
Author: Tapani Pälli <tapani.palli@intel.com>
Date:   Wed Dec 20 09:23:55 2017 +0200

    drirc: set allow_glsl_cross_stage_interpolation_mismatch for more games
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Suggested-by: Darius Spitznagel <d.spitznagel@goodbytez.de>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104288
    Acked-by: Kenneth Graunke <kenneth@whitecape.org>

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.