[HSW] Extremely low x11perf putimage score with glamor
Submitted by Clemens Eisserer
Assigned to Intel 3D Bugs Mailing List
Description
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
Version: 12.0