[Bug 68524] radeonsi with glamor has very poor performance with primitives drawing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 19:03:15 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=68524

--- Comment #27 from Michel Dänzer <michel at daenzer.net> ---
Created attachment 91804
  --> https://bugs.freedesktop.org/attachment.cgi?id=91804&action=edit
glamor: Reinstate wrappers to make software fallbacks a  little less
inefficient

(In reply to comment #25)
> It's not amazingly fast this way, but it is a 10x performance improvement.

That's a nice improvement in performance, but it's still an order of magnitude
slower than EXA, so I feel it would be better to either go directly for
full-blown shader-based acceleration of diagonal lines, or to work on improving
the performance of software fallbacks in general.

For the latter, this patch could serve as a starting point. It basically
reinstates the glamor wrappers removed in
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=a60d2152e928a7011fc7c44a885a34c3cdd4f0fe
in order to allow direct access to pixmaps for software fallbacks.

Known caveats: Tiling needs to be disabled, as software fallbacks may now
access the GPU buffers directly. Trying to start xfwm4 crashes the X server for
me.

But I was able to run gtkperf on a 'naked' X server with this patch, and it
looks like its performance is improved pretty much across the board. The lines
and circles tests still take double-digit seconds though, just to prevent
everyone from getting too excited.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140110/8373b7cf/attachment.html>


More information about the xorg-driver-ati mailing list