Revised Stack Space Patch For R600 Gallium3D Driver

Posted by Michael Larabel on February 18, 2013

Vadim Girlin on Sunday posted a stack space patch for the AMD R600 Gallium3D driver that he reported to improve Unigine's performance by ~30% for this open-source Radeon graphics driver. He has since revised that patch, but testing has revealed it isn't too incredibly exciting at this point.

In the middle of the night Vadim posted r600g: don't reserve more stack space than required v2. This patch is still about over-cautious stack reservation causing significant loss of performance, but the patch message no longer cites any miracle improvements for Unigine Heaven.

This patch is much different than the one-liner patch originally sent to reduce the used stack space. Already in response to this second patch is that it's causing some corruption issues.

Curious to see if there were any other improvements, I ran a few quick tests this afternoon. Mesa 9.2-devel from Git master was used today as of git-9c1107b and then a separate test run after applying Vadim's v2 patch on this same Mesa Git revision. The Linux 3.8 kernel was in use atop Ubuntu 13.04.

With Vadim having mentioned he was testing atop an Evergreen GPU, I also ran these Linux OpenGL benchmarks from an HD 5000 Evergreen -- a Radeon HD 5750 1GB GPU.

Benchmarks in full from this brief testing can be found within 1302185-FO-MESA92DEV42. As this was just a quick run, one of the basic test suites already installed was used -- some of which aren't using GLSL shaders or other advanced features, but the results embedded below are some of the more demanding cases.

As you can see from these results, and the results on OpenBenchmarking.org, there is no overall big performance improvement from this v2 patch at least for the assortment of Linux OpenGL games that were tested from this AMD Radeon HD 5750 graphics card.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. The Cost Of Ubuntu Disk Encryption
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  4. Freedreno Gallium3D Now Banging The Adreno A3XX
  5. Sumo Lounge Emperor
  6. FreeBSD Still Working On Next-Gen Package Manager
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite