Bug 59841 - Minor rendering issue with gen 3 on windows decorations with unity
Summary: Minor rendering issue with gen 3 on windows decorations with unity
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 10:11 UTC by sergio.callegari
Modified: 2013-02-14 14:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing the issue (1.60 MB, image/png)
2013-01-26 10:43 UTC, sergio.callegari
no flags Details

Description sergio.callegari 2013-01-25 10:11:01 UTC
On an ubuntu quantal atom netbook with: kernel 3.7.4; the latest intel driver (approximately 2.20.19, actually at git commit 10f549... dated 22/01/13);
xorg 2.13 as shipped by ubuntu; libgl1 approximately at 9.1, actually at git commit 148fc6 dated 22/01/13.

The machine has gen3 intel graphics, that I am using with the driver in sna acceleration mode.

I am experiencing a rendering issue with the unity desktop.

Here 'active' windows are shown properly. However 'inactive' windows have their border decoration that is corrupted and shown as a mixture of pixels of multiple colors (particularly at the corners). May have to do with the fact that unity shows luminecence and shadows around the windows and varies them depending on the active/inactive state.

Does not impact usability, so I have marked the issue as minor.

Can provide a screenshot if useful.
Comment 1 Chris Wilson 2013-01-25 11:00:04 UTC
If you can capture this in a screenshot, that tells me where abouts in the rendering pipeline it occurs (or rather it rules out where it cannot occur).

Can you also please check with -intel.git as I fixed an issue for i915c very recently?
Comment 2 sergio.callegari 2013-01-26 10:43:35 UTC
Created attachment 73675 [details]
Screenshot showing the issue

Hi, here is the screenshot.

You see two 'screens' because it was taken with the external screen attached, but this makes no difference. The rendering problem shows also with the normal laptop screen only.

If you zoom to the terminal border, you can see that it has some weird pixelization.

This happens only when the window is made inactive. When the window is active, it looks fine.

One more note: this does not happen always. Only every now and then.

You see the issue, you reboot the machine. You don't see the issue anymore.  Maybe the day after you see it again.
Comment 3 Chris Wilson 2013-01-28 10:54:39 UTC
I don't think there's any particular reason why this is related to gen3 (iirc they stopped using xrender to draw the shadows), but I'm starting the process of putting Ubuntu/unity on a pineview device. Is there anything I can do to increase the likelihood of reproducing the issue?
Comment 4 Chris Wilson 2013-02-14 13:47:47 UTC
Ah, as you have not tried since commit 98b312e579385e6e4adf6bf0abe20f8ca84592af
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jan 23 20:51:35 2013 +0000

    sna/dri: Stop feeding I915_TILING_Y to mesa i915c

I'll quietly presume it is a side-effect of that bug.
Comment 5 sergio.callegari 2013-02-14 14:56:22 UTC
My gen3 machine is the 'travelling' machine, my 'every non travelling day machine' is a gen4... that's why I was late with testing. Just verified and seems OK now.


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.