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

The Open-Source ATI R500 Driver

Michael Larabel

Published on 19 June 2007
Written by Michael Larabel
Page 1 of 2 - 32 Comments

Last week the first open-source ATI R500 (Radeon X1000 series) driver had entered the world. This new driver (named the xf86-video-avivo) is very early into development, but a small set of developers have been working on reverse engineering this GPU class for the past couple of months. This driver does not yet contain any 3D functionality or support for features that most end-users expect. At this point, the driver just contains very basic initialization and set video mode support for a portion of the Radeon X1000 family. Even with this very basic R500 driver, we couldn't help but to explore the Avivo driver for the past few days.

For those that have missed our past articles on the R500 status in Linux, up to this point the only real solution with 3D support has been using the fglrx binary blob. However, five developers have been working on reverse engineering the fglrx driver for R500 support for the past couple of months. If you are interested in more on the ATI reverse engineering efforts and open-source drivers, see our ATI R200 Linux Driver Redux and ATI Has Open-Source Drivers Too.

Daniel Stone had mentioned on his blog that it should be "relatively simple" to add 3D support to the open-source Avivo driver, as much of it should be similar to the open-source R300/400 driver. Right now the driver contains support for the Radeon X1300, Radeon X1600, Radeon X1650PRO, and the Radeon X1900GT. However, as we will share in this article, several other R500 parts do work with the current driver available through git and we have submitted a patch for adding some new GPU entries. This open-source Avivo driver is also expected to eventually work with the ATI/AMD R600 series (Radeon HD 2000).

For 2D support right now, the open-source Avivo driver is slower than the VESA driver for the R500 series. According to Jerome Glisse, the main reason for the Avivo driver being slower is due to not lack of backing store, but that should be corrected shortly. RandR 1.2 is supported with the most recent git commit on June 18. Also, support for the Apple MacBook Pro right now with the ATI Mobility Radeon isn't available.

If you have never built an X.Org driver from git, you can head on over to the Phoronix Forums for additional information, but below are the basic steps for installing the Avivo driver on Fedora 7 (assuming you have the standard software libraries and development tools installed).

yum install git libpciaccess-devel xorg-x11-server-sdk
git clone git://anongit.freedesktop.org/git/avivo/xf86-video-avivo
cd xf86-video-avivo/
./autogen.sh --prefix=/usr/
make
su
make install
<edit /etc/X11/xorg.conf so the driver changes from vesa or fglrx to avivo>

At the time of writing the Avivo driver in git contains a limited number of PCI IDs for different Radeon X1000 graphics cards. There are six PCI IDs currently but the patch we have sent along adds support for four additional graphics cards we will mention shortly. If you are experimenting with this driver in its early stages, additional product identification support can be added by modifying the following arrays in xorg/avivo_chipset.c: avivo_device_match[], avivo_chips[], and avivo_pci_chips[]. The switch statement in avivo_get_chipset() also needs to be adjusted accordingly. Finally, in include/avivo_chipset.h add a define statement following the naming convention of PCI_CHIP_<GPU CHIP>_<ID> and defining its value as the PCI ID. Depending upon the situation, you may also need to update the avivo_chip_type value. If you're in need of additional support for modifying the Avivo driver, stop by the Phoronix Forums. Granted, once this driver starts evolving you shouldn't need to worry much about adding new device entries.

Outside of sharing some of the needed information in this article due to the lack of an Avivo Wiki or project page right now, we also have tested out the Avivo driver from git (on June 18, 2007) with several different ATI R500 parts. The graphics cards we had used for this article was an ATI Radeon X1300PRO (RV515), Mobility Radeon X1400 (RV515), Radeon X1800XL (R520), Radeon X1800XT (R520), and Radeon X1950PRO (RV570). Only the X1300PRO contained support in the driver while we had to manually add the support for the other four GPUs. Many of the higher-end Radeon graphics cards (Radeon X1600 to X1950) last week contained initialization problems with the Avivo driver, but we hadn't run into any show-stopping problems with the cards mentioned.

<< 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. Jolla's Sailfish OS Update 10 Is Now Available
  2. HP To Launch Linux++ Operating System Next Year
  3. Civilization: Beyond Earth Launches For Linux
  4. NIR Has Been Revised As A New IR For Mesa
  5. New 64-bit Linux Kernel Vulnerabilities Disclosed This Week
  6. PostgreSQL 9.4 Brings JSONB & Many Other New Features
  7. That Nasty Linux Kernel Lockup Bug Is Still Unresolved
  8. KDE's Krita Loses Its Main Backer
  9. Inline Data Support Comes To CephFS With Linux 3.19
  10. VC4 Gallium3D Adds DMA-BUF Support, Yields Working DRI3
Latest Forum Discussions
  1. Bench specific mount point
  2. XLennart: A Game For Systemd Haters With Nothing Better To Do
  3. Tool for measuring FPS in games
  4. Need some hand holding with upgrading xserver
  5. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support
  6. Microsoft buying Mojang
  7. Updated and Optimized Ubuntu Free Graphics Drivers
  8. Premium subscription "login" times out much faster than forum