Bug 94133 - relatevly low performance rv740
Summary: relatevly low performance rv740
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-13 13:11 UTC by Roman Elshin
Modified: 2016-02-15 18:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (56.58 KB, text/plain)
2016-02-13 13:11 UTC, Roman Elshin
Details
dmesg (73.22 KB, text/plain)
2016-02-13 13:11 UTC, Roman Elshin
Details

Description Roman Elshin 2016-02-13 13:11:30 UTC
Created attachment 121737 [details]
Xorg.log

I just installed ubuntu 15.10 (with oibaf and commendsarnex ppa to see how good 
is my radeon hd4770 (rv740) works with fresh graphics stack).
Unigine Valley-1.0 (native) and MafiaII Game (wine with Gallium Nine) was used 
to see video performance differences against windows7.

Linux Unigine Valley Benchmark 1.0:
FPS:	8.5
Score:	356
Min FPS:4.2
Max FPS:13.8

Windows7 Unigine Valley Benchmark 1.0 (dx11 render, as opengl wasn`t able to run):
FPS:	15.9
Score:	666
Min FPS:9.2
Max FPS:29.5

Linux Mafia2 Game (internal benchmark) under wine with Gallium Nine, dri3): 22.2fps

Windows7 Mafia2 Game(internal benchmark) under wine with Gallium Nine, dri3): 42.4fps

It works (without visible artifacts) and it is great!, but it is almost twice as slow against windows. There are some benchmarks on phoronix (http://www.phoronix.com/scan.php?page=article&item=radeon_1404_win81&num=3)
for more recent and powerfull r600g hw, and there was no such big differences there.
So is it r700 classs hw works slow with gallium in general, or it something wrong with just rv740 support? (or something else ...?)
Comment 1 Roman Elshin 2016-02-13 13:11:55 UTC
Created attachment 121738 [details]
dmesg
Comment 2 Alex Deucher 2016-02-13 14:54:17 UTC
The open source Linux driver has not been as optimized as the windows driver.
Comment 3 Roman Elshin 2016-02-13 16:19:57 UTC
yes, but my quastion: is it optimized for rv740 not less than for other chips supported by r600g (for some reasons, bugs, etc..)? performance difference at first sight seems too big.
Comment 4 John Bridgman 2016-02-14 01:59:55 UTC
I think the answer is "not knowingly". Optimizations tend to be done for an entire generation (or a few generations), not for specific chips. 

That said, if a specific chip is observed to be an outlier (performance quite a bit lower or higher than expected) then that specific discrepancy will probably get some attention.

I don't understand your Mafia2 numbers - the Linux version wouldn't be running under Nine, would it ? If the Linux version were running under OpenGL, then this would look like a fairly typical "DX renderer in the app gets a lot more work than the GL renderer" scenario.
Comment 5 Roman Elshin 2016-02-14 06:31:52 UTC
I will try to find different card from r600g driver for compare at the same conditions.
Mafia2 works winth Nine :), without it - 15.8 fps.
Comment 6 Roman Elshin 2016-02-15 18:41:53 UTC
HD4850 results:
Linux Unigine Valley Benchmark 1.0:
FPS:	10.2
Score:	428
Min FPS:4.2
Max FPS:19.3

Windows7 Unigine Valley Benchmark 1.0 (dx11 render):
FPS:	16.9
Score:	709
Min FPS:10.3
Max FPS:33.1

Linux Mafia2 Game (internal benchmark) under wine with Gallium Nine, dri3): 25fps

Windows7 Mafia2 Game(internal benchmark): 42.7fps
Not much differences.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.