<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: DOOM 2016 and Wolfenstein II:The New Colossus crash with GPU hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104809">104809</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>anv: DOOM 2016 and Wolfenstein II:The New Colossus crash with GPU hang
          </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>d.spitznagel@goodbytez.de
          </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>Hello devs,

both games crash with GPU hang.
First I thought its and wine issue.
I use wine-vulkan from...
<a href="https://github.com/roderickc/wine-vulkan">https://github.com/roderickc/wine-vulkan</a>

I have reported my issues here...
<a href="https://github.com/roderickc/wine-vulkan/issues/6">https://github.com/roderickc/wine-vulkan/issues/6</a>

What I've found out is that both games to not run with mesa higher that 17.1
because of commit 5dd96b1156e25e10d649d49377df02763fcd45a5.

anv: check support for enabled features in vkCreateDevice()
>From Vulkan spec, 4.2.1. "Device Creation":

  "vkCreateDevice verifies that extensions and features requested in
   the ppEnabledExtensionNames and pEnabledFeatures members of
   pCreateInfo, respectively, are supported by the implementation."

Signed-off-by: Samuel Iglesias Gonsálvez <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>>
Reviewed-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@gmail.com">lionel.g.landwerlin@gmail.com</a>>

Simply reverting this commit in every mesa version higher that 17.2 makes both
games run.
Otherwise you get "FATAL ERROR: vkCreateDevice failed with error
(VK_ERROR_FEATURE_NOT_PRESENT)" error on launch.

Wolfenstein II has a free demo on steam you can test with.
There the GPU crash occurs directly when use start a campaign.

With DOOM 2016 the GPU crash happens during gameplay.

The gpu hangs/crashes are always reproducible and happen also in DOOM 2016 with
mesa version lower than 17.2 where commit
5dd96b1156e25e10d649d49377df02763fcd45a5 isn't there.

If you need the gpu crash dumps please let me know.</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>