<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 - Bad performance with primusrun since Mesa 10.5.5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90791">90791</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bad performance with primusrun since Mesa 10.5.5
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.6
          </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>anakin.cs@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Since Mesa 10.5.5 I am getting a quite bad performance with primusrun on my
laptop to make use of the Nvidia card.
I've tested on CS GO and CS 1.6.

On CS GO, I used to have around 130 FPS, now I have around 80-90 FPS with drops
below 60 which cause some stutters/mouse lag.
On CS 1.6, I have around 80-90 FPS with the nvidia card and 150+ with the intel
card, so there is definitely a problem.

Here is the bug report on primus bug tracker:
<a href="https://github.com/amonakov/primus/issues/170">https://github.com/amonakov/primus/issues/170</a>

Setting PRIMUS_UPLOAD to 1 seem to boost the performance, but not as much as
before. Here is what the primus doc says:
"0: autodetect, 1: textures, 2: PBO/glDrawPixels (needs Mesa-10.1+)"

This *may* be related to this commit:
<a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=716b5f7cbe9cb7611d593f170a98facef58e3d0a">http://cgit.freedesktop.org/mesa/mesa/commit/?id=716b5f7cbe9cb7611d593f170a98facef58e3d0a</a>

I have a Intel Core i7 4702MQ CPU.</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>