<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - anv: Don't fail vkEnumeratePhysicalDevices due to non-requested winsys"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104039">104039</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>anv: Don't fail vkEnumeratePhysicalDevices due to non-requested winsys
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chadversary@chromium.org
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>If either wsi_wl_init_wsi() or wsi_x11_init_wsi() fail during
anv_EnumeratePhysicalDevices(), then anv_EnumeratePhysicalDevices() fails, even
if the user did no ask for either winsys at vkCreateInstance. In particular, if
the user asked for no winsys at all, then anv_EnumeratePhysicalDevices() still
fails if winsys initialization fails.

A user requests winsys support by requesting instance extensions
VK_KHR_{wayland,xlib,xcb}_surface at time of vkCreateInstance.

We should wait until jekstrand's big vulkan/wsi series lands before fixing
this.

(I observed this bug during code review, by reading code but not running code.
So maybe this is NOTABUG.)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>