Bug 46863 - [ivb/snb regression] Piglit case fbo-stencil fail
Summary: [ivb/snb regression] Piglit case fbo-stencil fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Daniel Vetter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 00:01 UTC by lu hua
Modified: 2017-10-06 14:50 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2012-03-02 00:01:10 UTC
System Environment:
--------------------------
Arch:                 i386
Platform:             Sandybridge
Libdrm:		(master)2.4.31-9-g783db34f6d8aded019b005a957fed1b91fd67c7c
Mesa:		(master)b5653880f66879d414b0416f889963e6225a8998
Kernel:	(drm-intel-next-queued) c3dfefa0a6d235bd465309e12f4c56ea16e71111

Bug detailed description:
-----------------------------
It fails on Sandybridge and Ivybridge with kernel drm-intel-next-queued branch while running below cases. It does not happen on fix branch.

Piglit case
spec_ARB_depth_buffer_float_fbo-stencil-GL_DEPTH32F_STENCIL8-blit
spec_ARB_depth_buffer_float_fbo-stencil-GL_DEPTH32F_STENCIL8-copypixels
spec_ARB_depth_buffer_float_fbo-stencil-GL_DEPTH32F_STENCIL8-drawpixels
spec_ARB_depth_buffer_float_fbo-stencil-GL_DEPTH32F_STENCIL8-readpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX16-blit
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX16-copypixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX16-drawpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX16-readpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX1-blit
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX1-copypixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX1-drawpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX1-readpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX4-blit
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX4-copypixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX4-drawpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX4-readpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX8-blit
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX8-copypixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX8-drawpixels
spec_EXT_framebuffer_object_fbo-stencil-GL_STENCIL_INDEX8-readpixels
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-copypixels
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-24_8
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-32F_24_8_REV
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-32F_24_8_REV
spec_EXT_packed_depth_stencil_fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT
spec_EXT_packed_depth_stencil_fbo-stencil-GL_DEPTH24_STENCIL8-blit
spec_EXT_packed_depth_stencil_fbo-stencil-GL_DEPTH24_STENCIL8-copypixels
spec_EXT_packed_depth_stencil_fbo-stencil-GL_DEPTH24_STENCIL8-drawpixels
spec_EXT_packed_depth_stencil_fbo-stencil-GL_DEPTH24_STENCIL8-readpixels
spec_EXT_packed_float_getteximage-invalid-format-for-packed-type
spec_OpenGL_3.0_clearbuffer-display-lists
bugs_fdo23670-drawpix_stencil
spec_ARB_depth_buffer_float_fbo-depthstencil-GL_DEPTH32F_STENCIL8-drawpixels-24_8

Oglconform cases:
spclear(basic.allCases)
copypix(basic.CopyPixelStencil) 



Reproduce steps:
----------------------------
1. start X
2. piglit/bin/fbo-stencil GL_DEPTH32F_STENCIL8-blit
Comment 1 Daniel Vetter 2012-03-02 00:41:49 UTC
I've bisected this to

commit f691e2f4cec334e906f971471b3bf1460c6256d4
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Feb 2 09:58:12 2012 +0100

   drm/i915: swizzling support for snb/ivb

presumably we need to take swizzling into account when manually detiling the W-tiled separate stencil.
Comment 2 lu hua 2012-03-04 23:55:56 UTC
The case 'spec_EXT_packed_float_getteximage-invalid-format-for-packed-type' and 
'spec_OpenGL_3.0_clearbuffer-display-lists' are not included.

Below cases also fail on Sandybridge and Ivybridge with kernel drm-intel-next-queued branch,It does not happen on fix branch.
Oglc:
pxtrans-draw(advanced.stencilTest)
pxtrans-stencil(basic.allCases)
spop(basic.fewMasks)
spop(advanced.allMasks)
spopTwoSided(basic.allCases)
spAuxTwoSided(basic.allCases)
fbo-multisample(advanced.blit.singletomsaa.colorstencil)
fbo-multisample(advanced.blit.defaulttomsaa.colorstencil)
pxtrans-copy(advanced.stencilTest.noFbo)
pxtrans-copy(advanced.stencilTest.separatareFbo)
pxtrans-copy(advanced.stencilTest.fbo)

Piglit:
spec_OpenGL_3.0_clearbuffer-depth
spec_OpenGL_3.0_clearbuffer-depth-stencil
spec_OpenGL_3.0_clearbuffer-stencil
general_depthstencil-default_fb-blit    
general_depthstencil-default_fb-copypixels 
general_depthstencil-default_fb-drawpixels-24_8 
general_depthstencil-default_fb-drawpixels-32F_24_8_REV 
general_depthstencil-default_fb-drawpixels-FLOAT-and-USHORT 
general_depthstencil-default_fb-readpixels-24_8 
general_depthstencil-default_fb-readpixels-32F_24_8_REV 
general_depthstencil-default_fb-readpixels-FLOAT-and-USHORT 
general_stencil-drawpixels
Comment 3 lu hua 2012-03-14 23:13:46 UTC
These cases passed now.
Comment 4 lu hua 2012-03-14 23:17:21 UTC
Verified. It fixed.
Comment 5 Elizabeth 2017-10-06 14:50:57 UTC
Closing old verified.


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.