<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 - Far Cry 2 (wine) crashes on level load"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97901">97901</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Far Cry 2 (wine) crashes on level load
          </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>major
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bartos.petr@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,
on Intel HD Graphics 5500 (Broadwell GT2) with with git version of mesa
(installed from <a href="https://copr.fedorainfracloud.org/coprs/griever/mesa-git/">https://copr.fedorainfracloud.org/coprs/griever/mesa-git/</a>) I
found problem with Far Cry 2. Game starts, I can navigate menus, however game
crashes on loading screen. In console there is either:

err:d3d:wined3d_debug_callback 0xa6d7670: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D"

many times or:

err:d3d:wined3d_debug_callback 0xa9189a8: "GL_OUT_OF_MEMORY in
glMapBufferRange(map failed)

many times. with INTEL_DEBUG=perf I see many:

SIMD16 shader failed to compile: FS compile failed: Failure to register
allocate.  Reduce number of live scalar values to avoid this.
Multi-LOD fast clear - giving up (1024x2048x11).

There are no errors in dmesg.

I did not play this game for some time, but I know for sure it was working on
my machine before with same graphics setting. When I set everything to low
details, game starts, but I did not yet found which setting is causing
troubles. When I set back all settings to previous values in game, I can play
for some time before game crashes.

Maybe it is somehow related to this
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - r600g: Diablo III Crashes After a few minutes"
   href="show_bug.cgi?id=74868">https://bugs.freedesktop.org/show_bug.cgi?id=74868</a> (leaking bytecode on shader
compile failure) or this (<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [regression] Far Cry (in Wine) hangs on level load"
   href="show_bug.cgi?id=29170">https://bugs.freedesktop.org/show_bug.cgi?id=29170</a>)</pre>
        </div>
      </p>


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

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