Bug 28572 - rotated screens show artefacts
Summary: rotated screens show artefacts
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 04:28 UTC by Till Matthiesen
Modified: 2010-06-22 06:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
artefacts on drop-down menue [firefox] (282.92 KB, image/jpeg)
2010-06-16 04:30 UTC, Till Matthiesen
no flags Details
anther one, looking slightly different [firefox] (342.47 KB, image/jpeg)
2010-06-16 04:30 UTC, Till Matthiesen
no flags Details
similar thing in Mathematica 7 (441.55 KB, image/jpeg)
2010-06-16 04:31 UTC, Till Matthiesen
no flags Details
debris after closing a drop-down menu (85.52 KB, image/jpeg)
2010-06-16 04:33 UTC, Till Matthiesen
no flags Details

Description Till Matthiesen 2010-06-16 04:28:53 UTC
Hi all,

I'm newly using a rotated screen setup and see some misrenderings
in both GTK and Qt applications that I was not able to dump with a frame grabber. 
This does _not_ occur on non-rotated setups, i.e. `xrandr --orientation normal`.

I tried to bisect the issue and this happens with xf86-video-intel from git down to 2.10.0. Below that my compilation ended in dependency hell.

---

System information:

Linux 2.6.34 x86_64 
intel i965 [git,2.10.0]
xorg-server-1.8.1
Comment 1 Till Matthiesen 2010-06-16 04:30:22 UTC
Created attachment 36312 [details]
artefacts on drop-down menue [firefox]
Comment 2 Till Matthiesen 2010-06-16 04:30:54 UTC
Created attachment 36313 [details]
anther one, looking slightly different [firefox]
Comment 3 Till Matthiesen 2010-06-16 04:31:42 UTC
Created attachment 36314 [details]
similar thing in Mathematica 7
Comment 4 Till Matthiesen 2010-06-16 04:33:01 UTC
Created attachment 36315 [details]
debris after closing a drop-down menu
Comment 5 Till Matthiesen 2010-06-22 05:53:58 UTC
The meat of this bug is fixed by Chris' latest 
xf86-video-intel and libdrm commits [22/06/2010].

In particular these symptoms are gone now (for me):
https://bugs.freedesktop.org/attachment.cgi?id=36313
https://bugs.freedesktop.org/attachment.cgi?id=36314

Still, I notice flickering [like tearing] (on rotated screen setups) when I
move over menu items in drop-down menues - e.g. firefox (3.6.3).
Hard to explain, but it looks like the highlighted section (mouse hover) is drawn not at once immediately but in fragments of contiguous rectangles (tiling?). Those are drawn with a slight delay which make them flickering.

Strange enough, this also happens for my machine at home [r770] and rotated setup,
so I'm not sure if this is a driver specific thing or an architectural shortcoming.

So unless you want to elaborate on this further, consider this bug fixed.

Thanks again, Chris!
Comment 6 Chris Wilson 2010-06-22 06:30:38 UTC
Till, thanks for testing and reporting!

The tearing effect I think is due (in part at least) to a miscalculation of the damaged region by the xserver, hence why it affects more than just intel drivers. [Of course, we don't rule out the possibility of there being additional bugs in our driver either...] For the damage, there has been some discussion, so we can reasonably expect the xserver to be shortly fixed.

I'll close this bug in the hope that what I've just said holds true! :)


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.