Bug 83695 - [SNB 32-bit]Piglit spec_OpenGL_1.1_teximage-colors_GL* cases fail
Summary: [SNB 32-bit]Piglit spec_OpenGL_1.1_teximage-colors_GL* cases fail
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 01:59 UTC by lu hua
Modified: 2014-09-22 01:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
output(spec_OpenGL_1.1_teximage-colors_GL_RGBA2) (10.12 KB, text/plain)
2014-09-10 01:59 UTC, lu hua
Details

Description lu hua 2014-09-10 01:59:43 UTC
Created attachment 106017 [details]
output(spec_OpenGL_1.1_teximage-colors_GL_RGBA2)

System Environment:
--------------------------
Platform: SNB
Libdrm:		(master)libdrm-2.4.56-21-g8c2ae1695913990cbe6c6a8aa294f354eba33bd0
Mesa:		(master)4ea1565bbc49df79d4c39ba5491b0a83c2679a05
server:	(master)xorg-server-1.16.0-152-g3a51418b2db353519a1779cf3cebbcc9afba2520
Xf86_video_intel:(master)2.99.916-2-ge0f7e9fc2f0b39b9e939ff48edea29950f125420
Libva:		(master)e0d25ece01e7aba819c910e98c4fb4706cdab055
Libva_intel_driver:(master)b18479e4fdd7af7cf2840542ef19dbe9114fdeaf
Kernel:   (drm-intel-nightly)4a3d32734bdcef6813b31f06a58430436e98711e

Bug detailed description:
---------------------------
Following new cases fail only fail on SNB with mesa master branch, They work well on mesa 10.3 branch.

spec_OpenGL_1.1_teximage-colors_GL_ALPHA
spec_OpenGL_1.1_teximage-colors_GL_ALPHA12
spec_OpenGL_1.1_teximage-colors_GL_ALPHA16
spec_OpenGL_1.1_teximage-colors_GL_ALPHA4
spec_OpenGL_1.1_teximage-colors_GL_ALPHA8
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE12
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE12_ALPHA12
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE12_ALPHA4
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE16
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE16_ALPHA16
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE4
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE4_ALPHA4
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE6_ALPHA2
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE8
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE8_ALPHA8
spec_OpenGL_1.1_teximage-colors_GL_LUMINANCE_ALPHA
spec_OpenGL_1.1_teximage-colors_GL_R11F_G11F_B10F
spec_OpenGL_1.1_teximage-colors_GL_R16
spec_OpenGL_1.1_teximage-colors_GL_R16F
spec_OpenGL_1.1_teximage-colors_GL_R16_SNORM
spec_OpenGL_1.1_teximage-colors_GL_R32F
spec_OpenGL_1.1_teximage-colors_GL_R3_G3_B2
spec_OpenGL_1.1_teximage-colors_GL_R8
spec_OpenGL_1.1_teximage-colors_GL_R8_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RED
spec_OpenGL_1.1_teximage-colors_GL_RG
spec_OpenGL_1.1_teximage-colors_GL_RG16
spec_OpenGL_1.1_teximage-colors_GL_RG16F
spec_OpenGL_1.1_teximage-colors_GL_RG16_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RG32F
spec_OpenGL_1.1_teximage-colors_GL_RG8
spec_OpenGL_1.1_teximage-colors_GL_RG8_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RGB
spec_OpenGL_1.1_teximage-colors_GL_RGB10
spec_OpenGL_1.1_teximage-colors_GL_RGB10_A2
spec_OpenGL_1.1_teximage-colors_GL_RGB12
spec_OpenGL_1.1_teximage-colors_GL_RGB16
spec_OpenGL_1.1_teximage-colors_GL_RGB16F
spec_OpenGL_1.1_teximage-colors_GL_RGB16_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RGB32F
spec_OpenGL_1.1_teximage-colors_GL_RGB4
spec_OpenGL_1.1_teximage-colors_GL_RGB5
spec_OpenGL_1.1_teximage-colors_GL_RGB5_A1
spec_OpenGL_1.1_teximage-colors_GL_RGB8
spec_OpenGL_1.1_teximage-colors_GL_RGB8_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RGB9_E5
spec_OpenGL_1.1_teximage-colors_GL_RGBA
spec_OpenGL_1.1_teximage-colors_GL_RGBA12
spec_OpenGL_1.1_teximage-colors_GL_RGBA16
spec_OpenGL_1.1_teximage-colors_GL_RGBA16_SNORM
spec_OpenGL_1.1_teximage-colors_GL_RGBA2
spec_OpenGL_1.1_teximage-colors_GL_RGBA32F
spec_OpenGL_1.1_teximage-colors_GL_RGBA4
spec_OpenGL_1.1_teximage-colors_GL_RGBA8
spec_OpenGL_1.1_teximage-colors_GL_RGBA8_SNORM
spec_OpenGL_1.1_teximage-colors_GL_SLUMINANCE8
spec_OpenGL_1.1_teximage-colors_GL_SLUMINANCE8_ALPHA8
spec_OpenGL_1.1_teximage-colors_GL_SRGB8
spec_OpenGL_1.1_teximage-colors_GL_SRGB8_ALPHA8

Reproduce steps:
-------------------------
1. xinit
2. bin/teximage-colors GL_RGBA32F -fbo -auto
Comment 1 Tapani Pälli 2014-09-11 11:56:31 UTC
For me this test passes on SNB desktop using Mesa master (771ab95), I'm running these on Fedora 20.
Comment 2 lu hua 2014-09-15 07:15:04 UTC
(In reply to comment #1)
> For me this test passes on SNB desktop using Mesa master (771ab95), I'm
> running these on Fedora 20.

I run it on SNB desktop and Fedora 20(i386).
Piglit: b0c65baab83e04616ba7461775457fcf9a423d41
Comment 3 Tapani Pälli 2014-09-16 10:42:29 UTC
I'm having exactly same Piglit. Are you able to test on 64bit Fedora? This is one difference we have here.
Comment 4 Tapani Pälli 2014-09-16 11:54:36 UTC
(In reply to comment #3)
> I'm having exactly same Piglit. Are you able to test on 64bit Fedora? This
> is one difference we have here.

I've tried on 32bit chroot and test fails there. Will investigate what would cause this.
Comment 5 Tapani Pälli 2014-09-16 12:07:38 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I'm having exactly same Piglit. Are you able to test on 64bit Fedora? This
> > is one difference we have here.
> 
> I've tried on 32bit chroot and test fails there. Will investigate what would
> cause this.

Forget it, for my chroot these tests fail also with 10.3 branch. Would be cool if you have 64bit SNB system just to verify if that's causing the difference.
Comment 6 lu hua 2014-09-17 02:41:15 UTC
I test it on 64bit SNB, It works well on master and 10.3 branch.
This issue only happens on 32bit machine.
Comment 7 Neil Roberts 2014-09-17 14:54:37 UTC
I can replicate this on 32-bit with Ivybridge too. I think it is a problem with the test rather than a bug in Mesa. I've posted a patch here:

http://lists.freedesktop.org/archives/piglit/2014-September/012601.html
Comment 8 Tapani Pälli 2014-09-18 11:11:41 UTC
(In reply to comment #7)
> I can replicate this on 32-bit with Ivybridge too. I think it is a problem
> with the test rather than a bug in Mesa. I've posted a patch here:
> 
> http://lists.freedesktop.org/archives/piglit/2014-September/012601.html

yep, works for me 

Tested-by: Tapani Pälli <tapani.palli@intel.com>
Comment 9 Neil Roberts 2014-09-18 16:38:14 UTC
Thanks. I've pushed the patch.

http://cgit.freedesktop.org/piglit/commit/?id=0eed11fd312616617ec865a6f59c0
Comment 10 lu hua 2014-09-22 01:17:23 UTC
Fixed.


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.