Bug 89816 - Corruption with "sna: Mask the batch length"
Summary: Corruption with "sna: Mask the batch length"
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium major
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-29 21:22 UTC by Andreas Reis
Modified: 2015-03-29 21:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Corruption with compositing enabled (45.23 KB, image/jpeg)
2015-03-29 21:22 UTC, Andreas Reis
no flags Details
Chromium address suggestion without compositing enabled (4.29 KB, image/png)
2015-03-29 21:23 UTC, Andreas Reis
no flags Details

Description Andreas Reis 2015-03-29 21:22:22 UTC
Created attachment 114704 [details]
Corruption with compositing enabled

Commit "sna: Mask the batch length" causes considerable display corruption for me (Haswell 4770/HD4600, xserver-git).

First image is from a terminal with compton compositing enabled, second is from Chromium's address suggestions even with compton killed.
Comment 1 Andreas Reis 2015-03-29 21:23:28 UTC
Created attachment 114705 [details]
Chromium address suggestion without compositing enabled
Comment 2 Chris Wilson 2015-03-29 21:37:58 UTC
It's a kernel bug; though the fix appears to have landed in the wrong queue:

commit 743e78c1d726d875b98ff9689cc77c4d3d5d9ae2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Mar 27 11:02:10 2015 +0000

    drm/i915: Skip allocating shadow batch for 0-length batches

However, the amount of corruption is worrisome. There should be transient corruptoin from the batch failure, but it should then fallback to software rendering and so fix up the corruption. Something for me to investigate.
Comment 3 Andreas Reis 2015-03-29 21:46:39 UTC
I should probably note that the top gray bar in the first image is just my status bar.

The corruption in Chromium was also very visible eg. when playing back webm.


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.