[Bug 92323] Font rendering issue on Intel GMA X3100/X4500 with Android-x86

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 1 18:29:59 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92323

--- Comment #8 from Mauro Rossi <issor.oruam at gmail.com> ---
Hi,

I have added a few checkpoints in src/mesa/drivers/dri/i965/intel_texsubimage.c
and src/mesa/drivers/dri/i965/intel_texsubimage.c to see the value of bool
variable named ok

The result is:

11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelTexSubImage mesa_format
MESA_FORMAT_A_UNORM8 target GL_TEXTURE_2D format GL_ALPHA type GL_UNSIGNED_BYTE
level 0 1024x512x1
11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelNewTextureObject
11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelNewTextureImage
11-01 16:49:04.652  4817  4945 W INTEL-MESA: MAUROSSI intelTexSubImage
_mesa_meta_pbo_TexSubImage() returns: 1
11-01 16:49:04.652  4817  4945 D libEGL  : [glTexSubImage2D] 0x500


this means that _mesa_meta_pbo_TexSubImage() reports to have completed its job.

In order to check if the font artifact were related to meta implementation I've
skipped _mesa_meta_pbo_TexSubImage() completely with /*  ... */ and logged 
intel_texsubimage_tiled_memcpy() and mesa_store_texsubimage() execution.  

11-02 02:20:44.825  5078  5096 W INTEL-MESA: intel_texsubimage_tiled_memcpy:
MAUROSSI 1st check failed, packing?
11-02 02:20:44.825  5078  5096 W INTEL-MESA: MAUROSSI intelTexSubImage
intel_texsubimage_tiled_memcpy() returns: 0
11-02 02:20:44.826  5078  5096 W INTEL-MESA: MAUROSSI intelTexSubImage
_mesa_store_texsubimage() executed.

The result I get by skipping _mesa_meta_pbo_TexSubImage() is that
intel_texsubimage_tiled_memcpy() bails out because of packing,

_mesa_store_texsubimage() is executed and there are no font artifacts at all
(triple checked).

This means that the offending commit lies among the following ones:

i965/tex_subimage: use meta instead of the blitter for PBO TexSubImage
i965/tex_image: Use meta for instead of the blitter PBO TexImage and
GetTexImage
i965/pixel_read: Use meta_pbo_GetTexSubImage for PBO ReadPixels
meta: Add an implementation of GetTexSubImage for PBOs
meta: Add a BlitFramebuffers-based implementation of TexSubImage

Mauro

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20151102/b69a7788/attachment.html>


More information about the intel-3d-bugs mailing list