When using SNA instead of UXA in the xf86-video-intel driver, dialog box buttons that are selected/highlighted (by showing a dotted rectangle inside the button's border) do not display this rectangle correctly. Random dots are missing, and each time it draws, it is a different set of dots. From lspci: VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) I will attach a screenshot showing an example of this. In this case, it is a dialog for saving an image from a gmail message in Chromium.
Created attachment 68084 [details] Corruption of the dotted rectangle in selected button Note, WM is openbox.
Created attachment 68085 [details] How the same button looks using UXA
gen4 flushing bug, I shall wait until I hear feedback from testing with linux-3.7, or it may even require patches from my tree.
Created attachment 68732 [details] [review] Flush state changes Can you please test the attached patch?
Created attachment 68755 [details] [review] Flush state changes
I've uploaded commit 257abfdabe39629fb458ed65fab11283f7518dc4 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Oct 17 23:34:22 2012 +0100 sna/gen4: Presume we need a flush upon state change similar to gen5+ References: https://bugs.freedesktop.org/show_bug.cgi?id=55627 References: https://bugs.freedesktop.org/show_bug.cgi?id=55500 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> in the hope that gen4 has the same brokenness as the later generations. Please reopen if this doesn't fix the corruption, thanks.
I tested just now with the latest git, and problem persists. Just to make sure I did this correctly, I replaced the following three files on my system with freshly-built ones: /usr/lib/xorg/modules/drivers/intel_drv.so /usr/lib/libI810XvMC.so.1.0.0 /usr/lib/libIntelXvMC.so.1.0.0 The other lib symlinks are, of course, there, for the last two.
This will be worth checking with commit b2245838c15b54d72557de8facb7cc15d59624ae Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Nov 6 16:32:32 2012 +0000 sna/gen4: opacity spans requires the per-rectangle flush w/a Note that this is worsened, but not caused, by: commit e1a63de8991a6586b83c06bcb3369208871cf43d Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Nov 2 09:10:32 2012 +0000 sna/gen4+: Prefer GPU spans if the destination is active References: https://bugs.freedesktop.org/show_bug.cgi?id=55500 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Thanks.
(In reply to comment #8) > This will be worth checking with > > commit b2245838c15b54d72557de8facb7cc15d59624ae > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Tue Nov 6 16:32:32 2012 +0000 Yep, I just did a git pull to get the latest and rebuilt - the issue appears to be gone with the latest code.
Thanks for testing and the bug report. I'm marking this one as closed, and keeping bug 55500 for a rather subtle rendering error.
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.