Summary: | [uxa] cairo 1.12 slows bitmap fonts rendering | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Oleksandr Natalenko <oleksandr> | ||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | csaba+freedeskbugs | ||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Oleksandr Natalenko
2012-05-30 08:59:49 UTC
This is a driver bug. Can you attach Xorg.log so we can bring this to the attention of the appropriate developers? Created attachment 62302 [details]
X log
Sure, attached.
That would be me then. SNA has been engineered to avoid the fallbacks in UXA, and not falling back here was a big motivation for rewriting UXA. I believe this should be fixed/much-improved by commit 0a43d425670b883b04565296c0510e7ba03ba6de Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Jun 19 14:46:58 2012 +0100 uxa: Implement glyphs-to-dst to avoid fallbacks An earlier version was buggy and introduced corruption as it failed to fallback gracefully with ComponentAlpha glpyhs. This is a much simpler implementation that composites each glyph individually, leaving it to the backend to optimise away state changes. It should still be many times faster than incurring the fallback... Reported-by: Oleksandr Natalenko <pfactum@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50508 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> I've cherry-picked that commit, applied to 2.19.0 and compiled. Bug is fixed, thanks. *** Bug 51251 has been marked as a duplicate of this bug. *** (In reply to comment #6) > *** Bug 51251 has been marked as a duplicate of this bug. *** - Switching to SNA does fix the problem (so, /me moves to works4me state). - However, 0a43d425 does not seem to be a fully satisfying fix wrt. UXA. It is an improvement, but an annoying flicker is still there. See http://youtu.be/xjhHd-bB-LM (gvim shown with UXA + 0a43d425, first with Cairo 1.10.*, then with Cairo 1.12.*). The flicker is ultimately due to the background being rendered twice. The question though is why is that more visible in cairo-1.12, to which I have no immediate answer. |
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.