<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB/HSW SNA Bisected]Piglit glx_glx-swap-event_async timeout"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65532">65532</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>xunx.fang@intel.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IVB/HSW SNA Bisected]Piglit glx_glx-swap-event_async timeout
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Arch:           x86_64
Platform:       Ivybridge/Haswell
Libdrm:       
(master)libdrm-2.4.45-7-ga0178c00c70f4b47e09ed7564fc2ccde611231a0
Mesa:        (master)f8df73f41c5f4e461dc7de8cd3a7b32b04dfbf2e
Xserver:   
(master)xorg-server-1.14.99.1-119-gc21344add2fc589df83b29be5831c36a372201bd
Xf86_video_intel:(master)2.21.9-5-gab47433b20a623bf790acfbf2005a8782d177f64
Cairo:        (master)17dc312221c294b120bd159e01f5f566c6ec4a2d
Libva:        (staging)35f2a712e93d5eeadeafab72aa2a41cfb54512bc
Libva_intel_driver:(staging)3159d525c24212419b136fcf772c20387631b7c8
Kernel:    (drm-intel-nightly) e93a016e97c27dc9325e7a25409228ae54fc14a4

Bug detailed description:
-----------------------------
It happens on Ivybridge/Haswell when enable SNA. It works well with EXA.
Following cases also has this issue:
webglc:
conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html    
conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html    
conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html    
conformance/textures/tex-image-and-sub-image-2d-with-canvas.html    
conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html    
conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html    
conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html    
conformance/textures/tex-image-and-sub-image-2d-with-video.html    
conformance/textures/texture-npot-video.html    
conformance/textures/texture-size-cube-maps.html    
conformance/textures/texture-size-limit.html    
conformance/textures/texture-size.html    
conformance/uniforms/out-of-bounds-uniform-array-access.html    
Piglit:
glx_glx-swap-event_async    
glx_glx-swap-singlebuffer    
glx_glx-tfp    
glx_glx-visuals-depth    
glx_glx-visuals-stencil    
spec_EGL_1.4_eglCreateSurface    
spec_EGL_1.4_eglQuerySurface_EGL_BAD_ATTRIBUTE    
spec_EGL_1.4_eglQuerySurface_EGL_BAD_SURFACE    
spec_EGL_1.4_eglQuerySurface_EGL_HEIGHT    
spec_EGL_1.4_eglQuerySurface_EGL_WIDTH    
spec_EGL_NOK_swap_region_basic    
spec_EGL_NOK_texture_from_pixmap_basic    
Piglit_gles2
gles2_shaders_18_else_case    
gles2_shaders_for_33    
gles2_shaders_for_if_continue    
gles2_shaders_prog_vertex    
Ogles1conform:
apfunc.c
bclear.c
bcolor.c
bcorner.c
blend.c
colramp.c
dither.c
divzero.c
linehv.c
linerast.c
logicop.c
l_ac.c
l_al.c
l_am.c
l_ap.c
l_as.c
mask.c
mstack.c
mustpass.c
pntaa.c
pntrast.c
polycull.c
scissor.c
spclear.c
spcorner.c
spfunc.c
spop.c
trirast.c
tritile.c
vorder.c
vpclamp.c
xform.c
xformmix.c
xformn.c
xformvp.c
zbclear.c
zbfunc.c

Bisect shows:9b52c852aaf42dde3a7f29c065e4d5230eac7a64 is the first bad commit
commit 9b52c852aaf42dde3a7f29c065e4d5230eac7a64
Author:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
AuthorDate: Thu Jun 6 16:40:01 2013 +0100
Commit:     Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
CommitDate: Thu Jun 6 16:43:24 2013 +0100

    sna/dri: Handle fast double flips across mode changes

    The tricky nature of the double flip is that there is no SwapComplete
    pending and so we must avoid calling it under such circumstances.

    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

output:
The GLX_INTEL_swap_event is supported in current version.

Reproduce steps:
----------------------------
1. enable SNA
2. xinit
3. ./bin/glx-swap-event -auto --async</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>