Bug 48045 - [uxa] Regression with cairo 1.12.0 in gvim
Summary: [uxa] Regression with cairo 1.12.0 in gvim
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 04:44 UTC by Vincent Untz
Modified: 2012-03-30 04:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of gvim (22.61 KB, image/png)
2012-03-29 04:44 UTC, Vincent Untz
no flags Details

Description Vincent Untz 2012-03-29 04:44:02 UTC
Created attachment 59219 [details]
Screenshot of gvim

Whenever I open a file in gvim, some lines appear blank, or even truncated (see screenshot for a truncated line at the top of the file). This is 100% reproducable.

After reinstalling cairo 1.10.2 instead of 1.12.0, I can't reproduce the issue anymore.
Comment 1 Chris Wilson 2012-03-29 04:59:38 UTC
As you are using the xlib backend, can you give me the break down of server, driver and compositors?
Comment 2 Vincent Untz 2012-03-29 05:42:16 UTC
server: xorg 1.10.4

driver: intel driver:
[    40.863] (II) Module intel: vendor="X.Org Foundation"
[    40.863]    compiled for 1.10.4, module version = 2.18.0
[    40.863]    Module class: X.Org Video Driver
[    40.863]    ABI class: X.Org Video Driver, version 10.0

compositor: gnome-shell 3.4.0
Comment 3 Chris Wilson 2012-03-29 06:02:13 UTC
Vincent, can you quickly test if you see the same artifact switching to fallback mode (i.e. disable the compositing WM)?
Comment 4 Vincent Untz 2012-03-29 06:26:36 UTC
I tried without a compositor (in a icewm session) and it's all working nicely there as far as I can tell.
Comment 5 Chris Wilson 2012-03-29 06:29:22 UTC
My suspicion is that you have hit this bug:

commit 25807f472d051163ed96556a409110fa405c24d1
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Mar 23 14:56:06 2012 +0000

    uxa: Remove hook for CompositeRectangles
    
    It was broken and not flushing damage correctly. With the
    improvements made to the kernel, it is no longer a significant advantage
    per se and not worth its additional complexity.
    
    Reported-by: Tilman Sauerbeck <tilman@code-monkey.de>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32547
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

If do get the change to test xf86-video-intel from git, I would appreciate it.
Comment 6 Vincent Untz 2012-03-29 10:03:26 UTC
I tried with the patch, and it didn't help -- it actually makes the issue a bit more visible ;-)
Comment 7 Chris Wilson 2012-03-29 12:45:27 UTC
Whilst you are a tree to compile, can you try ./configure --enable-sna?
Comment 8 Chris Wilson 2012-03-30 02:39:55 UTC
Ok, I see this on the first line of text in vim-gnome using uxa but not sna. Only the first line in the document, not the line under the cursor - which may be significant.
Comment 9 Chris Wilson 2012-03-30 04:52:44 UTC
commit fde8a010b3d9406c2f65ee99978360a6ca54e006
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Mar 30 12:47:21 2012 +0100

    uxa: Remove broken render glyphs-to-dst
    
    Reported-by: Vincent Untz <vuntz@gnome.org>
    Reported-by: Robert Bradford <robert.bradford@intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48045
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.