<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 - Invalid argument in anv_ioctl called from anv_physical_device_init"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95537">95537</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Invalid argument  in anv_ioctl called from anv_physical_device_init
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>xonar.leroux@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When calling vkEnumeratePhysicalDevices it ends up failing at the ioctl call
within anv_physical_device_init. It correctly opens the device
/dev/dri/renderD128, but then fails with invalid argument when it tries to get
the chipset id.

This is run on a i7-3630QM with a HD4000. There is also a GTX 675MX present,
but it's not used.

Im running an updated Arch-Linux system (23 May 2016)

I build mesa with debug enabled and used the intel_vulkan library, but when
trying to run any vulkan application (like vulkaninfo) it fails with 

anv_device.c:77: failed to get chipset id: Invalid argument
(VK_ERROR_INITIALIZATION_FAILED)</pre>
        </div>
      </p>


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

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