How does one check whether XRENDER is accelerated?

Samium Gromoff _deepfire at mail.ru
Wed Feb 8 18:19:37 PST 2006


> i can't say for others - but i have written 2 tools that basically give u a
> reasonable idea of overall render accel
> 
> http://www.rasterman.com/files/render_bench.tar.gz
> 
> is an old benchmarker that pits xrender against software equivalent rendering.
> it gives one view of gneral render performance as opposed to "diy" in software
> client-side.
> 
> another (more recent and more expansive) is evas - it has full xrender suport
> as well as software rendering, opengl, directfb, etc. etc.
> 
> you basically can just tun the test program (that sits and benchmrks each
> engine) and see the benchmark values u get at the end.
> 
> http://enlightenment.freedesktop.org/fetch.php?file=evas-0.9.9.023.tar.gz
> 
> - just bild, install then run the evas_*_test programs and they will spew out a
> benchmark to stdout. the higher the value - the faster the engine's rendering.

Thanks to the first tool it became painfully obvious that i don`t have
accelerated XRENDER, for some obscure reason:

Available XRENDER filters:
nearest
bilinear
convolution
fast
good
best
Setup...
*** ROUND 1 ***
---------------------------------------------------------------
Test: Test Xrender doing non-scaled Over blends
Time: 23.566 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing non-scaled Over blends
Time: 0.672 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing non-scaled Over blends
Time: 0.399 sec.
*** ROUND 2 ***
---------------------------------------------------------------
Test: Test Xrender doing 1/2 scaled Over blends
Time: 5.847 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 1/2 scaled Over blends
Time: 0.561 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 1/2 scaled Over blends
Time: 0.140 sec.
*** ROUND 3 ***
---------------------------------------------------------------
Test: Test Xrender doing 2* smooth scaled Over blends
Time: 99.933 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 2* smooth scaled Over blends
Time: 15.486 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 2* smooth scaled Over blends
Time: 5.687 sec.
*** ROUND 4 ***
---------------------------------------------------------------
Test: Test Xrender doing 2* nearest scaled Over blends
Time: 91.445 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 2* nearest scaled Over blends
Time: 7.758 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 2* nearest scaled Over blends
Time: 1.910 sec.
*** ROUND 6 ***
---------------------------------------------------------------
Test: Test Xrender doing general nearest scaled Over blends
Time: 202.330 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general nearest scaled Over blends
Time: 16.331 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general nearest scaled Over blends
Time: 3.517 sec.
*** ROUND 7 ***
---------------------------------------------------------------
Test: Test Xrender doing general smooth scaled Over blends
Time: 221.516 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general smooth scaled Over blends
Time: 34.183 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general smooth scaled Over blends
Time: 18.540 sec.


The hardware is amd x86-64 3000+, radeon X800
The software is XOrg 7.0, ATI drivers version 8.21.7




More information about the xorg mailing list