Open-Source ATI Driver Achieves Major R500 3D Success

Written by Michael Larabel in Display Drivers on 27 May 2008 at 10:48 AM EDT. Page 1 of 1. 70 Comments.

While the RadeonHD developers have been busy working on Radeon HD 3200 / 780 Series support and other features for this open-source ATI R500/600+ driver, the DRM (Direct Rendering Manager) support has been lagging behind. Earlier this month Matthias Hopf was successful in getting DRM working on an RS690 GPU and he has published RadeonHD DRM code into his personal development tree, but no code has yet to reach master. Meanwhile, as the xf86-video-ati driver is using AtomBIOS, they are able to spend more time working on the 3D features and other areas and less time "banging on registers" or even waiting on register documentation to arrive. David Airlie has been working on the R500 3D support along with Alex Deucher and Corbin Simpson. The trio has been making some great headway towards open-source 3D goodness for Radeon X1000 and HD 2000/3000 GPUs. Their most recent efforts have focused around the R500 fragment program code and today they have reached a monumental milestone.

After some recent work today, Compiz is now working on R500 graphics cards using the open-source xf86-video-ati and the latest Mesa git. In addition, the Unreal Tournament 2004 demo is even running! There is now parity between the open-source R500 3D support and the level of Mesa support for the older R200/300/400 generations! This is one hell of a milestone.

We are, of course, celebrating this major open-source achievement and we are in the midst of trying out this latest code on a horde of different R500 graphics cards. We will be delivering benchmarks comparing the Radeon X1000 performance using the open-source 3D driver to the fglrx driver in the coming days with different graphics cards and we will compare its performance to the earlier R400 parts. If you have any other requests, let us know in the Phoronix Forums.

It was only in late March that the open-source community had achieved hardware-accelerated glxgears on R500 GPUs. To look back, it has been just short of nine months since we shared with you AMD's open-source strategy and the first 900 pages of documentation being opened up. On top of that, it has only been 74 days since AMD publicly released their R500 3D register reference guide.

David Airlie mentions on his blog that he's very close to merging this code to master and pushing this R500/600 3D support into Fedora 9 as an update. While on the RadeonHD side there isn't this same level of support today, both parties have vowed for greater cooperation and we will hopefully see some fruits of that in the near future with a single DRM implementation.

Another celebration for today is the DRI support being merged to master for the xf86-video-radeonhd driver. Matthias Hopf has pushed 23 patches into the xf86-video-radeonhd driver that adds a trivial memory manager, rudimentary code for R600 DRI initialization (but it's not working yet), cleaning up of the existing DRI code that has been available later, and a lot of other work. The DRI support is officially working on the RS690 IGP, but if using the latest Mesa it should be working fine on other R500 GPUs.

Cheers to the open-source ATI driver teams for these accomplishments and AMD for continuing to support these open efforts. Hopefully in the near future NVIDIA will join in. Stay tuned for more information on these major open-source developments. Next up: open-source R600 3D support...

More information on the development activities can be found in the IRC channels, which can be viewed at RadeonHD.org (also owned by Phoronix Media).

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.