<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 - Extremly low x11perf putimage score with glamor on i956"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98549">98549</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Extremly low x11perf putimage score with glamor on i956
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>12.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

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

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When using glamor on top of the i965 driver (haswell GPU), the x11perf
-putimage10 score is extremly low, while shmput10 is quite fast:

      20000 trep @   1.2639 msec (   791.0/sec): PutImage 10x10 square
   14000000 trep @   0.0019 msec (537000.0/sec): ShmPutImage 10x10 square

a netbook based on AMD's mullins chip (low-power jaguar cores) is fast for both
operations:

     800000 trep @   0.0344 msec ( 29000.0/sec): PutImage 10x10 square
     800000 trep @   0.0356 msec ( 28100.0/sec): ShmPutImage 10x10 square

This issue slows down Java's antialiased rendering a lot (it doesn't use
trapezoids for AA geometry, instead it uploads 32x32 coverage masks using
XPutImage and later uses this data as mask for XRenderComposite). 

As more and more distributions switch to glamor directly or indirectly
(XWayland or X+modesetting) it would be great to see this fixed.


Laptop:

  Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Haswell Mobile  (0xa16)
    Version: 12.0.3
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0</pre>
        </div>
      </p>


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

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