System Environment: -------------------------- Kernel_version: (drm-intel-fixes)448f53a1ede54eb854d036abf54573281412d650 Libdrm: (master)2.4.23 Mesa: (7.10)612e26e82c60809ab9c81213f39fbe527284af9f Xserver: (server-1.9-branch)xorg-server-1.9.3-6-ga2c674b75d3b1a663bece6f6e2e34c3e71e6be55 Xf86_video_intel: (master)2.13.902-3-g5743c223877fbff710cdd5114cff6d3ee3108309 Bug detailed description: ------------------------- The case passes on Ironlake.
Created attachment 41388 [details] dmesg
The output while running the case clipFlat. clipFlat: Failure for glBegin/End(GL_TRIANGLE_FAN), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0, 0, 1) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 33 clipFlat: Failure for glBegin/End(GL_TRIANGLE_FAN), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0, 0, 1) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 34 clipFlat: Failure for glBegin/End(GL_TRIANGLE_FAN), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0, 0, 1) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 105 (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back or front? X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 137 (DRI2) Minor opcode of failed request: 8 (DRI2SwapBuffers ) Resource id in failed request: 0x60000b Serial number of failed request: 5264 Current serial number in output stream: 5264
Fixed by commit 9977297ad9bc0e816810bd3a39d89e5c1cffff72 Author: Zhenyu Wang <zhenyuw@linux.intel.com> Date: Tue Jan 4 13:46:13 2011 +0800 i965: Fix provoking vertex select in clip state for sandybridge Triangle fan provoking vertex for first convention should be 'vertex 1' in sandybridge clip state. Partly fix glean/clipFlat case commit bea6539abff17f39c822ac9c1c94f8249c396b18 Author: Zhenyu Wang <zhenyuw@linux.intel.com> Date: Tue Jan 4 15:25:43 2011 +0800 i965: Use last vertex convention for quad provoking vertex on sandybridge Until we know how hw converts quads to polygon in beginning of 3D pipeline, for now unconditionally use last vertex convention. Fix glean/clipFlat case.
zhenyu, please close the bug only when you commmit to the release branch.
Eric helped to commit to 7.10 now. Close.
The case still fail,now. The output is as following: clipFlat: PASS rgba8, db, z24, s8, win+pmap, id 33 clipFlat: PASS rgba8, db, z24, s8, win+pmap, id 34 clipFlat: PASS rgba8, db, z24, s8, win+pmap, id 103 (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back or front? X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 137 (DRI2) Minor opcode of failed request: 8 (DRI2SwapBuffers ) Resource id in failed request: 0x60000b Serial number of failed request: 7846 Current serial number in output stream: 7846
so it's still broken in QA's machine, even with master.
I just run --quick glean test that passed. So looks like dri2 drawable failure somehow, but not relate to driver support for provoking vertex.
(In reply to comment #8) > I just run --quick glean test that passed. So looks like dri2 drawable failure > somehow, but not relate to driver support for provoking vertex. do you mean a new bug?
Tested with latest code, this case still fails on sandybridge. It also fails on Ironlake and pineview.
Xun/Yi, can you check when it turned from pass to fail on Ironlake?
command line for reproducing the problem quickly -- third or fourth visual tested: vblank_mode=0 ./bin/glean -r asdf -t clipFlat -o
The DRI2SwapBuffers failure should be fixed in Mesa Git.
Hua, can you check the current test result?
Current test result:'skip' Output: Test clipping with flat shading (provoking vertex). clipFlat: PASS rgba8, db, z24, s8, win+pmap, id 33 Function "ProvokingVertex" not supported on this implementation PIGLIT: {'result': 'skip' }
The bug reported here did not show up in your log in the reopening of this bug report, so don't reopen it.
It passes on ivybridge,sandybridge and ironlake. It still fails on pineview. output: Test clipping with flat shading (provoking vertex). clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 33 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 34 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 92 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, win+pmap, id 129 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, win+pmap, id 130 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, win+pmap, id 131 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, z24, s8, win+pmap, id 132 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, win+pmap, id 133 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, win+pmap, id 134 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, z24, s8, win+pmap, id 135 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, win+pmap, id 136 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, accrgb16, win+pmap, slow, id 137 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 138 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, win+pmap, id 139 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, win+pmap, id 140 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, win+pmap, id 141 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, z24, s8, win+pmap, id 142 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, win+pmap, id 143 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, win+pmap, id 144 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, z24, s8, win+pmap, id 145 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, win+pmap, id 146 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgb8, db, z24, s8, accrgb16, win+pmap, slow, id 147 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, win+pmap, id 148 clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL) Translation: -1, -1 GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode Expected color (0, 1, 0) but found (0.623529, 0.376471, 0) clipFlat: FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 149
I agree the original bug has been 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.