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

Drawing Open-Source Triangles On The ATI RV770

Michael Larabel

Published on 31 December 2008
Written by Michael Larabel
Page 1 of 2 - 52 Comments

On Monday AMD released the open-source R600/700 3D code to begin fostering the development of an open-source 3D driver for their newer ATI hardware while the related programming documentation still on the way. This code that's finally out in the public domain brings basic EXA acceleration and X-Video support, but on the 3D side there isn't any usable OpenGL support. It is expected that there will be a modest level of open-source 3D support for the ATI R600 and R700 series in the first half of 2009 for end-users, but for now there is just the DRM code and an r600_demo program. In this article we are taking a brief look at this r600_demo debugging utility on the RV770 hardware.

The r600_demo program is described as a "DRM/DRI exercise utility" designed for hardware driver hackers. This utility was originally derived from the earlier r300_demo code, but since then this code has been virtually rewritten in its entirety. Among the capabilities of r600_demo is dumping the GPU and DRM states, command processor setup testing, more extensive command processor tests, triangle testing, texture tests, and GPU reset ability. This open-source code also supports dumping all known GPU registers as well as manually setting register values for testing. The r600_demo can also provide direct ring programming capabilities. Over 18,000 lines of code make up this program.

While r600_demo is not intended for end-users, if you are an enthusiast or developer interested in trying out this experimental code it can be found in the r600_demo Git repository at FreeDesktop.org. Running r600_demo requires a relatively recent version of the xf86-video-radeonhd driver and the latest DRM code (currently found in the r6xx-r7xx-support branch of mesa/drm). In order to use r600_demo, DRI must be enabled and any form of 2D acceleration be disabled from the xorg.conf. As the r600_demo code feeds commands to the hardware through the DRM and doesn't use OpenGL or anything else interpretive, there is no need for Mesa or any other dependencies. The r600_demo utility is programmed to work just on the R600 and R700 series. We had run the latest development code for the RadeonHD driver, R600/700 DRM, and r600_demo on an Ubuntu 8.10 installation with a ATI Radeon HD 4870.

We have triangles! Albeit not anything fancy like glxgears, there's just two triangles to show in the corner of the display.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. AMD Launches New FX CPUs, Cuts Prices On Existing Processors
  2. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  3. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  4. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
Latest Linux Articles
  1. LLVM Clang 3.5 Brings Some Compiler Performance Improvements
  2. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  3. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  4. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
Latest Linux News
  1. New Group Calls For Boycotting Systemd
  2. The Features To Find With The Imminent Release Of LLVM/Clang 3.5
  3. Borderlands 2 Is Coming To Linux
  4. The Witcher 2 Ups The Performance More & Works Around Catalyst Bug
  5. Running Gallium3D's LLVMpipe On The Eight-Core 5GHz CPU
  6. Trying Intel OpenCL On Linux For Video Encoding
  7. GSoC 2014 Yielded Some Improvements For Mesa/X.Org This Year
  8. webOS Lives On As LuneOS With New Release
  9. Marek Lands Radeon Gallium3D HyperZ Improvements
  10. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
Latest Forum Discussions
  1. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  2. nv and xorg.conf under Debian PPC
  3. AMD graphics doesn't work with AMD Catalyst drivers
  4. Best Radeon for a Power Mac G5?
  5. The dangers of Linux kernel development
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. SSD seems slow