Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-03-08, 10:30 PM   #1
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Exclamation xrenderbenchmark - The Nvidia XRender not fully accelerated?

I have just run xrenderbenchmark http://people.freedesktop.org/~zack/...chmark.tar.bz2. The results are not good looking for some tests on my Geforce 6150. They look slow like software fallback. Someone tested this benchmark with Intel, ATI or other GPU? Some tests which are done are not visible on screen...


Code:
X Server from: The X.Org Foundation, Release: 10400000
        Xrender version: 0.10
---------------------------------------------
Test: PictOpClear
                 Plain............................................ Time: 0.041 sec.
                 Plain With Alpha................................. Time: 0.034 sec.
                 Transformation................................... Time: 0.052 sec.
                 Transformation/Bilinear filter................... Time: 0.052 sec.
Test: PictOpSrc
                 Plain............................................ Time: 0.018 sec.
                 Plain With Alpha................................. Time: 0.018 sec.
                 Transformation................................... Time: 0.373 sec.
                 Transformation/Bilinear filter................... Time: 0.780 sec.
Test: PictOpDst
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpOver
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.024 sec.
                 Transformation................................... Time: 0.207 sec.
                 Transformation/Bilinear filter................... Time: 0.694 sec.
Test: PictOpOverReverse
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpIn
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.028 sec.
                 Transformation................................... Time: 0.218 sec.
                 Transformation/Bilinear filter................... Time: 0.700 sec.
Test: PictOpInReverse
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.025 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpOut
                 Plain............................................ Time: 0.028 sec.
                 Plain With Alpha................................. Time: 0.027 sec.
                 Transformation................................... Time: 0.060 sec.
                 Transformation/Bilinear filter................... Time: 0.050 sec.
Test: PictOpOutReverse
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.034 sec.
                 Transformation................................... Time: 0.063 sec.
                 Transformation/Bilinear filter................... Time: 0.049 sec.
Test: PictOpAtop
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.034 sec.
                 Transformation................................... Time: 0.222 sec.
                 Transformation/Bilinear filter................... Time: 0.695 sec.
Test: PictOpAtopReverse
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.024 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpXor
                 Plain............................................ Time: 0.028 sec.
                 Plain With Alpha................................. Time: 0.034 sec.
                 Transformation................................... Time: 0.063 sec.
                 Transformation/Bilinear filter................... Time: 0.050 sec.
Test: PictOpAdd
                 Plain............................................ Time: 0.023 sec.
                 Plain With Alpha................................. Time: 0.037 sec.
                 Transformation................................... Time: 5.227 sec.
                 Transformation/Bilinear filter................... Time: 5.737 sec.
Test: PictOpSaturate
                 Plain............................................ Time: 6.075 sec.
                 Plain With Alpha................................. Time: 6.069 sec.
                 Transformation................................... Time: 6.207 sec.
                 Transformation/Bilinear filter................... Time: 6.763 sec.
Test: PictOpDisjointClear
                 Plain............................................ Time: 0.031 sec.
                 Plain With Alpha................................. Time: 0.038 sec.
                 Transformation................................... Time: 0.060 sec.
                 Transformation/Bilinear filter................... Time: 0.051 sec.
Test: PictOpDisjointSrc
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.027 sec.
                 Transformation................................... Time: 0.218 sec.
                 Transformation/Bilinear filter................... Time: 0.706 sec.
Test: PictOpDisjointDst
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpDisjointOver
                 Plain............................................ Time: 4.340 sec.
                 Plain With Alpha................................. Time: 4.645 sec.
                 Transformation................................... Time: 4.525 sec.
                 Transformation/Bilinear filter................... Time: 5.003 sec.
Test: PictOpDisjointOverReverse
                 Plain............................................ Time: 4.638 sec.
                 Plain With Alpha................................. Time: 4.633 sec.
                 Transformation................................... Time: 4.760 sec.
                 Transformation/Bilinear filter................... Time: 5.296 sec.
Test: PictOpDisjointIn
                 Plain............................................ Time: 4.853 sec.
                 Plain With Alpha................................. Time: 4.825 sec.
                 Transformation................................... Time: 4.986 sec.
                 Transformation/Bilinear filter................... Time: 5.494 sec.
Test: PictOpDisjointInReverse
                 Plain............................................ Time: 4.823 sec.
                 Plain With Alpha................................. Time: 4.849 sec.
                 Transformation................................... Time: 4.958 sec.
                 Transformation/Bilinear filter................... Time: 5.472 sec.
Test: PictOpDisjointOut
                 Plain............................................ Time: 4.856 sec.
                 Plain With Alpha................................. Time: 4.796 sec.
                 Transformation................................... Time: 4.997 sec.
                 Transformation/Bilinear filter................... Time: 5.491 sec.
Test: PictOpDisjointOutReverse
                 Plain............................................ Time: 4.810 sec.
                 Plain With Alpha................................. Time: 4.837 sec.
                 Transformation................................... Time: 4.996 sec.
                 Transformation/Bilinear filter................... Time: 5.443 sec.
Test: PictOpDisjointAtop
                 Plain............................................ Time: 4.964 sec.
                 Plain With Alpha................................. Time: 5.009 sec.
                 Transformation................................... Time: 5.187 sec.
                 Transformation/Bilinear filter................... Time: 5.684 sec.
Test: PictOpDisjointAtopReverse
                 Plain............................................ Time: 5.047 sec.
                 Plain With Alpha................................. Time: 5.082 sec.
                 Transformation................................... Time: 5.196 sec.
                 Transformation/Bilinear filter................... Time: 5.669 sec.
Test: PictOpDisjointXor
                 Plain............................................ Time: 5.057 sec.
                 Plain With Alpha................................. Time: 5.029 sec.
                 Transformation................................... Time: 5.241 sec.
                 Transformation/Bilinear filter................... Time: 5.665 sec.
Test: PictOpConjointClear
                 Plain............................................ Time: 0.031 sec.
                 Plain With Alpha................................. Time: 0.038 sec.
                 Transformation................................... Time: 0.059 sec.
                 Transformation/Bilinear filter................... Time: 0.050 sec.
Test: PictOpConjointSrc
                 Plain............................................ Time: 0.017 sec.
                 Plain With Alpha................................. Time: 0.028 sec.
                 Transformation................................... Time: 0.220 sec.
                 Transformation/Bilinear filter................... Time: 0.689 sec.
Test: PictOpConjointDst
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.001 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpConjointOver
                 Plain............................................ Time: 4.593 sec.
                 Plain With Alpha................................. Time: 4.835 sec.
                 Transformation................................... Time: 4.798 sec.
                 Transformation/Bilinear filter................... Time: 5.290 sec.
Test: PictOpConjointOverReverse
                 Plain............................................ Time: 4.625 sec.
                 Plain With Alpha................................. Time: 4.636 sec.
                 Transformation................................... Time: 4.779 sec.
                 Transformation/Bilinear filter................... Time: 5.296 sec.
Test: PictOpConjointIn
                 Plain............................................ Time: 4.628 sec.
                 Plain With Alpha................................. Time: 4.615 sec.
                 Transformation................................... Time: 4.773 sec.
                 Transformation/Bilinear filter................... Time: 5.294 sec.
Test: PictOpConjointInReverse
                 Plain............................................ Time: 4.576 sec.
                 Plain With Alpha................................. Time: 4.760 sec.
                 Transformation................................... Time: 4.798 sec.
                 Transformation/Bilinear filter................... Time: 5.237 sec.
Test: PictOpConjointOut
                 Plain............................................ Time: 4.590 sec.
                 Plain With Alpha................................. Time: 4.617 sec.
                 Transformation................................... Time: 4.845 sec.
                 Transformation/Bilinear filter................... Time: 5.289 sec.
Test: PictOpConjointOutReverse
                 Plain............................................ Time: 4.710 sec.
                 Plain With Alpha................................. Time: 4.830 sec.
                 Transformation................................... Time: 4.866 sec.
                 Transformation/Bilinear filter................... Time: 5.236 sec.
Test: PictOpConjointAtop
                 Plain............................................ Time: 4.641 sec.
                 Plain With Alpha................................. Time: 4.798 sec.
                 Transformation................................... Time: 4.781 sec.
                 Transformation/Bilinear filter................... Time: 5.287 sec.
Test: PictOpConjointAtopReverse
                 Plain............................................ Time: 4.661 sec.
                 Plain With Alpha................................. Time: 4.811 sec.
                 Transformation................................... Time: 4.753 sec.
                 Transformation/Bilinear filter................... Time: 5.294 sec.
Test: PictOpConjointXor
                 Plain............................................ Time: 4.699 sec.
                 Plain With Alpha................................. Time: 4.866 sec.
                 Transformation................................... Time: 4.842 sec.
                 Transformation/Bilinear filter................... Time: 5.359 sec.
zbiggy is offline   Reply With Quote
Old 02-04-08, 04:47 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

Let others execute such tests if they interest. The problem is that your Geforce 6150 uses system memory as video memory which is VERY slow.
Thunderbird is offline   Reply With Quote
Old 02-04-08, 08:32 AM   #3
Linuxhippy
Registered User
 
Join Date: Feb 2004
Posts: 585
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

@Thunderbird: indeed the 6150 is not a good test-platform, because its hardware is quite slow and also the read-back cases is not as expensive as for PCI-E boards. However even on this board the tester can see milliseconds vs. seconds results for hardware/software.

I also ran the test on my 945GM based laptop (using XAA), and, as expected, results are pretty bad. I hope that EXA will help here, and not sacrifice real-world performance as much as the current EXA-intel drivers (without batchbuffer patch) do.

Code:
[ce@localhost xrenderbenchmark]$ ./xrenderbenchmark
X Server from: The X.Org Foundation, Release: 10300000
        Xrender version: 0.10
---------------------------------------------
Test: PictOpClear
                 Plain............................................ Time: 0.061 sec.
                 Plain With Alpha................................. Time: 0.066 sec.
                 Transformation................................... Time: 0.060 sec.
                 Transformation/Bilinear filter................... Time: 0.050 sec.
Test: PictOpSrc
                 Plain............................................ Time: 0.032 sec.
                 Plain With Alpha................................. Time: 0.039 sec.
                 Transformation................................... Time: 0.205 sec.
                 Transformation/Bilinear filter................... Time: 0.548 sec.
Test: PictOpDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOver
                 Plain............................................ Time: 0.034 sec.
                 Plain With Alpha................................. Time: 0.955 sec.
                 Transformation................................... Time: 0.203 sec.
                 Transformation/Bilinear filter................... Time: 0.544 sec.
Test: PictOpOverReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpIn
                 Plain............................................ Time: 0.034 sec.
                 Plain With Alpha................................. Time: 0.041 sec.
                 Transformation................................... Time: 0.206 sec.
                 Transformation/Bilinear filter................... Time: 0.548 sec.
Test: PictOpInReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.792 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOut
                 Plain............................................ Time: 0.040 sec.
                 Plain With Alpha................................. Time: 0.040 sec.
                 Transformation................................... Time: 0.040 sec.
                 Transformation/Bilinear filter................... Time: 0.041 sec.
Test: PictOpOutReverse
                 Plain............................................ Time: 0.039 sec.
                 Plain With Alpha................................. Time: 0.777 sec.
                 Transformation................................... Time: 0.038 sec.
                 Transformation/Bilinear filter................... Time: 0.039 sec.
Test: PictOpAtop
                 Plain............................................ Time: 0.033 sec.
                 Plain With Alpha................................. Time: 0.926 sec.
                 Transformation................................... Time: 0.202 sec.
                 Transformation/Bilinear filter................... Time: 0.539 sec.
Test: PictOpAtopReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.781 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpXor
                 Plain............................................ Time: 0.042 sec.
                 Plain With Alpha................................. Time: 0.775 sec.
                 Transformation................................... Time: 0.037 sec.
                 Transformation/Bilinear filter................... Time: 0.039 sec.
Test: PictOpAdd
                 Plain............................................ Time: 0.767 sec.
                 Plain With Alpha................................. Time: 0.748 sec.
                 Transformation................................... Time: 0.924 sec.
                 Transformation/Bilinear filter................... Time: 1.255 sec.
Test: PictOpSaturate
                 Plain............................................ Time: 0.828 sec.
                 Plain With Alpha................................. Time: 0.816 sec.
                 Transformation................................... Time: 0.982 sec.
                 Transformation/Bilinear filter................... Time: 1.302 sec.
Test: PictOpDisjointClear
                 Plain............................................ Time: 0.038 sec.
                 Plain With Alpha................................. Time: 0.037 sec.
                 Transformation................................... Time: 0.037 sec.
                 Transformation/Bilinear filter................... Time: 0.038 sec.
Test: PictOpDisjointSrc
                 Plain............................................ Time: 0.032 sec.
                 Plain With Alpha................................. Time: 0.037 sec.
                 Transformation................................... Time: 0.198 sec.
                 Transformation/Bilinear filter................... Time: 0.531 sec.
Test: PictOpDisjointDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpDisjointOver
                 Plain............................................ Time: 0.744 sec.
                 Plain With Alpha................................. Time: 0.965 sec.
                 Transformation................................... Time: 0.914 sec.
                 Transformation/Bilinear filter................... Time: 1.244 sec.
Test: PictOpDisjointOverReverse
                 Plain............................................ Time: 0.906 sec.
                 Plain With Alpha................................. Time: 0.925 sec.
                 Transformation................................... Time: 1.106 sec.
                 Transformation/Bilinear filter................... Time: 1.396 sec.
Test: PictOpDisjointIn
                 Plain............................................ Time: 1.118 sec.
                 Plain With Alpha................................. Time: 1.036 sec.
                 Transformation................................... Time: 1.210 sec.
                 Transformation/Bilinear filter................... Time: 1.524 sec.
Test: PictOpDisjointInReverse
                 Plain............................................ Time: 1.014 sec.
                 Plain With Alpha................................. Time: 1.024 sec.
                 Transformation................................... Time: 1.175 sec.
                 Transformation/Bilinear filter................... Time: 1.512 sec.
Test: PictOpDisjointOut
                 Plain............................................ Time: 1.030 sec.
                 Plain With Alpha................................. Time: 1.041 sec.
                 Transformation................................... Time: 1.184 sec.
                 Transformation/Bilinear filter................... Time: 1.522 sec.
Test: PictOpDisjointOutReverse
                 Plain............................................ Time: 1.007 sec.
                 Plain With Alpha................................. Time: 1.031 sec.
                 Transformation................................... Time: 1.170 sec.
                 Transformation/Bilinear filter................... Time: 1.492 sec.
Test: PictOpDisjointAtop
                 Plain............................................ Time: 1.194 sec.
                 Plain With Alpha................................. Time: 1.234 sec.
                 Transformation................................... Time: 1.363 sec.
                 Transformation/Bilinear filter................... Time: 1.675 sec.
Test: PictOpDisjointAtopReverse
                 Plain............................................ Time: 1.190 sec.
                 Plain With Alpha................................. Time: 1.198 sec.
                 Transformation................................... Time: 1.337 sec.
                 Transformation/Bilinear filter................... Time: 1.688 sec.
Test: PictOpDisjointXor
                 Plain............................................ Time: 1.176 sec.
                 Plain With Alpha................................. Time: 1.198 sec.
                 Transformation................................... Time: 1.324 sec.
                 Transformation/Bilinear filter................... Time: 1.678 sec.
Test: PictOpConjointClear
                 Plain............................................ Time: 0.034 sec.
                 Plain With Alpha................................. Time: 0.038 sec.
                 Transformation................................... Time: 0.038 sec.
                 Transformation/Bilinear filter................... Time: 0.037 sec.
Test: PictOpConjointSrc
                 Plain............................................ Time: 0.031 sec.
                 Plain With Alpha................................. Time: 0.038 sec.
                 Transformation................................... Time: 0.201 sec.
                 Transformation/Bilinear filter................... Time: 0.534 sec.
Test: PictOpConjointDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpConjointOver
                 Plain............................................ Time: 0.975 sec.
                 Plain With Alpha................................. Time: 1.140 sec.
                 Transformation................................... Time: 1.126 sec.
                 Transformation/Bilinear filter................... Time: 1.445 sec.
Test: PictOpConjointOverReverse
                 Plain............................................ Time: 0.968 sec.
                 Plain With Alpha................................. Time: 0.960 sec.
                 Transformation................................... Time: 1.123 sec.
                 Transformation/Bilinear filter................... Time: 1.459 sec.
Test: PictOpConjointIn
                 Plain............................................ Time: 0.919 sec.
                 Plain With Alpha................................. Time: 0.888 sec.
                 Transformation................................... Time: 1.082 sec.
                 Transformation/Bilinear filter................... Time: 1.405 sec.
Test: PictOpConjointInReverse
                 Plain............................................ Time: 0.928 sec.
                 Plain With Alpha................................. Time: 1.033 sec.
                 Transformation................................... Time: 1.079 sec.
                 Transformation/Bilinear filter................... Time: 1.400 sec.
Test: PictOpConjointOut
                 Plain............................................ Time: 0.906 sec.
                 Plain With Alpha................................. Time: 0.908 sec.
                 Transformation................................... Time: 1.080 sec.
                 Transformation/Bilinear filter................... Time: 1.416 sec.
Test: PictOpConjointOutReverse
                 Plain............................................ Time: 0.935 sec.
                 Plain With Alpha................................. Time: 1.045 sec.
                 Transformation................................... Time: 1.088 sec.
                 Transformation/Bilinear filter................... Time: 1.401 sec.
Test: PictOpConjointAtop
                 Plain............................................ Time: 0.980 sec.
                 Plain With Alpha................................. Time: 1.091 sec.
                 Transformation................................... Time: 1.145 sec.
                 Transformation/Bilinear filter................... Time: 1.583 sec.
Test: PictOpConjointAtopReverse
                 Plain............................................ Time: 1.002 sec.
                 Plain With Alpha................................. Time: 1.074 sec.
                 Transformation................................... Time: 1.141 sec.
                 Transformation/Bilinear filter................... Time: 1.493 sec.
Test: PictOpConjointXor
                 Plain............................................ Time: 0.984 sec.
                 Plain With Alpha................................. Time: 1.100 sec.
                 Transformation................................... Time: 1.164 sec.
                 Transformation/Bilinear filter................... Time: 1.493 sec.
Linuxhippy is offline   Reply With Quote
Old 02-04-08, 01:19 PM   #4
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

Quote:
Originally Posted by Thunderbird
Let others execute such tests if they interest. The problem is that your Geforce 6150 uses system memory as video memory which is VERY slow.
@Thunderbird: Compare my results with Linuxhippy's. On his Intel 945GM based laptop (using XAA not EXA yet) the most expensive tests are done in less than 1.6 second. On my Geforce 6150 it takes up to 6.7 seconds. I have just installed kde4, qt4 and going to use firefox3. All these new software heavily uses XRender extension. I'm a little bit worried about the 2D performance.

I appreciate very much Nvidia's great progress of XRender acceleration in 169 driver series and impressive results of less demanding render_bench. But this xrenderbenchmark looks to do more detailed testing and when I look at the results in my opinion some obstacles in nvidia driver may be still unrecognized/present.

It would be very interesting to learn if this slower performance is hardware limitation of chipset/memory when compared to intel (my geforce uses 4x256MB DDR333) or driver limitation. Anyone with discrete Geforce6,7,8 welcome to send results :-). Users of ATI/Intel/S3 are welcome too.

When we analyze GUI performance integrated GPU may not be limitation. Remember bus access pattern issue. Integrated GPU uses main memory for VRAM so image data do not leave RAM chip. For discrete cards everything must be pushed via bus.

My mobo is Asus A8N-VM CSM (Athlon64 3000+ socket 939, Geforce6150/nf430)
zbiggy is offline   Reply With Quote
Old 02-04-08, 03:05 PM   #5
Linuxhippy
Registered User
 
Join Date: Feb 2004
Posts: 585
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

What I've seen NVidia's driver or hardware is not as optimized for the shared memory case as Intels hardware is. When it comes to software-fallbacks the 945GM is quite "fast" compared to other integrated gpus.

On the other side I have to admit that my hardware is quite powerful (Core2Duo 4mb cache, 533mhz DDR2).

lg Clemens
Linuxhippy is offline   Reply With Quote
Old 02-04-08, 04:35 PM   #6
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

OK. Thanks. So only other results can clear up the situation. Especially those from discrete GPUs or powerful configuration together with integrated GPU.
zbiggy is offline   Reply With Quote
Old 02-05-08, 12:40 PM   #7
ZeroDivide
Registered User
 
Join Date: Sep 2004
Posts: 14
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

Here are the results for my 8800 gts 320. I've done lots of benchmarks after nvidia announced their xrender improvements, and it seems to me that while they improved a few xrender operations, they still have a long long way to go if it is to be faster then plain old software rendering.

If you want to see if the slow rendering is due to some kind of hardware limitation, you could always boot into *gasp* windows, and run some gdi+ benchmarks. I'm not exactly sure how to do this and I know the benchmark wouldn't match up exactly with xrender, but it would be good enough to get an idea at least.

Code:
X Server from: The X.Org Foundation, Release: 10400000
        Xrender version: 0.10
---------------------------------------------
Test: PictOpClear
                 Plain............................................ Time: 0.039 sec.
                 Plain With Alpha................................. Time: 0.033 sec.
                 Transformation................................... Time: 0.423 sec.
                 Transformation/Bilinear filter................... Time: 0.422 sec.
Test: PictOpSrc
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.006 sec.
                 Transformation................................... Time: 0.592 sec.
                 Transformation/Bilinear filter................... Time: 1.029 sec.
Test: PictOpDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOver
                 Plain............................................ Time: 0.006 sec.
                 Plain With Alpha................................. Time: 0.006 sec.
                 Transformation................................... Time: 0.597 sec.
                 Transformation/Bilinear filter................... Time: 1.036 sec.
Test: PictOpOverReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpIn
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.584 sec.
                 Transformation/Bilinear filter................... Time: 1.034 sec.
Test: PictOpInReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOut
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.421 sec.
                 Transformation/Bilinear filter................... Time: 0.419 sec.
Test: PictOpOutReverse
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.424 sec.
                 Transformation/Bilinear filter................... Time: 0.421 sec.
Test: PictOpAtop
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.006 sec.
                 Transformation................................... Time: 0.586 sec.
                 Transformation/Bilinear filter................... Time: 1.021 sec.
Test: PictOpAtopReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.004 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpXor
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.419 sec.
                 Transformation/Bilinear filter................... Time: 0.415 sec.
Test: PictOpAdd
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 5.686 sec.
                 Transformation/Bilinear filter................... Time: 6.100 sec.
Test: PictOpSaturate
                 Plain............................................ Time: 5.843 sec.
                 Plain With Alpha................................. Time: 6.022 sec.
                 Transformation................................... Time: 5.900 sec.
                 Transformation/Bilinear filter................... Time: 6.364 sec.
Test: PictOpDisjointClear
                 Plain............................................ Time: 0.037 sec.
                 Plain With Alpha................................. Time: 0.040 sec.
                 Transformation................................... Time: 0.422 sec.
                 Transformation/Bilinear filter................... Time: 0.417 sec.
Test: PictOpDisjointSrc
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.580 sec.
                 Transformation/Bilinear filter................... Time: 1.033 sec.
Test: PictOpDisjointDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpDisjointOver
                 Plain............................................ Time: 5.543 sec.
                 Plain With Alpha................................. Time: 6.026 sec.
                 Transformation................................... Time: 5.671 sec.
                 Transformation/Bilinear filter................... Time: 6.059 sec.
Test: PictOpDisjointOverReverse
                 Plain............................................ Time: 5.750 sec.
                 Plain With Alpha................................. Time: 5.989 sec.
                 Transformation................................... Time: 5.972 sec.
                 Transformation/Bilinear filter................... Time: 6.377 sec.
Test: PictOpDisjointIn
                 Plain............................................ Time: 6.036 sec.
                 Plain With Alpha................................. Time: 6.227 sec.
                 Transformation................................... Time: 6.054 sec.
                 Transformation/Bilinear filter................... Time: 6.583 sec.
Test: PictOpDisjointInReverse
                 Plain............................................ Time: 5.909 sec.
                 Plain With Alpha................................. Time: 6.258 sec.
                 Transformation................................... Time: 6.162 sec.
                 Transformation/Bilinear filter................... Time: 6.519 sec.
Test: PictOpDisjointOut
                 Plain............................................ Time: 5.984 sec.
                 Plain With Alpha................................. Time: 6.094 sec.
                 Transformation................................... Time: 6.019 sec.
                 Transformation/Bilinear filter................... Time: 6.477 sec.
Test: PictOpDisjointOutReverse
                 Plain............................................ Time: 5.886 sec.
                 Plain With Alpha................................. Time: 6.091 sec.
                 Transformation................................... Time: 6.026 sec.
                 Transformation/Bilinear filter................... Time: 6.511 sec.
Test: PictOpDisjointAtop
                 Plain............................................ Time: 6.091 sec.
                 Plain With Alpha................................. Time: 6.294 sec.
                 Transformation................................... Time: 6.229 sec.
                 Transformation/Bilinear filter................... Time: 6.674 sec.
Test: PictOpDisjointAtopReverse
                 Plain............................................ Time: 6.082 sec.
                 Plain With Alpha................................. Time: 6.280 sec.
                 Transformation................................... Time: 6.155 sec.
                 Transformation/Bilinear filter................... Time: 6.783 sec.
Test: PictOpDisjointXor
                 Plain............................................ Time: 6.071 sec.
                 Plain With Alpha................................. Time: 6.309 sec.
                 Transformation................................... Time: 6.296 sec.
                 Transformation/Bilinear filter................... Time: 6.660 sec.
Test: PictOpConjointClear
                 Plain............................................ Time: 0.026 sec.
                 Plain With Alpha................................. Time: 0.039 sec.
                 Transformation................................... Time: 0.426 sec.
                 Transformation/Bilinear filter................... Time: 0.424 sec.
Test: PictOpConjointSrc
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.587 sec.
                 Transformation/Bilinear filter................... Time: 1.039 sec.
Test: PictOpConjointDst
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpConjointOver
                 Plain............................................ Time: 5.858 sec.
                 Plain With Alpha................................. Time: 6.144 sec.
                 Transformation................................... Time: 5.915 sec.
                 Transformation/Bilinear filter................... Time: 6.409 sec.
Test: PictOpConjointOverReverse
                 Plain............................................ Time: 5.818 sec.
                 Plain With Alpha................................. Time: 6.059 sec.
                 Transformation................................... Time: 5.913 sec.
                 Transformation/Bilinear filter................... Time: 6.376 sec.
Test: PictOpConjointIn
                 Plain............................................ Time: 5.730 sec.
                 Plain With Alpha................................. Time: 5.991 sec.
                 Transformation................................... Time: 5.898 sec.
                 Transformation/Bilinear filter................... Time: 6.369 sec.
Test: PictOpConjointInReverse
                 Plain............................................ Time: 5.837 sec.
                 Plain With Alpha................................. Time: 6.225 sec.
                 Transformation................................... Time: 6.013 sec.
                 Transformation/Bilinear filter................... Time: 6.373 sec.
Test: PictOpConjointOut
                 Plain............................................ Time: 5.756 sec.
                 Plain With Alpha................................. Time: 6.066 sec.
                 Transformation................................... Time: 5.942 sec.
                 Transformation/Bilinear filter................... Time: 6.332 sec.
Test: PictOpConjointOutReverse
                 Plain............................................ Time: 5.842 sec.
                 Plain With Alpha................................. Time: 6.191 sec.
                 Transformation................................... Time: 5.968 sec.
                 Transformation/Bilinear filter................... Time: 6.469 sec.
Test: PictOpConjointAtop
                 Plain............................................ Time: 5.874 sec.
                 Plain With Alpha................................. Time: 6.223 sec.
                 Transformation................................... Time: 5.969 sec.
                 Transformation/Bilinear filter................... Time: 6.329 sec.
Test: PictOpConjointAtopReverse
                 Plain............................................ Time: 5.807 sec.
                 Plain With Alpha................................. Time: 6.216 sec.
                 Transformation................................... Time: 6.030 sec.
                 Transformation/Bilinear filter................... Time: 1.080 sec.
Test: PictOpConjointXor
                 Plain............................................ Time: 0.821 sec.
                 Plain With Alpha................................. Time: 0.780 sec.
                 Transformation................................... Time: 5.616 sec.
                 Transformation/Bilinear filter................... Time: 6.429 sec.
ZeroDivide is offline   Reply With Quote
Old 02-05-08, 12:47 PM   #8
ZeroDivide
Registered User
 
Join Date: Sep 2004
Posts: 14
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

Here is another benchmark of my 8800 gts 320.
This time I set InitialPixmapPlacement=2
I can get better xrender results in some operations, at the cost of other apps becoming a lot slower ( firefox, gimp, gtk in general, etc.. )

Code:
X Server from: The X.Org Foundation, Release: 10400000
        Xrender version: 0.10
---------------------------------------------
Test: PictOpClear
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpSrc
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.001 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOver
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpOverReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.001 sec.
Test: PictOpIn
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpInReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpOut
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpOutReverse
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpAtop
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpAtopReverse
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpXor
                 Plain............................................ Time: 0.005 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpAdd
                 Plain............................................ Time: 0.006 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.005 sec.
                 Transformation/Bilinear filter................... Time: 0.005 sec.
Test: PictOpSaturate
                 Plain............................................ Time: 6.350 sec.
                 Plain With Alpha................................. Time: 7.188 sec.
                 Transformation................................... Time: 6.505 sec.
                 Transformation/Bilinear filter................... Time: 6.968 sec.
Test: PictOpDisjointClear
                 Plain............................................ Time: 0.035 sec.
                 Plain With Alpha................................. Time: 0.040 sec.
                 Transformation................................... Time: 0.538 sec.
                 Transformation/Bilinear filter................... Time: 0.527 sec.
Test: PictOpDisjointSrc
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.740 sec.
                 Transformation/Bilinear filter................... Time: 1.298 sec.
Test: PictOpDisjointDst
                 Plain............................................ Time: 0.001 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpDisjointOver
                 Plain............................................ Time: 5.992 sec.
                 Plain With Alpha................................. Time: 6.598 sec.
                 Transformation................................... Time: 6.144 sec.
                 Transformation/Bilinear filter................... Time: 6.674 sec.
Test: PictOpDisjointOverReverse
                 Plain............................................ Time: 6.297 sec.
                 Plain With Alpha................................. Time: 6.556 sec.
                 Transformation................................... Time: 6.389 sec.
                 Transformation/Bilinear filter................... Time: 7.027 sec.
Test: PictOpDisjointIn
                 Plain............................................ Time: 6.434 sec.
                 Plain With Alpha................................. Time: 6.766 sec.
                 Transformation................................... Time: 6.637 sec.
                 Transformation/Bilinear filter................... Time: 7.235 sec.
Test: PictOpDisjointInReverse
                 Plain............................................ Time: 6.475 sec.
                 Plain With Alpha................................. Time: 6.721 sec.
                 Transformation................................... Time: 6.532 sec.
                 Transformation/Bilinear filter................... Time: 7.150 sec.
Test: PictOpDisjointOut
                 Plain............................................ Time: 6.431 sec.
                 Plain With Alpha................................. Time: 6.747 sec.
                 Transformation................................... Time: 6.563 sec.
                 Transformation/Bilinear filter................... Time: 7.217 sec.
Test: PictOpDisjointOutReverse
                 Plain............................................ Time: 6.450 sec.
                 Plain With Alpha................................. Time: 6.646 sec.
                 Transformation................................... Time: 6.598 sec.
                 Transformation/Bilinear filter................... Time: 7.156 sec.
Test: PictOpDisjointAtop
                 Plain............................................ Time: 6.646 sec.
                 Plain With Alpha................................. Time: 6.886 sec.
                 Transformation................................... Time: 6.811 sec.
                 Transformation/Bilinear filter................... Time: 7.343 sec.
Test: PictOpDisjointAtopReverse
                 Plain............................................ Time: 6.659 sec.
                 Plain With Alpha................................. Time: 6.794 sec.
                 Transformation................................... Time: 6.887 sec.
                 Transformation/Bilinear filter................... Time: 7.464 sec.
Test: PictOpDisjointXor
                 Plain............................................ Time: 6.640 sec.
                 Plain With Alpha................................. Time: 6.951 sec.
                 Transformation................................... Time: 6.918 sec.
                 Transformation/Bilinear filter................... Time: 7.405 sec.
Test: PictOpConjointClear
                 Plain............................................ Time: 0.033 sec.
                 Plain With Alpha................................. Time: 0.040 sec.
                 Transformation................................... Time: 0.526 sec.
                 Transformation/Bilinear filter................... Time: 0.530 sec.
Test: PictOpConjointSrc
                 Plain............................................ Time: 0.004 sec.
                 Plain With Alpha................................. Time: 0.005 sec.
                 Transformation................................... Time: 0.737 sec.
                 Transformation/Bilinear filter................... Time: 1.298 sec.
Test: PictOpConjointDst
                 Plain............................................ Time: 0.000 sec.
                 Plain With Alpha................................. Time: 0.000 sec.
                 Transformation................................... Time: 0.000 sec.
                 Transformation/Bilinear filter................... Time: 0.000 sec.
Test: PictOpConjointOver
                 Plain............................................ Time: 6.266 sec.
                 Plain With Alpha................................. Time: 6.739 sec.
                 Transformation................................... Time: 6.449 sec.
                 Transformation/Bilinear filter................... Time: 6.972 sec.
Test: PictOpConjointOverReverse
                 Plain............................................ Time: 6.230 sec.
                 Plain With Alpha................................. Time: 6.564 sec.
                 Transformation................................... Time: 6.547 sec.
                 Transformation/Bilinear filter................... Time: 6.964 sec.
Test: PictOpConjointIn
                 Plain............................................ Time: 6.318 sec.
                 Plain With Alpha................................. Time: 6.528 sec.
                 Transformation................................... Time: 6.418 sec.
                 Transformation/Bilinear filter................... Time: 6.975 sec.
Test: PictOpConjointInReverse
                 Plain............................................ Time: 6.160 sec.
                 Plain With Alpha................................. Time: 6.644 sec.
                 Transformation................................... Time: 6.403 sec.
                 Transformation/Bilinear filter................... Time: 6.943 sec.
Test: PictOpConjointOut
                 Plain............................................ Time: 6.225 sec.
                 Plain With Alpha................................. Time: 6.498 sec.
                 Transformation................................... Time: 6.473 sec.
                 Transformation/Bilinear filter................... Time: 6.945 sec.
Test: PictOpConjointOutReverse
                 Plain............................................ Time: 6.295 sec.
                 Plain With Alpha................................. Time: 6.708 sec.
                 Transformation................................... Time: 6.424 sec.
                 Transformation/Bilinear filter................... Time: 6.932 sec.
Test: PictOpConjointAtop
                 Plain............................................ Time: 6.257 sec.
                 Plain With Alpha................................. Time: 6.776 sec.
                 Transformation................................... Time: 6.397 sec.
                 Transformation/Bilinear filter................... Time: 6.882 sec.
Test: PictOpConjointAtopReverse
                 Plain............................................ Time: 6.206 sec.
                 Plain With Alpha................................. Time: 6.760 sec.
                 Transformation................................... Time: 6.463 sec.
                 Transformation/Bilinear filter................... Time: 6.987 sec.
Test: PictOpConjointXor
                 Plain............................................ Time: 6.372 sec.
                 Plain With Alpha................................. Time: 6.820 sec.
                 Transformation................................... Time: 6.472 sec.
                 Transformation/Bilinear filter................... Time: 7.052 sec.
ZeroDivide is offline   Reply With Quote

Old 02-05-08, 02:20 PM   #9
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

The conjoint and disjoint pict ops are rarely, if ever, used by applications so they haven't been a focus for optimization efforts. If people start needing them for something, they'll definitely be moved up the list of thing to accelerate.
AaronP is offline   Reply With Quote
Old 02-05-08, 03:46 PM   #10
ZeroDivide
Registered User
 
Join Date: Sep 2004
Posts: 14
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

AaronP, I'm sure you're aware of the expedite benchmark, and the xrender backend for evas.

Here are some of my expedite results:
XRENDER: http://pastebin.ca/790277
X11: http://pastebin.ca/790279

What is you're take on these results? Is the xrender backend hitting unaccelerated paths/operations or using xrender in some funny way that results in slower than expected performance? It seems like expedite would be the ideal, or at least, a good test for "real world" application performance.

There were some big gains in the 169 driver, but there are a few tests like "Image Blend Border", "Image Blend Smooth Solid Scaled", and text rendering that seem strangely slow.
ZeroDivide is offline   Reply With Quote
Old 06-25-08, 03:49 PM   #11
Linuxhippy
Registered User
 
Join Date: Feb 2004
Posts: 585
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

Quote:
Originally Posted by AaronP View Post
The conjoint and disjoint pict ops are rarely, if ever, used by applications so they haven't been a focus for optimization efforts.
What I wonder is why renderbench needs initialPixmapPlacing=2 to perform well.
As far as I can see from the code, the source and destination pixmap are used again and again, so shouldn't they be migrated anyway (when not hitting many slow-paths)?

Thanks, Clemens
Linuxhippy is offline   Reply With Quote
Old 06-25-08, 04:41 PM   #12
Plagman
NVIDIA Corporation
 
Plagman's Avatar
 
Join Date: Sep 2007
Posts: 254
Default Re: xrenderbenchmark - The Nvidia XRender not fully accelerated?

As Aaron said, Disjoint and Conjoint operations aren't used by most application and toolkits. What really matters would be PictOpSrc, Add and Over.

About expedite:
The way libevas implements image borders and text rendering for its XRender backend makes it tricky to accelerate. It would greatly benefit from not doing Composite operations with the same source or mask Picture as the destination.

About InitialPixmapPlacement 2:
They do get migrated, but the performance difference you see comes from the overhead of the first few passes (which do fall back to software since the surface hasn't been migrated yet) and the migration itself. If you compare InitialPixmapPlacement 1 results with InitialPixmapPlacement 0 (which prevents migration), you'll see that 1 should give better results.
Plagman is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Rumor regarding lack of 680 availability ViN86 Rumor Mill 6 05-09-12 04:48 PM
ATI R300 & nVidia NV30 - Different visions Uttar Rumor Mill 6 09-06-02 11:19 AM

All times are GMT -5. The time now is 10:20 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.