<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 - Slow performance using glDrawElementsBaseVertex"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105256">105256</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Slow performance using glDrawElementsBaseVertex
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.3
          </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/r600
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>logan@bacoosta.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Original application bug report here:

<a href="https://github.com/gonetz/GLideN64/issues/1561">https://github.com/gonetz/GLideN64/issues/1561</a>

This bug happens using mupen64plus (N64 emulator) and the GLideN64 graphics
plugin.

The application uses VBO streaming
(<a href="https://www.khronos.org/opengl/wiki/Buffer_Object_Streaming">https://www.khronos.org/opengl/wiki/Buffer_Object_Streaming</a>) using
ARB_buffer_storage to upload the VBO data.

Multiple users that when using Mesa + r600 driver, the performance was abysmal.
It turns out that converting the glDrawElementsBaseVertex calls to glDrawArrays
fixed the problem.

You can see the commit that fixed the problem here:

<a href="https://github.com/loganmc10/GLideN64/commit/9bcfa67d9550c7f1cd4ba72f657facd66a4d27e4">https://github.com/loganmc10/GLideN64/commit/9bcfa67d9550c7f1cd4ba72f657facd66a4d27e4</a></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>