<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 --- - [regression] Weston blocks indefinitely in x11_output_wait_for_map() on raw X server"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61133">61133</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression] Weston blocks indefinitely in x11_output_wait_for_map() on raw X server
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>ullysses.a.eoff@intel.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>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When launching Weston on a raw X server (i.e. no window/display manager),
Weston blocks indefinitely in x11_output_wait_for_map and never maps onto the X
display:

(gdb) bt
#0  0x00000037632e8bdf in poll () from /lib64/libc.so.6
#1  0x0000003767209f22 in ?? () from /lib64/libxcb.so.1
#2  0x000000376720b6af in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f72e8e20087 in x11_output_wait_for_map (c=0x7def20, output=0x8196f0)
at compositor-x11.c:510
#4  0x00007f72e8e20d12 in x11_compositor_create_output (c=0x7def20, x=0, y=0,
width=1024, height=640,
    fullscreen=0, no_input=0, configured_name=0x0, transform=0) at
compositor-x11.c:772
#5  0x00007f72e8e22cc7 in x11_compositor_create (display=0x7d9aa0,
fullscreen=0, no_input=0, use_pixman=0,
    argc=1, argv=0x7fff9715a0d8, config_file=0x7da400
"/home/uartie/.config/weston.ini") at compositor-x11.c:1423
#6  0x00007f72e8e2348c in backend_init (display=0x7d9aa0, argc=1,
argv=0x7fff9715a0d8,
    config_file=0x7da400 "/home/uartie/.config/weston.ini") at
compositor-x11.c:1561
#7  0x00000000004120ae in main (argc=1, argv=0x7fff9715a0d8) at
compositor.c:3422

It appears Weston never receives a XCB_CONFIGURE_NOTIFY event on a raw X
server.  It runs fine under a gnome X session.

Steps:
1. X -noreset :666 & sleep 1 && DISPLAY=:666 weston

First bad commit is:
<a href="http://cgit.freedesktop.org/wayland/weston/commit/?id=8e7adbff68d0ecc2b5124279f7c45cbd75feb2d1">http://cgit.freedesktop.org/wayland/weston/commit/?id=8e7adbff68d0ecc2b5124279f7c45cbd75feb2d1</a></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>