<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 - radeon buffer allocation failure during startup of Factorio"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100242">100242</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeon buffer allocation failure during startup of Factorio
          </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/Gallium/r600
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tnmailinglists@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=130277" name="attach_130277" title="terminal output when running the executable">attachment 130277</a> <a href="attachment.cgi?id=130277&action=edit" title="terminal output when running the executable">[details]</a></span>
terminal output when running the executable

The game Factorio crashes during startup with the following message printed on
the CLI:
radeon: Failed to allocate a buffer:
radeon:    size      : 268435456 bytes
radeon:    alignment : 16384 bytes
radeon:    domains   : 4
radeon:    flags     : 20

The crash occurs during the pre-game loading procedure, before reaching the
main menu, at the same spot every time. I'm on Lubuntu 16.10 using the
up-to-date drivers provided by
<a href="https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers">https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers</a> , my GPU is a
Radeon HD 4670 with AGP. I believe this is a driver issue since the game starts
up normally with 16.10's default drivers (12.0.6). I unfortunately cannot
provide a specific date or build for when this behavior started occurring, but
it has been happening for several months.

Of note is that the demo version provided by the developer on their website
does not have this problem and starts up fine.

Attached are the terminal output, an strace and a gdb bt log.</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>