Created attachment 29344 [details] screeshot System Environment: -------------------------- Host: x-915gm Arch: i386 Platform: i915 Libdrm: (master)121b9648f846d900e67818869974ee82046e9b25 Mesa: (master)9778731732b4753e79a1b786c65325a52392411d Xserver: (master)1747120043cc5b5d201b7efd06b75ef08b032922 Xf86_video_intel: (master)94fc93d4e2b88565dca17f72903d8991213c9ee8 Kernel_unstable: (drm-intel-next)01dfba93d9dfcf6d7abfc55ff5d9d6e7 Bug detailed description: ------------------------- Start gnome, you will see all the characters disappear(as shown in the attached screenshot). It works well on i965 platform. I have bisected and found it is the following Xf86_video_intel commit caused the problem: commit 94fc93d4e2b88565dca17f72903d8991213c9ee8 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Sep 5 09:35:10 2009 +0100 i830/i915: Set the sample position to the pixel center. And in particular we apply the nearest sample bias separately for src/mask. Reproduce steps: ---------------- 1. xinit& 2. gnome-session&
This should be the one zhenyu raised on intel-gfx@. Chris, we are going to build Q3 rc2 tomorrow. It will be great if you could fix this before that time.
I've reproduced this using cairo and creating argb32, a8 and a1 glyphs. Only the argb32 glyphs are visible on an i945.
commit 1a77ca74bc829e019a06fe9ad559f013054c27ff Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Sep 9 12:09:05 2009 +0100 i915: Restore nearest sampling My recent commit [94fc93] to use the pixel centre for sampling with the i830 broke the i915. This restores the previous sampling coordinates for the i915 whilst preserving the correct coordinates for i830.
It works fine. Verified.
Chris, thanks for the quick fix. Closing.
the fix has been made into 2.8.99.901
The same issue happened on i915 platform with recently driver. With bisect and find it is the following Xf86_video_intel commit caused the problem: commit e581ceb7381e29ecc1a172597d258824f6a1d2d3 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Nov 10 11:14:23 2009 +0000 i915: Use the color channels to pass along solid sources and masks. Instead of allocating and utilising the texture samplers for 1x1R solid sources and masks we can simply use the default diffuse and specular colour channels and adjust the fragment shader appropriately. The big advantage is the reduction in size of batches which should give a good boost to glyph performance, irrespective of the additional boost from using simpler shaders. However, the motivating factor behind the switch is that our use of 1x1 textures turns out to be buggy... So reopen this bug.
I can confirm this issue on a Q35 system with xf86-video-intel master and 2.6.32-rc8. It works fine with xf86-video-intel 2.9.1.
Chris, can you reproduce this regression? I'm considering this as 2.10 rc1 blocker. (though this is actually a new issue so it's not proper to reopen this old bug. Anyway, the bisect info has been added here)
(In reply to comment #9) > Chris, can you reproduce this regression? I'm considering this as 2.10 rc1 > blocker. I only made the commit after verifying that it passed the test cases added after the last failure. Though as the two failure reports from rendercheck show, there is still some confusion along some paths. I'm optimistic that I can resolve those, otherwise we will have to revert back to incorrect rendering of images just to be able to see text. Can you please confirm which versions of the driver and xserver are being tested?
(In reply to comment #10) > Can you please confirm which versions of the driver and xserver are being > tested? We use xf86-video-intel master, and server-1.7-branch.
This should restore text whilst I try to understand what the actual failure is: commit cfcabc45140d19bfbfa4737c0a11cdbb042d11eb Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Nov 30 13:58:30 2009 +0000 i915: Disable centre-point sampling. I still have no idea how this is triggering failures, but it is. So revert until the problem is solved. Should fix once again: Bug 23803 [bisected i915] gnome characters disappear http://bugs.freedesktop.org/show_bug.cgi?id=23803 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Verified with commit cfcabc45140d19bfbfa4737c0a11cdbb042d11eb.
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.