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


Radeon vs. RadeonHD Drivers In H1'08

Michael Larabel

Published on 19 March 2008
Written by Michael Larabel
Page 2 of 3 - 52 Comments

So why did Alex and David begin work on R500/600 support for the Radeon driver when the RadeonHD driver was already running strong? At the heart of the entire issue is AtomBIOS. AtomBIOS is a video BIOS abstraction layer created by ATI and has been present on all graphics cards since the R400 (Radeon X700) generation. This abstraction layer contains tables of card-specific information along with a common API for performing such tasks as card initialization, TV encoder setup, etc. These AtomBIOS tables contain data such as connector and transmitter information. The concept behind AtomBIOS is that (in theory) by writing a driver to implement this interface, new graphics cards can be supported faster, features are easier to implement, and the driver code is much easier to maintain -- as long as new ATI graphics cards continue to employ the same AtomBIOS interface. Both the Windows and Linux Catalyst drivers use AtomBIOS for communicating with the hardware. The AtomBIOS parser and wrapper were open-sourced last year by AMD for this driver work.

In theory AtomBIOS is wonderful, but in practice some view it's usefulness differently. Alex and David with xf86-video-ati use AtomBIOS in order to provide support for these latest graphics cards, while the engineering group at Novell is in stiff opposition to the use of AtomBIOS. These developers view the AtomBIOS tables and scripts as legacy code and untouchable byte-code. They view using a driver with AtomBIOS as comparable to ndiswrapper, where it's just an environment to execute someone else's code. In the case of AtomBIOS, it would just be an open-source driver to more or less execute closed-source code within this abstraction layer. However, the RadeonHD developers admit they have found out valuable information using AtomBIOS, and in fact AtomBIOS is being used for the Uniphy transmitter in the Radeon HD 3400/3600 GPUs (RadeonHD Driver Introduces Major Changes). AtomBIOS may also be used by the RadeonHD developers in providing the AMD 780G support. The RadeonHD developers also feel that the AtomBIOS interface lacks some needed documentation and that major portions of this closed-source code have changed between product generations.

The alternative approach to using AtomBIOS, and is the way the Novell engineers prefer writing the driver, is by accessing the hardware registers directly. By programming the hardware directly, they avoid the issues with AtomBIOS and they believe it's the way for a completely open graphics driver without cutting any corners. There are, of course, many downfalls to not using AtomBIOS. By banging the hardware registers, it takes much longer to write the driver to support new products and the Novell developers often find themselves waiting for AMD to deliver the register documentation. While the RadeonHD developers have three full-time developers (Egbert Eich, Luc Verhaegen, and Matthias Hopf), the Radeon driver is just worked on part-time by David Airlie and Alex Deucher. While they have less manpower, in shorter time xf86-video-ati had R500 EXA/XAA 2D acceleration by leveraging the existing Radeon code and using AtomBIOS. The RadeonHD developers are also still working to implement support for the CP (Command Processor), which is already used in the Radeon driver. The Radeon driver has also already implemented TexturedVideo playback for the R500 series. Just yesterday Alex introduced another Radeon feature and that is full EXA Composite for the R300/400/500 series.

Aside from these two radically different programming approaches, the benefit that the RadeonHD driver has is that it's all new code as of last year and is optimized for these newer product generations, while the Radeon driver has been built up over the course of many years. The xf86-video-radeonhd developers put stability in front of features, which can be seen as (arguably) the opposite of the xf86-video-ati interests. Open-source 3D support for the R500/600 series is out on the near horizon and fortunately there should only be a single DRM implementation.

With little collaboration going on right now between these two driver projects, Linux distribution vendors are left to decide between choosing the Radeon and RadeonHD drivers for the default R500/600 driver. In RadeonHD's favor is the official backing of AMD, dedicated full-time developers at Novell, a newer code-base, and more thorough testing has been done by the community with this driver on R500/600 hardware. In Radeon's favor is more rapid feature development, prompt support for new GPUs, leveraging the existing Radeon code (though a double-edged sword), and it's being worked on by Alex Deucher who is an AMD employee with direct access to their pool of internal documentation. However, looking at the points in both party's favor, it largely depends upon if you view AtomBIOS as a savior or sinner to driver developers.

Latest Linux Hardware Reviews
  1. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  2. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  3. Overclocking The AMD AM1 Athlon & Sempron APUs
  4. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. FreeBSD Advances For ARM, Bhyve, Clang
  2. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  3. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  4. QEMU 2.0 Released With ARM, x86 Enhancements
  5. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  6. R600 Gallium3D Disables LLVM Back-End By Default
  7. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  8. Fedora Workstation Is Making Me Quite Excited
  9. Maynard: A Lightweight Wayland Desktop
  10. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  11. KDE 4.13 Is Being Released Today With New Features
  12. Trying Out Radeon R9 290 Graphics On Open-Source
Latest Forum Discussions
  1. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. The GNOME Foundation Is Running Short On Money
  4. Radeon 8000M problematic on Linux?
  5. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  6. Suspected PHP Proxy Issue
  7. Change installation destination from home directory
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story