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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Xserver 1.14 support will arrive with Catalyst...
  2. Linux Desktop Security Could Be A Whole Lot Better
  3. New NVIDIA Linux Driver Supports The GeForce GTX...
  4. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  5. Openbenchmarking.org main page is damaged
  6. Microsoft Releases Skype For Linux 4.2, Has...
  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