Bug 93357 - [HSW] Unreal Atlantis demo - occasional corruption
Summary: [HSW] Unreal Atlantis demo - occasional corruption
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-11 21:02 UTC by Ilia Mirkin
Modified: 2016-02-09 19:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ilia Mirkin 2015-12-11 21:02:48 UTC
I tried to capture screenshots, but was unsuccessful. There are occasional blotches in the final images which look like random data, potentially resulting from blit fail, resolve fail, etc. These mostly only happen in the first and third/fourth scenes, not elsewhere. The corruption is reproducible (even looks similar between runs, so perhaps not random after all?).

mesa commit 79bff488bc
Haswell gpu: 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)

DRI3-enabled DDX (in case it matters).

Demo downloadable from https://wiki.unrealengine.com/Linux_Demos

Run like this: ./Atlantis-Linux-Shipping ResX=640 ResY=480
Comment 1 Ilia Mirkin 2016-02-09 19:49:36 UTC
This appears to be fixed by

commit 0aa4f99f562a05880a779707cbcd46be459863bf
Author: Francisco Jerez <currojerez@riseup.net>
Date:   Thu Jan 14 11:22:46 2016 -0800

    i965: Fix cache pollution race during L3 partitioning set-up.
    
    We need to split the stalling flush from the RO cache invalidation
    into a different PIPE_CONTROL command to make sure that the top of the
    pipe invalidation happens after any previous rendering is complete.
    Otherwise it's possible for previous rendering to pollute the L3 cache
    in the short window of time between RO invalidation and the completion
    of the stalling flush.  Fixes rendering artifacts on Unigine Heaven,
    Metro Last Light Redux and Metro 2033 Redux.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93540
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93599
    Tested-by: Darius Spitznagel <d.spitznagel@goodbytez.de>
    Tested-by: Martin Peres <martin.peres@linux.intel.com>
    Reviewed-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.