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

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Rendering sometimes halts in waiting for back buffers with dri3 & xwayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81139">81139</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Rendering sometimes halts in waiting for back buffers with dri3 & xwayland
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stu_dby@126.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>GLX
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Xwayland now uses dri3 & glamor as means of acceleration, but rendering
sometimes halts randomly in waiting for back buffers(See <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - glxgears stops rendering randomly under xwayland with dri3 & glamor"
   href="show_bug.cgi?id=80963">Bug 80963</a> in wayland).
glxgears (and probably programs rendering in single buffer) is affected.

Stacktrace when halted is listed below:
at  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

#0  0x00007ffff70bd800 in __poll_nocancel () from /usr/lib/libc.so.6
#1  0x00007ffff55fc992 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffff55fddc9 in xcb_wait_for_special_event ()
   from /usr/lib/libxcb.so.1
#3  0x00007ffff7bbc495 in dri3_find_back (c=0x605790, priv=0xa346e0)
    at dri3_glx.c:1103
#4  0x00007ffff7bbc51b in dri3_get_buffer (driDrawable=0x6a48e0, format=4107, 
    buffer_type=dri3_buffer_back, loaderPrivate=0xa346e0) at dri3_glx.c:1127
#5  0x00007ffff7bbc92e in dri3_get_buffers (driDrawable=0x6a48e0, format=4107, 
    stamp=0x6a4910, loaderPrivate=0xa346e0, buffer_mask=1, 
    buffers=0x7fffffffe640) at dri3_glx.c:1274
#6  0x00007ffff3563c10 in intel_update_image_buffers (brw=0x7ffff7fd4040, 
    drawable=0x6a48e0) at brw_context.c:1395
#7  0x00007ffff3563436 in intel_update_renderbuffers (context=0x6a4020, 
    drawable=0x6a48e0) at brw_context.c:1087
#8  0x00007ffff35634cd in intel_prepare_render (brw=0x7ffff7fd4040)
    at brw_context.c:1108
#9  0x00007ffff3556969 in brw_clear (ctx=0x7ffff7fd4040, mask=18)
    at brw_clear.c:234
#10 0x00007ffff31b875e in _mesa_Clear (mask=16640) at main/clear.c:226
#11 0x00000000004027fa in draw () at gears.c:183
#12 0x00007ffff76b1ac4 in ?? () from /usr/lib/libglut.so.3
#13 0x00007ffff76b5329 in fgEnumWindows () from /usr/lib/libglut.so.3
#14 0x00007ffff76b207d in glutMainLoopEvent () from /usr/lib/libglut.so.3
#15 0x00007ffff76b28e5 in glutMainLoop () from /usr/lib/libglut.so.3
#16 0x00000000004031af in main (argc=1, argv=0x7fffffffeb78) at gears.c:405</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>