<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 - GTA V on Wine: LLVM ERROR after loading screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101733">101733</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GTA V on Wine: LLVM ERROR after loading screen
          </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>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/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libcg@protonmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

I'm currently trying to run GTA V on Wine with radeonsi. After forcing a
4.5compat context, GLSL 450 and commenting out this block
<a href="https://github.com/mesa3d/mesa/blob/2c9ac0bc6377800ac5110c781dfabea68efa79a5/src/mesa/main/getstring.c#L140">https://github.com/mesa3d/mesa/blob/2c9ac0bc6377800ac5110c781dfabea68efa79a5/src/mesa/main/getstring.c#L140</a>
the game boots. I'm eventually able to see the loading screen after applying a
Wine workaround.

However, when the game actually starts, I'm hitting this error:

<span class="quote">> LLVM ERROR: Cannot select: 0x7f1c482ed398: f32 = sign_extend 0x7f1c482ecd18
>    0x7f1c482ecd18: i1,ch = CopyFromReg 0x7f1c48299c08, Register:i1 %vreg62
>    0x7f1c48159298: i1 = Register %vreg62
> In function: main</span >

Here's the apitrace: <a href="http://dl.free.fr/mjmArhBAy">http://dl.free.fr/mjmArhBAy</a>
None of the workarounds I mentioned are needed to trigger the bug. `apitrace
replay wine64-preloader.trace` should work with mesa-git.

Thanks,
libcg

Hardware:
- Ryzen 1700X
- R9 Fury

Software:
- GTA V v1.36
- wine-staging-nine 2.11
- mesa 17.2.0-devel 753a7bbc84
- llvm 307436
- linux 4.12</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>