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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-19-04, 09:02 AM   #1
d'Oursse
Registered User
 
Join Date: Dec 2004
Posts: 5
Default hardware accelerated xrender ?

Hello,

i would like to know if there is any plan about an hardware accelerated xrender for nvidia cards.

Indeed, xrender is not software accelerated at all and is quite slow.

if you want to test xrender in software mode, take this bench:
http://www.rasterman.com/files/render_bench.tar.gz
it compares xrender with another library, Imlib2 (from rasterman), that you can find on Sourceforge :
http://prdownloads.sourceforge.net/e...ar.gz?download

so, any plan on shuch accelerated xrender ?

thank you
d'Oursse is offline   Reply With Quote
Old 12-19-04, 09:15 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: hardware accelerated xrender ?

The nvidia drivers contain hw accelerated xrender support but it is disabled by default. Add a line: Option "RenderAccel" to enable it.
Thunderbird is offline   Reply With Quote
Old 10-05-05, 06:49 AM   #3
gregy_
Registered User
 
Join Date: Mar 2004
Posts: 6
Default Re: hardware accelerated xrender ?

I've been trying to use render to scale images but the scaling was quite slow.
Found this program on the net to evaluate it, and the numbers seem to show that software scaling works better than nvidia's HW-accelerated??

Here is the relevant section from xorg.conf (version 7664):
------------------------------------------
Section "Device"
Identifier "Nvidia FX 5200"
Driver "nvidia"

Option "NoLogo"
Option "ConnectedMonitor" "DFP"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
EndSection

Here are the benchmark results:
---------------------------------
greg@homepc ~/src/render_bench $ ./render_bench
Available XRENDER filters:
nearest
bilinear
fast
good
best
Setup...
*** ROUND 1 ***
---------------------------------------------------------------
Test: Test Xrender doing non-scaled Over blends
Time: 0.257 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing non-scaled Over blends
Time: 0.288 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing non-scaled Over blends
Time: 0.461 sec.
*** ROUND 2 ***
---------------------------------------------------------------
Test: Test Xrender doing 1/2 scaled Over blends
Time: 6.424 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 1/2 scaled Over blends
Time: 6.265 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 1/2 scaled Over blends
Time: 0.176 sec.
*** ROUND 3 ***
---------------------------------------------------------------
Test: Test Xrender doing 2* smooth scaled Over blends
Time: 130.005 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 2* smooth scaled Over blends
Time: 128.084 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 2* smooth scaled Over blends
Time: 7.379 sec.
*** ROUND 4 ***
---------------------------------------------------------------
Test: Test Xrender doing 2* nearest scaled Over blends
Time: 99.553 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing 2* nearest scaled Over blends
Time: 97.584 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing 2* nearest scaled Over blends
Time: 2.204 sec.
*** ROUND 6 ***
---------------------------------------------------------------
Test: Test Xrender doing general nearest scaled Over blends
Time: 170.743 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general nearest scaled Over blends
Time: 167.168 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general nearest scaled Over blends
Time: 3.980 sec.
*** ROUND 7 ***
---------------------------------------------------------------
Test: Test Xrender doing general smooth scaled Over blends
Time: 269.894 sec.
---------------------------------------------------------------
Test: Test Xrender (offscreen) doing general smooth scaled Over blends
Time: 267.393 sec.
---------------------------------------------------------------
Test: Test Imlib2 doing general smooth scaled Over blends
Time: 27.536 sec.
gregy_ is offline   Reply With Quote
Old 12-07-05, 09:12 AM   #4
d'Oursse
Registered User
 
Join Date: Dec 2004
Posts: 5
Default Re: hardware accelerated xrender ?

with the 8174 driver, there is nothing new about xrender. It's still slower than software mode with evas. A lot slower. xrender is 27 times slower. A friend tells me that it's 47 times slower on his computer (different computer/graphic card).

@developpers: Is there any plan to make i faster ?

edit: of course, RenderAccel is set on true
d'Oursse is offline   Reply With Quote
Old 12-07-05, 09:49 AM   #5
d4rk74m4
Registered User
 
Join Date: Aug 2004
Posts: 72
Default Re: hardware accelerated xrender ?

I see the same issue with evas. I was quite shocked when I saw how abysmal the RenderAccel implementation was compared to the GL implementation. Still unsure as to whether this is an NVIDIA issue, or something with evas itself.

Code:
darktama@araqiel ~ $ evas_gl_x11_test
GL: create info...
GL: setup info...
GL: gl window setup done.
GL EXT supported: GL_SGIS_generate_mipmap = ffffffff
GL EXT supported: GL_NV_texture_rectangle = ffffffff
GL EXT supported: GL_ARB_texture_non_power_of_two = ffffffff
DISABLE GL_ARB_texture_non_power_of_two
####################################################
# Performance Test. Your system scores...
####################################################
# FRAME COUNT: 114286 frames
# TIME:        20.000 seconds
# AVERAGE FPS: 5714.299 fps
####################################################
# Your system Evas Benchmark:
#
# EVAS BENCH: 95.238
#
####################################################
Code:
darktama@araqiel ~ $ evas_xrender_x11_test
####################################################
# Performance Test. Your system scores...
####################################################
# FRAME COUNT: 361 frames
# TIME:        20.014 seconds
# AVERAGE FPS: 18.037 fps
####################################################
# Your system Evas Benchmark:
#
# EVAS BENCH: 0.301
#
####################################################
Code:
darktama@araqiel ~ $ grep -i renderaccel /var/log/Xorg.0.log
(**) NVIDIA(0): Option "RenderAccel" "true"
d4rk74m4 is offline   Reply With Quote
Old 12-07-05, 03:28 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: hardware accelerated xrender ?

RenderAccel improvements are planned for a future driver release.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-08-05, 02:02 AM   #7
d'Oursse
Registered User
 
Join Date: Dec 2004
Posts: 5
Default Re: hardware accelerated xrender ?

@d4rk74m4: it's not a problem with the xender implementation of evas. When the exa mode is used with an ATI card, the speed is of the same order than the gl one.

netlama: ok, thank you
d'Oursse is offline   Reply With Quote
Old 12-08-05, 02:12 AM   #8
d4rk74m4
Registered User
 
Join Date: Aug 2004
Posts: 72
Default Re: hardware accelerated xrender ?

Quote:
Originally Posted by d'Oursse
@d4rk74m4: it's not a problem with the xender implementation of evas. When the exa mode is used with an ATI card, the speed is of the same order than the gl one.

netlama: ok, thank you
Ah, thankyou. I didn't actually expect a problem with evas itself, but it was a possibility so I included it.

Anyway, it's interesting to see how bad Nvidia's XRender implementation is..
d4rk74m4 is offline   Reply With Quote

Old 12-13-05, 05:52 AM   #9
kmike
Registered User
 
Join Date: Aug 2004
Posts: 34
Default Re: hardware accelerated xrender ?

It's even far slower than a pure software implementation:
Code:
mike@at:/opt/e17/bin)./evas_software_x11_test 
.........
# FRAME COUNT: 7884 frames
# TIME:        20.001 seconds
# AVERAGE FPS: 394.172 fps
####################################################
# Your system Evas Benchmark:
#
# EVAS BENCH: 6.570
#
####################################################

mike@at:/opt/e17/bin)./evas_xrender_x11_test 
####################################################
# Performance Test. Your system scores...
####################################################
# FRAME COUNT: 216 frames
# TIME:        20.099 seconds
# AVERAGE FPS: 10.747 fps
####################################################
# Your system Evas Benchmark:
#
# EVAS BENCH: 0.179
#
####################################################
kmike is offline   Reply With Quote
Old 12-27-05, 07:42 AM   #10
kmike
Registered User
 
Join Date: Aug 2004
Posts: 34
Default Re: hardware accelerated xrender ?

No changes in XRENDER performance in 81.78.
kmike is offline   Reply With Quote
Old 04-07-06, 09:54 PM   #11
d4rk74m4
Registered User
 
Join Date: Aug 2004
Posts: 72
Default Re: hardware accelerated xrender ?

xrender performance still bad in 1.0-8756

Code:
darktama@araqiel ~ $ evas_xrender_x11_test
####################################################
# Performance Test. Your system scores...
####################################################
# FRAME COUNT: 451 frames
# TIME:        20.028 seconds
# AVERAGE FPS: 22.519 fps
####################################################
# Your system Evas Benchmark:
#
# EVAS BENCH: 0.375
#
####################################################
netllama, any updates on this?
d4rk74m4 is offline   Reply With Quote
Old 04-07-06, 09:58 PM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: hardware accelerated xrender ?

Please generate and post an nvidia-bug-report.log and I'll look into this further.

Thanks,
Lonni
netllama 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
Performance Boost: troubleshooting hardware, Android toolchains, and tiny computing News Archived News Items 0 06-16-12 12:10 PM
The technologist's guide to troubleshooting hardware News Archived News Items 0 06-13-12 11:20 AM
Podcast: DDN WOS Software on OCP Storage Hardware to Enable Hyperscale Storage Clouds News Archived News Items 0 05-22-12 08:10 AM
PowerDVD Hardware Acceleration adrianhall General Software 11 06-08-10 04:46 PM
hardware T&L nosrema NVIDIA Linux 2 09-14-02 03:35 PM

All times are GMT -5. The time now is 06:53 PM.


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