1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Previewing The Radeon Gallium3D Shader Optimizations

Michael Larabel

Published on 7 May 2013
Written by Michael Larabel
Page 1 of 3 - 11 Comments

With the AMD R600 Gallium3D shader optimizing back-end having been merged last week, new benchmarks were carried out at Phoronix to see the impact of the experimental shader optimizations on multiple AMD Radeon HD graphics cards.

The shader optimization back-end has been the work of Vadim Girlin and started out months ago. He's made many significant optimizations that affect the open-source AMD Linux driver's performance. The open-source AMD Linux developers upstream haven't been too particularly excited since they're already planning to eventually use their LLVM GPU back-end rather than this code. However, the optimized shader back-end code was merged last week and can be optionally turned on.

By default the R600 Gallium3D driver isn't taking advantage of Girlin's shader work but needs to be exposed via the "R600_DEBUG=sb" environment variable. There's also the "R600_DEBUG=sbcl" option for optimizing compute shaders rather than just graphics shaders. There's also "R600_DEBUG=sbstat" for dumping optimization statistics of shaders to the output.

While this R600 "SB" work is still actively being debugged and worked on, yesterday evening I began running some tests on different AMD Radeon graphics cards. From an Ubuntu 13.04 system with the Linux 3.9 kernel and Xfce 4.10, Mesa 9.2.0 was pulled from Git on 6 May as of revision c9cf83b (following the most recent "r600/sb" commits). Swap buffers wait was disabled for the xf86-video-ati DDX during testing.

The graphics cards used during testing were the Radeon HD 5830, HD 6570, and HD 6770 for a variety of Linux OpenGL games making use of GLSL. Some other graphics cards were also tempted but a few regressions were noted (it's possible that it's not related to the shader optimizations themselves and just introduced recently in Mesa past the 15-way Linux GPU comparison but time wasn't spent debugging the problems further). E.g:

Latest Articles & Reviews
  1. Intel Broadwell: GCC 4.9 vs. LLVM Clang 3.5 Compiler Benchmarks
  2. Ubuntu vs. Fedora Linux On Lenovo's X1 Carbon With Core i7 Broadwell
  3. Ubuntu 15.04 Is The Easy Path To Better Performance On Intel Broadwell
  4. NVIDIA's Latest Maxwell Line-Up Against AMD With Catalyst On Linux
  5. Preliminary Tests Of Intel Sandy Bridge & Ivy Bridge vs. Broadwell
  6. AMD FX-8320E Performance On Linux
Latest Linux News
  1. I Switched (Back) Over To Fedora As My Main OS & It's Going Great!
  2. Windows 10, PS4, C4 & Systemd News Kicked Off 2015
  3. Calamares 1.0 Distribution-Independent Installer Framework Released
  4. Librem 15 Linux Laptop Set To Close At Around $400k USD
  5. Virtual GEM To Increase Mesa's Software Rasterizer Performance
  6. Open Lunchbox: Yet Another Open-Source Laptop Attempt
  7. Wayland/Weston 1.7 Release Candidate
  8. Bugzilla 5.0 Is Coming Soon With New Features
  9. Linux Benchmarking... Even Faster & A Very Interesting February
  10. Does VirtualBox VM Have Much A Future Left?
Most Viewed News This Week
  1. PlayStation 4 System Compiler Support Landing In LLVM
  2. Does VirtualBox VM Have Much A Future Left?
  3. Linux "GHOST" Vulnerability Hits Glibc Systems
  4. LibreOffice 4.4 Is Coming Soon With New Features
  5. LLVM Adds Options To Do Fuzz Testing
  6. Broadwell Linux Ultrabook Running MUCH Cooler Than Haswell
  7. LibreOffice 4.4 Released With Better OOXML Support, UI Improvements
  8. Inkscape 0.91 Goes Through C++ Code Conversion, New Cairo Rendering, OpenMP Filters