Bug 89031 - [SNA HSW bisected] Firefox address bar weirdness
Summary: [SNA HSW bisected] Firefox address bar weirdness
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: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 89030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-08 22:25 UTC by Matti Hämäläinen
Modified: 2015-02-09 16:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Matti Hämäläinen 2015-02-08 22:25:09 UTC
Weird things happen (parts of the URL text not drawn, or text not visible in the selected part) when selecting parts of URL in Firefox's address bar, for example the Git hash in this link:

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=aef2f99d051dfa37717e5d6d6de9b548d706a520

Bisected the issue to that specific commit, though looking at the code I personally find it rather weird that change should cause such behavior .. but it's Firefox, so shrug :D


-- Window manager: WindowMaker 0.95.5-2+b2
-- chipset: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
-- system architecture: x86-64 / 64bit
-- xf86-video-intel: GIT head/master b7feeca0730bf55c23e5bc5af4cae9b8a73bba0e
-- xserver: X.Org X Server 1.16.2.901-1 from latest Debian testing
-- mesa: 10.3.2-1 from Debian testing
-- libpixman: 0.32.6-3
-- libdrm version: 2.4.58-2
-- kernel version: 3.18.6 (vanilla+grsec)
-- Linux distribution: current Debian Testing (in freeze)
-- Machine or mobo model: Asus H97M-PLUS, core i7-4770
-- Display connector: DVI
Comment 1 Chris Wilson 2015-02-09 09:52:23 UTC
*** Bug 89030 has been marked as a duplicate of this bug. ***
Comment 2 Chris Wilson 2015-02-09 10:05:15 UTC
Puzzling. So far it looks to be an artifact of marking that clip mask as clear=0xff, suggesting that one of the is-clear? optimizations is broken. Joy.
Comment 3 Chris Wilson 2015-02-09 10:43:27 UTC
commit f7f68d50797f0a5e6a3c7f931c827845464acd3f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Feb 9 10:32:48 2015 +0000

    sna: Convert pixel values into ARGB values for render operations
    
    When converting from a Pixmap into a Solid, we need to remember to
    convert from the stored pixel format into the a8r8g8b8 used by the solid
    fill.
    
    This was exposed by
    
    commit aef2f99d051dfa37717e5d6d6de9b548d706a520
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Tue Feb 3 21:31:16 2015 +0000
    
        sna: Convert CompositeRectangles ADD white to SRC white
    
    but is a regression from
    
    commit 31a4c7bc13c5f4560482b450b9ee4788a58930cd [2.99.912]
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Fri Apr 4 10:46:48 2014 +0100
    
        sna/gen2+: Replace composite sources with solids where possible
    
    Reported-by: andrew@atomspring.com
    Reported-by: Matti Hämäläinen <ccr@tnsp.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89030
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 4 andrew 2015-02-09 16:34:35 UTC
So, if I update my git clone of the intel driver, this should be fixed? Or do I have to change anything else?

Thanks for your effort guys and gals, you rock!
Comment 5 Chris Wilson 2015-02-09 16:40:37 UTC
Right, if you just git pull from within your copy of xf86-video-intel, rebuild and install, it should be fixed.


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.