R600g Driver Patch That Can 4x The Frame-Rate
Phoronix: R600g Driver Patch That Can 4x The Frame-Rate
Following yesterday's article comparing the AMD Radeon Linux drivers on Ubuntu 12.10, Marek Olšák looked into some of the cases where the open-source Radeon Gallium3D driver was much slower than the proprietary Catalyst driver. Already with one patch that touches only two dozen lines of code, Marek was able to quadruple the open-source driver frame-rate for at least one game...
So... can you rerun all the benchmarks in the previous article with this patch?
That test was using the stable versions provided by Ubuntu, so I doubt Michael will just take that and apply the patch.
Originally Posted by Sidicas
But he's already said he was going to test out the latest git versions, and this patch has been merged into master now. So yes, the test is coming.
Nice to hear. Wonder how well this will scale with other titles.
Well... I was excited when I read that title. 4x the frame-rate on some of those tests would put them neck-n-neck with catalyst... but then I realized the test he's getting 4x performance on is the game that runs horribly slow on the OSS drivers. According to the Phoronix post, on the 6870 Reaction Quake get's 519 fps with Catalyst and 8 fps with Radeon... even if you quadruple that figure, you're still only getting 32 fps compared to Catalyst's 500+
Don't get me wrong, it sounds like a very promising patch, congrats and thank you to the developer... I hope it's just that game, but I'm not going to hold my breath until I see more benchmarks.
in mailine now
Author: Marek Olšák <firstname.lastname@example.org>
Date: Thu Nov 1 00:52:19 2012 +0100
r600g: fix abysmal performance in Reaction Quake
The problem was we set VRAM|GTT for relocations of STATIC resources.
Setting just VRAM increases the framerate 4 times on my machine.
I rewrote the switch statement and adjusted the domains for window
NOTE: This is a candidate for the stable branches.
Reviewed-by: Alex Deucher <email@example.com>
Reviewed-by: Jerome Glisse <firstname.lastname@example.org>
before they improve heuristics ...
they should check that they don't do huge amounts of useless stuff (like the stuff this patch removes).
Marek is a radeon superhero!
Nice work Marek! - both for that patch and for the next one, included below for reference.
author Marek Olšák 2012-11-01 01:00:37 (GMT)
committer Marek Olšák 2012-11-01 02:17:58 (GMT)
r600g: re-enable handling of DISCARD_RANGE, improving performance
It seems to work for me now. Even the graphics corruption is gone.
This also boosts performance in Reaction Quake.