<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [SNB+ Bisected]Piglit spec_EGL_NOK_texture_from_pixmap_basic fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88841">88841</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[SNB+ Bisected]Piglit spec_EGL_NOK_texture_from_pixmap_basic fails
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>high
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huax.lu@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>System Environment:
--------------------------
Platform: SNB+
Libdrm:
(master)libdrm-2.4.59-6-g28ee135a37e10b9a6cd62d67df0332e38ee0b85c
Mesa: (master)f1a9252defb77f3986305c6a1fc9592093b5a4e5
Xserver:
(master)xorg-server-1.16.99.902-3-gdf1b401f57ad4b4925bad66684445b476562f26f
Xf86_video_intel:(master)2.99.917-59-gb8d52b0edd2ad6a2513d37001ee9d8f67c9acaa7
Libva: (master)f9741725839ea144e9a6a1827f74503ee39946c3
Libva_intel_driver:(master)3d16cf07b6b65b9bd5c2dd855d97558264a12e79
Kernel: (drm-intel-nightly)2c2cd37eb3b97bb8846ac3bf75dcb8b4948922d0
Bug detailed description:
---------------------------
It fails on SNB+ platforms with mesa master branch, works well on 10.4 branch.
Bisect shows: 90bd943f2abafd5e3ea29ab8397fd4682ef74170 is the first bad commit
commit 90bd943f2abafd5e3ea29ab8397fd4682ef74170
Author: Sisinty Sasmita Patra <<a href="mailto:sisinty.patra@intel.com">sisinty.patra@intel.com</a>>
AuthorDate: Fri Dec 12 13:03:21 2014 -0800
Commit: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
CommitDate: Mon Jan 26 17:29:35 2015 -0800
i965: Implemente a tiled fast-path for glReadPixels and glGetTexImage
Added intel_readpixels_tiled_mempcpy and intel_gettexsubimage_tiled_mempcpy
functions. These are the fast paths for glReadPixels and glGetTexImage.
On chrome, using the RoboHornet 2D Canvas toDataURL test, this patch cuts
amount of time spent in glReadPixels by more than half and reduces the time
of the entire test by 10%.
v2: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
- Refactor to make the functions look more like the old
intel_tex_subimage_tiled_memcpy
- Don't export the readpixels_tiled_memcpy function
- Fix some pointer arithmatic bugs in partial image downloads (using
ReadPixels with a non-zero x or y offset)
- Fix a bug when ReadPixels is performed on an FBO wrapping a texture
miplevel other than zero.
v3: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
- Better documentation fot the *_tiled_memcpy functions
- Add target restrictions for renderbuffers wrapping textures
v4: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
- Only check the return value of brw_bo_map for error and not
bo->virtual
v5: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
- Don't unnecessarily repeat a comment
Signed-off-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
Reviewed-by: Chad Versace <<a href="mailto:chad.versace@intel.com">chad.versace@intel.com</a>>
output:
EGL_Y_INVERTED_NOK: TRUE
Probe color at (50,50)
Expected: 0.500000 0.000000 0.500000 1.000000
Observed: 0.400000 0.000000 0.000000 1.000000
PIGLIT: {"result": "fail" }
Reproduce steps:
-------------------------
1. xinit
2. bin/egl-nok-texture-from-pixmap -auto</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>