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

RadeonHD Driver To Use AtomBIOS

Michael Larabel

Published on 4 July 2008
Written by Michael Larabel
Page 1 of 1 - 46 Comments

We've talked all too often about AtomBIOS and there being two different open-source drivers that support the same ATI Radeon hardware with the key architectural difference between the two just being the use of this video BIOS abstraction layer. From the beginning, AMD was planning to have their Novell partners use AtomBIOS when writing this new (at the time, R500/600) driver, but the developers ultimately declined. These developers have expressed their opinions on AtomBIOS, which range from it being an unbearable mess to this design being nothing more than writing open-source code to power someone else's closed-source work. However, under pressure by AMD, the developers are now preparing to use AtomBIOS to a much greater extent within the xf86-video-radeonhd driver. In this article we'll tell you more about what's gone on and where you can checkout this AtomBIOS-bearing RadeonHD driver.

In March we had explained the Radeon vs. RadeonHD driver situation in full. In theory, this common API for programming all of ATI's R400+ graphics hardware is a godsend, but in the real world it's the RadeonHD developers that argue its benefit and expose its faults -- going as far as calling it legacy code and untouchable byte-code. AMD's Alex Deucher and Red Hat's David Airlie use AtomBIOS within the xf86-video-ati driver so that they can quickly deploy the basic mode-setting support and other fundamental work, thereby allowing them more time to focus on the driver's "bells and whistles" such as OpenGL hardware acceleration and other features we've previously shared (Open-Source ATI Driver Achieves 3D Success). Meanwhile, the RadeonHD developers prefer hard-coding the driver and accessing all registers directly. These differences plus other factors have led to little cooperation between the xf86-video-radeonhd and xf86-video-ati driver development groups until recently when the xf86-video-ati 2D and DRM work started being adopted by xf86-video-radeonhd.

One very recent example that highlights the difference between these two programming models is with the recently introduced Radeon HD 4850 and Radeon HD 4870. AMD had delivered same-day support with the fglrx driver (their proprietary driver also uses AtomBIOS), but on the open-source side there was even same-day Linux support using xf86-video-ati. While there are plenty of architectural changes between the R600 series and the RV770, the AtomBIOS on the graphics card's ROM is able to conceal most of these differences to the driver.

With writing a simple patch that just adds in the RV770 chip family identification and PCI IDs for our graphics cards we were able to experience open-source Radeon HD 4850 and open-source Radeon HD 4870 support. We had experienced a DDC (Display Data Channel) bug that caused the incorrect resolution to be set by default, but that's only a minor issue for now. With the current xf86-video-radeonhd driver, a trivial patch cannot be created to add the RV770 graphics processor support. Developers are left to either utilize AtomBIOS or wait for AMD to release documentation -- whether it be publicly or under NDA to Novell -- in order to hard-code the support for this high-end graphics processor. As we have seen from past product launches within a same product generation, it has taken the RadeonHD driver weeks to deliver even proper mode-setting support.

However, we can confirm that the RadeonHD driver now is moving to an AtomBIOS model. In a branch of xf86-video-radeonhd driver, they have now created an atombios_support branch that contains this initial work. However, before going to fire up git, be forewarned that this atombios_support branch is still considered experimental and isn't yet complete. We've been experimenting with this branch for the past 24 hours with the Radeon HD 4850/4870 as well as earlier R500 and R600 graphics cards, but there are some areas of the AtomBIOS support that aren't yet addressed that will likely lead to show-stopping issues for the time being. However, this AtomBIOS support is rapidly developing and we would expect many of the issues to be worked out within a matter of days. Following that, this AtomBIOS support will likely be merged to the master branch. Previously AtomBIOS was used within the RadeonHD driver for just supporting parts of the graphics processor they didn't have specifications on at the time of commencing development work (such as with the PCIEPHY transmitter).

Once the AtomBIOS support merges to the master branch of the xf86-video-radeonhd driver, the differences between that and xf86-video-ati will be even less. Ideally, this will lead to greater cooperation between the two groups of developers and settling for a de facto standard driver for the R600+ GPUs (likely xf86-video-radeonhd). Once the AtomBIOS support has been merged to master -- as well as their "quick and dirty" 2D branch -- they will begin focusing on open-source 3D support for the Radeon HD 4800 series. We'll have more on these open-source developments in the coming days and weeks.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Rosewill RS-MI-01: An Ultra Low-Cost Mini-ITX Chassis
  2. D-Link DCS-2330L HD Wireless Network Camera
  3. Gigabyte AM1M-S2H
  4. AMD's New Athlon/Semprons Give Old Phenom CPUs A Big Run For The Money
Latest Linux Articles
  1. AMD Catalyst 14.4 On Linux With Radeon R3 APU Graphics
  2. Red Hat Enterprise Linux 7.0 RC Benchmarks
  3. AMD Catalyst 14.4 Brings Few Linux Performance Improvements
  4. The Performance Of Fedora 20 Updated
Latest Linux News
  1. Intel Developer Proposes A New Linux CPU Load Metric
  2. R600 Gallium3D Lands Many OpenGL Fixes
  3. LLVMpipe Gallium3D Now Exposes GLSL 3.30
  4. NGINX 1.6 Brings SPDY 3.1 & Other New Features
  5. Linux Foundation Announces A Core Infrastructure Initiative
  6. More Steam Linux Tests/Benchmarks Might Be Coming
  7. NVIDIA's Amazing Single-Board ARM Computer Might Be Delayed
  8. Fedora 21 To Get A Playground, New Features
  9. PC-BSD Is Developing Its Own Desktop Environment
  10. Valve Is Bringing VOGL To Windows & Working On Regression Tests
  11. Canonical Is Taking Over Linux 3.13 Kernel Maintenance
  12. Google Web Designer Is Now Natively Available On Linux
Latest Forum Discussions
  1. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  2. HTPC-upgrade advice: AMD Richland A8-7600 or Kaveri A10-6700T ???
  3. What Else Would You Like To See On Phoronix This Spring?
  4. The GNOME Foundation Is Running Short On Money
  5. The Most Amazing OpenGL Tech Demo In 64kb
  6. Announcing radeontop, a tool for viewing the GPU usage
  7. New card. Open source drivers only.
  8. Script for Fan Speed Control