Bug 16610 - [Q45 32bit mesa_7_0_branch] glean case blendFunc failed
Summary: [Q45 32bit mesa_7_0_branch] glean case blendFunc failed
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16029
  Show dependency treegraph
 
Reported: 2008-07-03 19:40 UTC by Shuang He
Modified: 2008-07-10 19:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log (46.71 KB, text/plain)
2008-07-03 19:43 UTC, Shuang He
Details
xorg conf (3.83 KB, text/plain)
2008-07-03 19:44 UTC, Shuang He
Details

Description Shuang He 2008-07-03 19:40:12 UTC
System Environment:
--------------------------

--Platform: G965

--Architecture(32-bit,64-bit,compatiblity): all

--2D driver(2.4 branch):  45c1da56891723dd85153853885dd3b52a23c117

--mesa(7_0 branch): 2c9e332bceb85435aa5e4ad4d43fc97c7272bf98

--Xserver(1.4 branch): c3a7903f6a6a27e53ba0372408e0c5a68c608e86

--LibDrm: 2.3.0

--Kernel:
2.6.23.1


Bug detailed description:
-------------------------
this issue happens on G45 with direct rendering.
this issue doesn't happen on G965 with direct rendering.

glean case blendFunc failed with following output:
blendFunc:  PASS rgba8, db, win+pmap, id 35
blendFunc:  PASS rgba8, win+pmap, id 36
blendFunc:  PASS rgba8, db, z24, s8, win+pmap, id 37
blendFunc:  PASS rgba8, z24, s8, win+pmap, id 38
blendFunc:  FAIL rgba8, db, accrgba16, win+pmap, slow, id 39
        source factor RGB = GL_ONE_MINUS_DST_ALPHA, source factor A = GL_ZERO
        dest factor RGB = GL_ONE_MINUS_DST_ALPHA, dest factor A = GL_ZERO
        equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
        const color = { 0.25, 0, 1, 0.75 }
        Readback had 0 bits in error; blending had 1.87238 bits in error.
blendFunc:  PASS rgba8, accrgba16, win+pmap, slow, id 40
blendFunc:  PASS rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 41
blendFunc:  PASS rgba8, z24, s8, accrgba16, win+pmap, slow, id 42
blendFunc:  FAIL rgba8, db, win+pmap, id 43
        source factor RGB = GL_CONSTANT_COLOR, source factor A = GL_CONSTANT_COL                                             OR
        dest factor RGB = GL_CONSTANT_COLOR, dest factor A = GL_ZERO
        equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
        const color = { 0.25, 0, 1, 0.75 }
        Readback had 0 bits in error; blending had 5.08246 bits in error.
blendFunc:  PASS rgba8, win+pmap, id 44
blendFunc:  FAIL rgba8, db, z24, s8, win+pmap, id 45
        source factor RGB = GL_ONE_MINUS_CONSTANT_COLOR, source factor A = GL_SRC_ALPHA
        dest factor RGB = GL_SRC_ALPHA, dest factor A = GL_CONSTANT_ALPHA
        equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
        const color = { 0.25, 0, 1, 0.75 }
        Readback had 0 bits in error; blending had 6.88255 bits in error.
blendFunc:  PASS rgba8, z24, s8, win+pmap, id 46
blendFunc:  PASS rgba8, db, accrgba16, win+pmap, slow, id 47
blendFunc:  PASS rgba8, accrgba16, win+pmap, slow, id 48
blendFunc:  PASS rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 49
blendFunc:  FAIL rgba8, z24, s8, accrgba16, win+pmap, slow, id 50
        source factor RGB = GL_ONE_MINUS_DST_COLOR, source factor A = GL_SRC_ALPHA_SATURATE
        dest factor RGB = GL_ONE, dest factor A = GL_ONE_MINUS_CONSTANT_ALPHA
        equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
        const color = { 0.25, 0, 1, 0.75 }
        Readback had 4.39796 bits in error; blending had 1.21097 bits in error.
blendFunc:  FAIL rgba8, win+pmap, nonconformant, id 112
        source factor RGB = GL_ONE_MINUS_SRC_ALPHA, source factor A = GL_ONE_MINUS_CONSTANT_ALPHA
        dest factor RGB = GL_ZERO, dest factor A = GL_ONE_MINUS_SRC_COLOR
        equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
        const color = { 0.25, 0, 1, 0.75 }
        Readback had 7.88216 bits in error; blending had 7.41413 bits in error.



Reproduce steps:
----------------
1. start X
2. glean -r test -t blendFunc

Current result:
----------------
glean case blendFunc failed
Comment 1 Shuang He 2008-07-03 19:43:23 UTC
Created attachment 17513 [details]
xorg log
Comment 2 Shuang He 2008-07-03 19:44:24 UTC
Created attachment 17514 [details]
xorg conf
Comment 3 Shuang He 2008-07-03 19:48:41 UTC
typo, should be Q45 with 32-bit OS
Comment 4 Shuang He 2008-07-06 18:32:32 UTC
Haihao, there's a extension GL_EXT_blend_func_separate, which allows independent setting of the RGB and alpha blend factors for blend operations
Comment 5 haihao 2008-07-07 20:05:17 UTC
I can't reproduce it on the same machine, could you detail how to reproduce?
Comment 6 Shuang He 2008-07-10 19:22:49 UTC
This issue seems gone now.
Comment 7 Shuang He 2008-07-10 19:23:10 UTC
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.