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

An Optimized Open-Source Driver Tries To Compete With AMD Catalyst

Michael Larabel

Published on 12 June 2012
Written by Michael Larabel
Page 1 of 13 - 34 Comments

There's been a number of recent open-source driver improvements that have come about for modern ATI/AMD Radeon graphics cards under Linux, but not all of these features have yet to be merged or enabled by default (e.g. 2D color tiling, PCI Express 2.0, and HyperZ). With some basic tweaks, can the open-source Radeon Gallium3D driver now compete with AMD's proprietary Catalyst Linux driver when it comes to OpenGL performance? Let's see.

For a number of different graphics cards spanning several generations of Radeon GPUs, this article provides a comparison of the recent Catalyst driver (as found in Ubuntu 12.04) to the default open-source driver experience on Ubuntu 12.04 LTS (using Linux 3.2 + Mesa 8.0.2) and then lastly in the "Tweaked Git" state that basically puts each graphics card in the best state for being most performance-enhanced to compete with AMD's binary blob.


Benchmarking from the Phoronix office.

The "Tweaked Git" state included updating to the latest Linux kernel (Linux 3.5), libdrm, xf86-video-ati, and Mesa (8.1-devel) from their Git master repositories as of 8 June 2012. The tweaks included:

- Patching Mesa 8.1-devel git-306c9f0 with the latest R600g HyperZ/HierarchicalZ patch. This ended up being the 0001-r600g-add-htile-support-v6 patch from Jerome Glisse and then setting R600_HYPERZ=1 as an environment variable when testing the R600+ class hardware. However, for not all graphics cards did this HyperZ support work out well so for some GPUs it had to be disabled where it caused adverse effects or other issues.

- Enabling PCI Express 2.0 support via passing radeon.pcie_gen2=1 to the kernel at boot time. Due to bugs for a small minority of Linux users on the open-source Radeon driver, PCI Express 2.0 bandwidth is not even used when running a PCI-E 2.0 graphics card on a PCI-E 2.0 motherboard. PCI Express 2.0 support for the Radeon driver has been around for many months and PCI-E 2.0 can really boost the graphics performance, but it has been hidden behind the kernel parameter that is not widely known to Linux desktop users aside from graphics enthusiasts. It is silly that the Radeon PCI-E 2.0 issues have not yet been worked out so that the common feature can be enabled by default.

- The Linux 3.5 kernel by default provides some mighty performance improvements due to an important bug-fix affecting some "Evergreen" graphics processors.

- For both the Ubuntu 12.04 stock and tweaked configuration, swap buffers wait was disabled to avoid syncing to vblanks via SwapbuffersWait in the xorg.conf. (The Phoronix Test Suite also does vblank_mode=0 by default for all open-source drivers.)

- 2D color tiling can provide performance improvements and was manually enabled. Setting true for ColorTiling and ColorTiling2D in the xorg.conf can enable 2D color tiling for R600+ hardware. However, for some GPUs the 2D color tiling can still cause problems.

- KDE 4.8.3 was used as the desktop environment rather than the default Unity desktop with Compiz, since Unity/Compiz can cause OpenGL performance problems (though some OpenGL problems are fixed now with Unity 5.12). KDE's KWin was also set to suspend desktop effects on full-screen applications (see Tweaking KDE's KWin For Linux Gaming Performance). KDE was the default just not for the tweaked driver state but for all of the benchmarking in this article.

The graphics cards being compared in this article under the three configurations (stock Ubuntu 12.04, stock Catalyst, Tweaked Git) included the Radeon HD 6950, HD 6870, HD 6770, HD 6450, HD 5830, HD 5750, HD 4890, HD 3850, HD 3650, X1950PRO, and X1800XL. No Radeon HD 7000 series graphics card was tested since there still is not yet any usable open-source support. The Radeon X1950PRO and X1800XL graphics cards are from the R500 generation and use the R300 Gallium3D driver that is now mature and feature-complete, but the results were done for reference in this article to compare to the R600g-enabled graphics cards.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  2. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  3. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
  4. 6-Way Winter 2014 Linux Distribution Comparison
Latest Linux News
  1. GNOME Shell 3.15.3 Adds Support For High-Contrast Themes
  2. Linux 3.19: ThinkPad Muting Redone, New Dell Backlight Support, Acer Is Banging
  3. KVM Drops Support For IA64 While Adding Various x86 Improvements
  4. GCC 4.8.4 Officially Released
  5. FSF's High Priority Project List Now Has A Committee
  6. Details On Using OpenACC & GPUs With GCC
  7. Ubuntu 15.04 Alpha 1 For Its Various Flavors
  8. Git 2.2.1 Released To Fix Critical Security Issue
  9. WTFTW: A Tiling Window Manager Written In Rust
  10. Jolla's Sailfish OS Update 10 Is Now Available
Latest Forum Discussions
  1. FPS capped on Linux (AMD fglrx drivers)
  2. Are there an app using HSA ?
  3. XLennart: A Game For Systemd Haters With Nothing Better To Do
  4. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems
  5. Debian init discussion in Phoenix Wright format
  6. Bench specific mount point
  7. Tool for measuring FPS in games
  8. Need some hand holding with upgrading xserver